@dcl/protocol 1.0.0-2959062070.commit-c98319b → 1.0.0-2978349925.commit-5ecc2f5
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
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "common/id.proto";
|
|
4
|
+
option (ecs_component_id) = 1019;
|
|
5
|
+
|
|
6
|
+
enum ColliderLayer {
|
|
7
|
+
None = 0;
|
|
8
|
+
Pointer = 1;
|
|
9
|
+
Physics = 2;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message PBMeshCollider {
|
|
13
|
+
message BoxMesh {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message CylinderMesh {
|
|
17
|
+
optional float radius_top = 1; // default=1.0
|
|
18
|
+
optional float radius_bottom = 2; // default=1.0
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message PlaneMesh {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message SphereMesh {
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
optional int32 collision_mask = 1; // default = ColliderLayer.Physics | ColliderLayer.Pointer
|
|
28
|
+
|
|
29
|
+
oneof mesh {
|
|
30
|
+
BoxMesh box = 2;
|
|
31
|
+
SphereMesh sphere = 3;
|
|
32
|
+
CylinderMesh cylinder = 4;
|
|
33
|
+
PlaneMesh plane = 5;
|
|
34
|
+
}
|
|
35
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-2978349925.commit-5ecc2f5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"ecs",
|
|
19
19
|
"bff"
|
|
20
20
|
],
|
|
21
|
-
"commit": "
|
|
21
|
+
"commit": "5ecc2f5fbf32670d8b40fa9f8fc9ebfee33eae7b"
|
|
22
22
|
}
|