@dcl/protocol 1.0.0-2840825066.commit-36a3e9c → 1.0.0-2840843014.commit-fbdf8c1
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.
- package/kernel/apis/EnvironmentAPI.proto +1 -4
- package/kernel/apis/ParcelIdentity.proto +1 -4
- package/kernel/apis/Players.proto +2 -2
- package/kernel/apis/UserIdentity.proto +1 -22
- package/kernel/apis/common/ContentMapping.proto +6 -0
- package/kernel/apis/common/UserData.proto +24 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
-
import "
|
|
3
|
+
import "common/UserData.proto";
|
|
4
4
|
|
|
5
5
|
message Player {
|
|
6
6
|
string user_id = 1;
|
|
@@ -25,4 +25,4 @@ service PlayersService {
|
|
|
25
25
|
rpc GetPlayerData(GetPlayerDataRequest) returns (PlayersGetUserDataResponse) {}
|
|
26
26
|
rpc GetPlayersInScene(GetPlayersInSceneRequest) returns (PlayerListResponse) {}
|
|
27
27
|
rpc GetConnectedPlayers(GetConnectedPlayersRequest) returns (PlayerListResponse) {}
|
|
28
|
-
}
|
|
28
|
+
}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
string face256 = 1;
|
|
5
|
-
string body = 2;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
message AvatarForUserData {
|
|
9
|
-
string body_shape = 1;
|
|
10
|
-
string skin_color = 2;
|
|
11
|
-
string hair_color = 3;
|
|
12
|
-
string eye_color = 4;
|
|
13
|
-
repeated string wearables = 5;
|
|
14
|
-
Snapshots snapshots = 6;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message UserData {
|
|
18
|
-
string display_name = 1;
|
|
19
|
-
optional string public_key = 2;
|
|
20
|
-
bool has_connected_web3 = 3;
|
|
21
|
-
string user_id = 4;
|
|
22
|
-
int32 version = 5;
|
|
23
|
-
AvatarForUserData avatar = 6;
|
|
24
|
-
}
|
|
3
|
+
import "common/UserData.proto";
|
|
25
4
|
|
|
26
5
|
message GetUserDataRequest {}
|
|
27
6
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
message Snapshots {
|
|
4
|
+
string face256 = 1;
|
|
5
|
+
string body = 2;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
message AvatarForUserData {
|
|
9
|
+
string body_shape = 1;
|
|
10
|
+
string skin_color = 2;
|
|
11
|
+
string hair_color = 3;
|
|
12
|
+
string eye_color = 4;
|
|
13
|
+
repeated string wearables = 5;
|
|
14
|
+
Snapshots snapshots = 6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message UserData {
|
|
18
|
+
string display_name = 1;
|
|
19
|
+
optional string public_key = 2;
|
|
20
|
+
bool has_connected_web3 = 3;
|
|
21
|
+
string user_id = 4;
|
|
22
|
+
int32 version = 5;
|
|
23
|
+
AvatarForUserData avatar = 6;
|
|
24
|
+
}
|
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-2840843014.commit-fbdf8c1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"renderer-protocol",
|
|
18
18
|
"ecs"
|
|
19
19
|
],
|
|
20
|
-
"commit": "
|
|
20
|
+
"commit": "fbdf8c12f26d36af424ec542a1c4c5991066a6fe"
|
|
21
21
|
}
|