@dcl/sdk 7.0.0-2966684214.commit-a567432 → 7.0.0-2982061039.commit-9cc9ea8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,15 +6,22 @@ import "common/Color3.proto";
|
|
6
6
|
|
7
7
|
message PBAvatarShape {
|
8
8
|
string id = 1;
|
9
|
-
optional string name = 2;
|
10
|
-
optional string body_shape = 3;
|
11
|
-
optional Color3 skin_color = 4;
|
12
|
-
optional Color3 hair_color = 5;
|
13
|
-
optional Color3 eye_color = 6;
|
14
|
-
|
15
|
-
optional
|
16
|
-
optional
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
optional string name = 2; // default = NPC
|
10
|
+
optional string body_shape = 3; // default = urn:decentraland:off-chain:base-avatars:BaseFemale
|
11
|
+
optional Color3 skin_color = 4; // default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
|
12
|
+
optional Color3 hair_color = 5; // default = Color3(R = 0.283f, G = 0.142f, B = 0f)
|
13
|
+
optional Color3 eye_color = 6; // default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
|
14
|
+
optional string expression_trigger_id = 7;
|
15
|
+
optional int64 expression_trigger_timestamp = 8; // default = timestamp
|
16
|
+
optional bool talking = 9;
|
17
|
+
/**
|
18
|
+
* default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
19
|
+
* "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
20
|
+
* "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
21
|
+
* "urn:decentraland:off-chain:base-avatars:standard_hair",
|
22
|
+
* "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
23
|
+
* "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
24
|
+
* "urn:decentraland:off-chain:base-avatars:bun_shoes"]
|
25
|
+
*/
|
26
|
+
repeated string wearables = 10;
|
20
27
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-2982061039.commit-9cc9ea8",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.
|
31
|
-
"@dcl/build-ecs": "6.11.
|
30
|
+
"@dcl/amd": "6.11.7-2982061039.commit-9cc9ea8",
|
31
|
+
"@dcl/build-ecs": "6.11.7-2982061039.commit-9cc9ea8",
|
32
32
|
"@dcl/kernel": "1.0.0-2638443584.commit-696a74b",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
@@ -38,5 +38,5 @@
|
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "9cc9ea8eafb942a535f33ed483b653c88720ecb2"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -406,6 +406,23 @@ declare interface CreateByteBufferOptions {
|
|
406
406
|
initialCapacity?: number;
|
407
407
|
}
|
408
408
|
|
409
|
+
/**
|
410
|
+
* Transform parenting: cyclic dependency checker
|
411
|
+
* It checks only in modified Transforms
|
412
|
+
*
|
413
|
+
* Add this system with:
|
414
|
+
* ```ts
|
415
|
+
* engine.addSystem(cyclicParentingChecker(engine))
|
416
|
+
* ````
|
417
|
+
* And then it will check every tick the parenting.
|
418
|
+
*
|
419
|
+
* @public
|
420
|
+
*
|
421
|
+
* @params engine
|
422
|
+
* @returns a system
|
423
|
+
*/
|
424
|
+
declare function cyclicParentingChecker(engine: IEngine): () => void;
|
425
|
+
|
409
426
|
/** @public */
|
410
427
|
declare const CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>, PBCylinderShape>;
|
411
428
|
|
@@ -1490,17 +1507,30 @@ declare interface PBAvatarModifierArea {
|
|
1490
1507
|
|
1491
1508
|
declare interface PBAvatarShape {
|
1492
1509
|
id: string;
|
1510
|
+
/** default = NPC */
|
1493
1511
|
name?: string | undefined;
|
1512
|
+
/** default = urn:decentraland:off-chain:base-avatars:BaseFemale */
|
1494
1513
|
bodyShape?: string | undefined;
|
1514
|
+
/** default = Color3(R = 0.6f, G = 0.462f, B = 0.356f) */
|
1495
1515
|
skinColor?: Color3 | undefined;
|
1516
|
+
/** default = Color3(R = 0.283f, G = 0.142f, B = 0f) */
|
1496
1517
|
hairColor?: Color3 | undefined;
|
1518
|
+
/** default = Color3(R = 0.6f, G = 0.462f, B = 0.356f) */
|
1497
1519
|
eyeColor?: Color3 | undefined;
|
1498
|
-
wearables: string[];
|
1499
1520
|
expressionTriggerId?: string | undefined;
|
1521
|
+
/** default = timestamp */
|
1500
1522
|
expressionTriggerTimestamp?: number | undefined;
|
1501
|
-
stickerTriggerId?: string | undefined;
|
1502
|
-
stickerTriggerTimestamp?: number | undefined;
|
1503
1523
|
talking?: boolean | undefined;
|
1524
|
+
/**
|
1525
|
+
* default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
1526
|
+
* "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
1527
|
+
* "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
1528
|
+
* "urn:decentraland:off-chain:base-avatars:standard_hair",
|
1529
|
+
* "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
1530
|
+
* "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
1531
|
+
* "urn:decentraland:off-chain:base-avatars:bun_shoes"]
|
1532
|
+
*/
|
1533
|
+
wearables: string[];
|
1504
1534
|
}
|
1505
1535
|
|
1506
1536
|
declare interface PBBillboard {
|