@dcl/protocol 1.0.0-2611857113.commit-45ed75b → 1.0.0-2624200185.commit-c8884fe
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/EngineAPI.proto +3 -7
- package/kernel/apis/EnvironmentAPI.proto +7 -5
- package/kernel/apis/ExperimentalAPI.proto +2 -2
- package/package.json +2 -2
- package/renderer-protocol/RendererProtocol.proto +2 -8
- package/ecs/components/AvatarModifierArea.proto +0 -15
- package/ecs/components/CameraModeArea.proto +0 -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 {
|
|
@@ -7,10 +7,10 @@ message SendToResponse {}
|
|
|
7
7
|
|
|
8
8
|
message MessageFromRendererRequest {}
|
|
9
9
|
message MessageFromRendererResponse {
|
|
10
|
-
bytes data = 1;
|
|
10
|
+
repeated bytes data = 1;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
service ExperimentalAPIService {
|
|
14
14
|
rpc SendToRenderer(SendToRendererRequest) returns (SendToResponse) {}
|
|
15
|
-
rpc MessageFromRenderer(MessageFromRendererRequest) returns (
|
|
15
|
+
rpc MessageFromRenderer(MessageFromRendererRequest) returns (MessageFromRendererResponse) {}
|
|
16
16
|
}
|
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-2624200185.commit-c8884fe",
|
|
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": "c8884fe1f93f5205f4376c61245e58ddbf2df9e2"
|
|
21
21
|
}
|
|
@@ -10,12 +10,6 @@ message CRDTResponse {}
|
|
|
10
10
|
message CRDTStreamRequest {}
|
|
11
11
|
|
|
12
12
|
service CRDTService {
|
|
13
|
-
rpc
|
|
14
|
-
rpc
|
|
13
|
+
rpc SendCrdt(CRDTManyMessages) returns (CRDTResponse){}
|
|
14
|
+
rpc CrdtNotificationStream(CRDTStreamRequest) returns (stream CRDTManyMessages) {}
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
message PingRequest {}
|
|
18
|
-
message PongResponse {}
|
|
19
|
-
service PingPongService {
|
|
20
|
-
rpc Ping(PingRequest) returns (PongResponse) {}
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|