@dcl/protocol 1.0.0-2611981047.commit-6f422a3 → 1.0.0-2650288651.commit-9dc170a
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/ecs/components/AvatarModifierArea.proto +15 -0
- package/ecs/components/AvatarShape.proto +20 -0
- package/ecs/components/Billboard.proto +10 -0
- package/ecs/components/CameraModeArea.proto +14 -0
- package/kernel/apis/EngineAPI.proto +3 -7
- package/kernel/apis/EnvironmentAPI.proto +7 -5
- package/package.json +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "common/id.proto";
|
|
4
|
+
option (ecs_component_id) = 1070;
|
|
5
|
+
import "common/Vector3.proto";
|
|
6
|
+
|
|
7
|
+
message PBAvatarModifierArea {
|
|
8
|
+
Vector3 area = 1;
|
|
9
|
+
repeated string exclude_ids = 2;
|
|
10
|
+
repeated Modifier modifiers = 3;
|
|
11
|
+
enum Modifier {
|
|
12
|
+
HIDE_AVATARS = 0;
|
|
13
|
+
DISABLE_PASSPORTS = 1;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "common/id.proto";
|
|
4
|
+
option (ecs_component_id) = 1080;
|
|
5
|
+
import "common/Color3.proto";
|
|
6
|
+
|
|
7
|
+
message PBAvatarShape {
|
|
8
|
+
string id = 1;
|
|
9
|
+
string name = 2;
|
|
10
|
+
string body_shape = 3;
|
|
11
|
+
Color3 skin_color = 4;
|
|
12
|
+
Color3 hair_color = 5;
|
|
13
|
+
Color3 eye_color = 6;
|
|
14
|
+
repeated string wearables = 7;
|
|
15
|
+
string expression_trigger_id = 8;
|
|
16
|
+
int64 expression_trigger_timestamp = 9;
|
|
17
|
+
string sticker_trigger_id = 10;
|
|
18
|
+
int64 sticker_trigger_timestamp = 11;
|
|
19
|
+
bool talking = 12;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "common/id.proto";
|
|
4
|
+
option (ecs_component_id) = 1071;
|
|
5
|
+
import "common/Vector3.proto";
|
|
6
|
+
|
|
7
|
+
message PBCameraModeArea {
|
|
8
|
+
Vector3 area = 1;
|
|
9
|
+
CameraMode mode = 2;
|
|
10
|
+
enum CameraMode {
|
|
11
|
+
FIRST_PERSON = 0;
|
|
12
|
+
THIRD_PERSON = 1;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -116,7 +116,9 @@ message ManyEntityAction {
|
|
|
116
116
|
repeated EntityAction actions = 1;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
message SendBatchResponse {
|
|
119
|
+
message SendBatchResponse {
|
|
120
|
+
repeated EventData events = 1;
|
|
121
|
+
}
|
|
120
122
|
|
|
121
123
|
message UnsubscribeRequest {
|
|
122
124
|
string event_id = 1;
|
|
@@ -171,14 +173,8 @@ message EventData {
|
|
|
171
173
|
optional RotationChangedPayload rotation_changed = 4;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
|
-
message PullEventsRequest {}
|
|
175
|
-
message PullEventsResponse {
|
|
176
|
-
repeated EventData events = 1;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
176
|
service EngineAPIService {
|
|
180
177
|
rpc SendBatch(ManyEntityAction) returns (SendBatchResponse) {}
|
|
181
178
|
rpc Subscribe(SubscribeRequest) returns (SubscribeResponse) {}
|
|
182
179
|
rpc Unsubscribe(UnsubscribeRequest) returns (UnsubscribeResponse) {}
|
|
183
|
-
rpc PullEvents(PullEventsRequest) returns (PullEventsResponse) {}
|
|
184
180
|
}
|
|
@@ -5,14 +5,16 @@ message ContentMapping {
|
|
|
5
5
|
string hash = 2;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
message MinimalRunnableEntity {
|
|
9
|
+
repeated ContentMapping content = 1;
|
|
10
|
+
string metadata_json = 2;
|
|
11
|
+
}
|
|
12
|
+
|
|
8
13
|
message BootstrapDataResponse {
|
|
9
|
-
string
|
|
10
|
-
string name = 2;
|
|
11
|
-
string main = 3;
|
|
14
|
+
string id = 1;
|
|
12
15
|
string base_url = 4;
|
|
16
|
+
MinimalRunnableEntity entity = 2;
|
|
13
17
|
bool use_f_p_s_throttling = 5;
|
|
14
|
-
repeated ContentMapping mappings = 6;
|
|
15
|
-
string json_payload = 7;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
message PreviewModeResponse {
|
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-2650288651.commit-9dc170a",
|
|
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": "9dc170a09cd6853aee523da36ea7948c1f77de6a"
|
|
21
21
|
}
|