@dcl/protocol 1.0.0-3070738382.commit-8ad38d9 → 1.0.0-3107796726.commit-e8abd68
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.
|
@@ -2,6 +2,11 @@ syntax = "proto3";
|
|
|
2
2
|
|
|
3
3
|
package protocol.comms.v3;
|
|
4
4
|
|
|
5
|
+
enum TransportType {
|
|
6
|
+
TRANSPORT_LIVEKIT = 0;
|
|
7
|
+
TRANSPORT_WS = 1;
|
|
8
|
+
}
|
|
9
|
+
|
|
5
10
|
message Position3DMessage {
|
|
6
11
|
double x = 1;
|
|
7
12
|
double y = 2;
|
|
@@ -40,3 +45,33 @@ message IslandData {
|
|
|
40
45
|
message IslandStatusMessage {
|
|
41
46
|
repeated IslandData data = 1;
|
|
42
47
|
}
|
|
48
|
+
|
|
49
|
+
message TransportInit {
|
|
50
|
+
TransportType type = 1;
|
|
51
|
+
uint32 max_island_size = 2;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message TransportHeartbeat {
|
|
55
|
+
uint32 available_seats = 1;
|
|
56
|
+
uint32 users_count = 2;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
message TransportAuthorizationRequest {
|
|
60
|
+
string request_id = 1;
|
|
61
|
+
string room_id = 2;
|
|
62
|
+
repeated string user_ids = 3;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message TransportAuthorizationResponse {
|
|
66
|
+
string request_id = 1;
|
|
67
|
+
map<string, string> conn_strs = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message TransportMessage {
|
|
71
|
+
oneof message {
|
|
72
|
+
TransportInit init = 1;
|
|
73
|
+
TransportHeartbeat heartbeat = 2;
|
|
74
|
+
TransportAuthorizationRequest authRequest = 3;
|
|
75
|
+
TransportAuthorizationResponse authResponse = 4;
|
|
76
|
+
}
|
|
77
|
+
}
|
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-3107796726.commit-e8abd68",
|
|
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": "e8abd6873962bb56f09b2e22e869f04e85a9b265"
|
|
22
22
|
}
|