@dcl/protocol 1.0.0-3239222053.commit-c9e426d → 1.0.0-3244237062.commit-99a88ae
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/README.md +6 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/experimental_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +728 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +817 -0
- package/out-ts/decentraland/kernel/comms/v3/comms.gen.ts +771 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/engine_api.proto +1 -1
- package/proto/decentraland/kernel/apis/environment_api.proto +28 -27
- package/proto/decentraland/kernel/apis/experimental_api.proto +1 -1
- package/proto/decentraland/renderer/engine_interface.proto +157 -164
- package/proto/decentraland/sdk/components/avatar_attach.proto +6 -6
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +4 -4
- package/proto/decentraland/sdk/components/camera_mode.proto +2 -2
- package/proto/decentraland/sdk/components/camera_mode_area.proto +5 -3
- package/proto/decentraland/sdk/components/common/camera_type.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +20 -0
- package/proto/decentraland/sdk/components/common/texts.proto +4 -4
- package/proto/decentraland/sdk/components/material.proto +12 -12
- package/proto/decentraland/sdk/components/nft_shape.proto +26 -26
- package/proto/decentraland/sdk/components/pointer_events.proto +4 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +6 -4
- package/proto/decentraland/sdk/components/text_shape.proto +4 -3
- package/proto/decentraland/sdk/components/ui_text.proto +7 -6
- package/proto/decentraland/sdk/components/ui_transform.proto +3 -3
- package/public/comms.proto +5 -0
- package/proto/decentraland/sdk/components/common/action_button.proto +0 -20
- package/proto/decentraland/sdk/components/common/camera_mode_value.proto +0 -8
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-3244237062.commit-99a88ae",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"out-ts",
|
|
26
26
|
"public"
|
|
27
27
|
],
|
|
28
|
-
"commit": "
|
|
28
|
+
"commit": "99a88aef5bc8bbb9db07edd3aed6672ee60496b2"
|
|
29
29
|
}
|
|
@@ -172,7 +172,7 @@ message EventData {
|
|
|
172
172
|
optional RotationChangedPayload rotation_changed = 4;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
service
|
|
175
|
+
service EngineApiService {
|
|
176
176
|
rpc SendBatch(ManyEntityAction) returns (SendBatchResponse) {}
|
|
177
177
|
rpc Subscribe(SubscribeRequest) returns (SubscribeResponse) {}
|
|
178
178
|
rpc Unsubscribe(UnsubscribeRequest) returns (UnsubscribeResponse) {}
|
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
+
|
|
2
3
|
package decentraland.kernel.apis;
|
|
3
4
|
|
|
4
5
|
import "decentraland/common/content_mapping.proto";
|
|
5
6
|
|
|
6
7
|
message MinimalRunnableEntity {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
repeated decentraland.common.ContentMapping content = 1;
|
|
9
|
+
string metadata_json = 2;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
message BootstrapDataResponse {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
string id = 1;
|
|
14
|
+
string base_url = 4;
|
|
15
|
+
MinimalRunnableEntity entity = 2;
|
|
16
|
+
bool use_f_p_s_throttling = 5;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
message PreviewModeResponse {
|
|
19
|
-
|
|
20
|
+
bool is_preview = 1;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
message AreUnsafeRequestAllowedResponse {
|
|
23
|
-
|
|
24
|
+
bool status = 1;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
message GetPlatformResponse {
|
|
27
|
-
|
|
28
|
+
string platform = 1;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
message EnvironmentRealm {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
string domain = 1;
|
|
33
|
+
string layer = 2;
|
|
34
|
+
string room = 3;
|
|
35
|
+
string server_name = 4;
|
|
36
|
+
string display_name = 5;
|
|
37
|
+
string protocol = 6;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
message GetCurrentRealmResponse {
|
|
40
|
-
|
|
41
|
+
optional EnvironmentRealm current_realm = 1;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
message GetExplorerConfigurationResponse {
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
string client_uri = 1;
|
|
46
|
+
map<string, string> configurations = 2;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
message GetDecentralandTimeResponse {
|
|
49
|
-
|
|
50
|
+
int32 seconds = 1;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
message GetBootstrapDataRequest {}
|
|
@@ -57,12 +58,12 @@ message GetCurrentRealmRequest {}
|
|
|
57
58
|
message GetExplorerConfigurationRequest {}
|
|
58
59
|
message GetDecentralandTimeRequest {}
|
|
59
60
|
|
|
60
|
-
service
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
service EnvironmentApiService {
|
|
62
|
+
rpc GetBootstrapData(GetBootstrapDataRequest) returns (BootstrapDataResponse) {}
|
|
63
|
+
rpc IsPreviewMode(IsPreviewModeRequest) returns (PreviewModeResponse) {}
|
|
64
|
+
rpc GetPlatform(GetPlatformRequest) returns (GetPlatformResponse) {}
|
|
65
|
+
rpc AreUnsafeRequestAllowed(AreUnsafeRequestAllowedRequest) returns (AreUnsafeRequestAllowedResponse) {}
|
|
66
|
+
rpc GetCurrentRealm(GetCurrentRealmRequest) returns (GetCurrentRealmResponse) {}
|
|
67
|
+
rpc GetExplorerConfiguration(GetExplorerConfigurationRequest) returns (GetExplorerConfigurationResponse) {}
|
|
68
|
+
rpc GetDecentralandTime(GetDecentralandTimeRequest) returns (GetDecentralandTimeResponse) {}
|
|
68
69
|
}
|
|
@@ -11,7 +11,7 @@ message MessageFromRendererResponse {
|
|
|
11
11
|
repeated bytes data = 1;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
service
|
|
14
|
+
service ExperimentalApiService {
|
|
15
15
|
rpc SendToRenderer(SendToRendererRequest) returns (SendToResponse) {}
|
|
16
16
|
rpc MessageFromRenderer(MessageFromRendererRequest) returns (MessageFromRendererResponse) {}
|
|
17
17
|
}
|
|
@@ -4,246 +4,243 @@
|
|
|
4
4
|
syntax = "proto3";
|
|
5
5
|
|
|
6
6
|
package decentraland.renderer;
|
|
7
|
+
// option csharp_namespace = "DCL.Interface";
|
|
7
8
|
|
|
8
|
-
import "google/protobuf/empty.proto";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import "google/protobuf/empty.proto";
|
|
11
11
|
|
|
12
12
|
message PB_CreateEntity {
|
|
13
|
-
|
|
13
|
+
string id = 1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
message PB_RemoveEntity {
|
|
17
|
-
|
|
17
|
+
string id = 1;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
message PB_SetEntityParent {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
string entityId = 1;
|
|
22
|
+
string parentId = 2;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
message PB_ComponentRemoved {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
string entityId = 1;
|
|
27
|
+
string name = 2;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
message PB_Component {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
oneof model {
|
|
32
|
+
PB_Transform transform = 1;
|
|
33
|
+
PB_UUIDCallback uuidCallback = 8;
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
PB_BoxShape box = 16;
|
|
36
|
+
PB_SphereShape sphere = 17;
|
|
37
|
+
PB_PlaneShape plane = 18;
|
|
38
|
+
PB_ConeShape cone = 19;
|
|
39
|
+
PB_CylinderShape cylinder = 20;
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
PB_TextShape text = 21;
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
PB_NFTShape nft = 22;
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
PB_UIContainerRect containerRect = 25;
|
|
46
|
+
PB_UIContainerStack containerStack = 26;
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
PB_UITextShape uiTextShape = 27;
|
|
49
|
+
PB_UIInputText uiInputTextShape = 28;
|
|
50
|
+
PB_UIImage uiImageShape = 29;
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
PB_CircleShape circle = 31;
|
|
53
|
+
PB_Billboard billboard = 32;
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
PB_GLTFShape gltf = 54;
|
|
56
|
+
PB_OBJShape obj = 55;
|
|
57
|
+
PB_AvatarShape avatar = 56;
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
PB_BasicMaterial basicMaterial = 64;
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
PB_Texture texture = 68;
|
|
62
|
+
PB_AudioClip audioClip = 200;
|
|
63
|
+
PB_AudioSource audioSource = 201;
|
|
64
|
+
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
message PB_Color4 {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
float r = 1;
|
|
69
|
+
float g = 2;
|
|
70
|
+
float b = 3;
|
|
71
|
+
float a = 4;
|
|
72
72
|
}
|
|
73
73
|
message PB_Color3 {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
float r = 1;
|
|
75
|
+
float g = 2;
|
|
76
|
+
float b = 3;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
message PB_TextShapeModel {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
message PB_Vector3
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
double z = 3;
|
|
120
|
-
double w = 4;
|
|
80
|
+
bool billboard = 1;
|
|
81
|
+
string value = 2;
|
|
82
|
+
PB_Color3 color = 3;
|
|
83
|
+
float opacity = 4;
|
|
84
|
+
float fontSize = 5;
|
|
85
|
+
bool fontAutoSize = 6;
|
|
86
|
+
string fontWeight = 7;
|
|
87
|
+
string hTextAlign = 8;
|
|
88
|
+
string vTextAlign = 9;
|
|
89
|
+
float width = 10;
|
|
90
|
+
float height = 11;
|
|
91
|
+
bool adaptWidth = 12;
|
|
92
|
+
bool adaptHeight = 13;
|
|
93
|
+
float paddingTop = 14;
|
|
94
|
+
float paddingRight = 15;
|
|
95
|
+
float paddingBottom = 16;
|
|
96
|
+
float paddingLeft = 17;
|
|
97
|
+
float lineSpacing = 18;
|
|
98
|
+
int32 lineCount = 19;
|
|
99
|
+
bool textWrapping = 20;
|
|
100
|
+
float shadowBlur = 21;
|
|
101
|
+
float shadowOffsetX = 22;
|
|
102
|
+
float shadowOffsetY = 23;
|
|
103
|
+
PB_Color3 shadowColor = 24;
|
|
104
|
+
float outlineWidth = 25;
|
|
105
|
+
PB_Color3 outlineColor = 26;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
message PB_Vector3 {
|
|
109
|
+
float x = 1;
|
|
110
|
+
float y = 2;
|
|
111
|
+
float z = 3;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
message PB_Quaternion {
|
|
115
|
+
double x = 1;
|
|
116
|
+
double y = 2;
|
|
117
|
+
double z = 3;
|
|
118
|
+
double w = 4;
|
|
121
119
|
}
|
|
122
120
|
|
|
123
121
|
message PB_Transform {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
122
|
+
PB_Vector3 position = 1;
|
|
123
|
+
PB_Quaternion rotation = 2;
|
|
124
|
+
PB_Vector3 scale = 3;
|
|
127
125
|
}
|
|
128
126
|
|
|
129
127
|
message PB_UpdateEntityComponent {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
string entityId = 1;
|
|
129
|
+
int32 classId = 2;
|
|
130
|
+
string name = 3;
|
|
131
|
+
string data = 4;
|
|
134
132
|
}
|
|
135
133
|
|
|
136
134
|
message PB_ComponentCreated {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
string id = 1;
|
|
136
|
+
int32 classid = 2;
|
|
137
|
+
string name = 3;
|
|
140
138
|
}
|
|
141
139
|
|
|
142
140
|
message PB_AttachEntityComponent {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
string entityId = 1;
|
|
142
|
+
string name = 2;
|
|
143
|
+
string id = 3;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
message PB_ComponentDisposed {
|
|
149
|
-
|
|
147
|
+
string id = 1;
|
|
150
148
|
}
|
|
151
149
|
|
|
152
150
|
message PB_ComponentUpdated {
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
string id = 1;
|
|
152
|
+
string json = 2;
|
|
155
153
|
}
|
|
156
154
|
|
|
157
155
|
message PB_Ray {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
PB_Vector3 origin = 1;
|
|
157
|
+
PB_Vector3 direction = 2;
|
|
158
|
+
float distance = 3;
|
|
161
159
|
}
|
|
162
160
|
|
|
163
161
|
message PB_RayQuery {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
string queryId = 1;
|
|
163
|
+
string queryType = 2;
|
|
164
|
+
PB_Ray ray = 3;
|
|
167
165
|
}
|
|
168
166
|
|
|
169
167
|
message PB_Query {
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
string queryId = 1;
|
|
169
|
+
string payload = 2;
|
|
172
170
|
}
|
|
173
171
|
|
|
174
172
|
message PB_SendSceneMessage {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
173
|
+
string sceneId = 1;
|
|
174
|
+
string tag = 2;
|
|
175
|
+
oneof payload {
|
|
176
|
+
PB_CreateEntity createEntity = 3;
|
|
177
|
+
PB_RemoveEntity removeEntity = 4;
|
|
178
|
+
PB_SetEntityParent setEntityParent = 5;
|
|
179
|
+
PB_UpdateEntityComponent updateEntityComponent = 6;
|
|
180
|
+
PB_AttachEntityComponent attachEntityComponent = 7;
|
|
181
|
+
PB_ComponentCreated componentCreated = 8;
|
|
182
|
+
PB_ComponentDisposed componentDisposed = 9;
|
|
183
|
+
PB_ComponentRemoved componentRemoved = 10;
|
|
184
|
+
PB_ComponentUpdated componentUpdated = 11;
|
|
185
|
+
PB_Query query = 12;
|
|
186
|
+
google.protobuf.Empty sceneStarted = 13;
|
|
187
|
+
PB_OpenExternalUrl openExternalUrl = 14;
|
|
188
|
+
PB_OpenNFTDialog openNFTDialog = 15;
|
|
189
|
+
}
|
|
190
|
+
int32 sceneNumber = 99;
|
|
193
191
|
}
|
|
194
192
|
|
|
195
193
|
message PB_SetPosition {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
float x = 1;
|
|
195
|
+
float y = 2;
|
|
196
|
+
float z = 3;
|
|
199
197
|
}
|
|
200
198
|
|
|
201
199
|
message PB_ContentMapping {
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
string file = 1;
|
|
201
|
+
string hash = 2;
|
|
204
202
|
}
|
|
205
203
|
|
|
206
204
|
message PB_Position {
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
float x = 1;
|
|
206
|
+
float y = 2;
|
|
209
207
|
}
|
|
210
208
|
|
|
211
209
|
message PB_LoadParcelScenes {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
210
|
+
string id = 1;
|
|
211
|
+
PB_Position basePosition = 2;
|
|
212
|
+
repeated PB_Position parcels = 3;
|
|
213
|
+
repeated PB_ContentMapping contents = 4;
|
|
214
|
+
string baseUrl = 5;
|
|
215
|
+
// ILand land = 6;
|
|
216
|
+
int32 sceneNumber = 99;
|
|
219
217
|
}
|
|
220
218
|
|
|
221
219
|
message PB_CreateUIScene {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
string id = 1;
|
|
221
|
+
string baseUrl = 2;
|
|
222
|
+
int32 sceneNumber = 99;
|
|
225
223
|
}
|
|
226
224
|
|
|
227
225
|
message PB_UnloadScene {
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
string sceneId = 1;
|
|
227
|
+
int32 sceneNumber = 99;
|
|
230
228
|
}
|
|
231
229
|
|
|
232
230
|
message PB_DclMessage {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
231
|
+
oneof message {
|
|
232
|
+
google.protobuf.Empty setDebug = 1;
|
|
233
|
+
google.protobuf.Empty setSceneDebugPanel = 2;
|
|
234
|
+
google.protobuf.Empty setEngineDebugPanel = 3;
|
|
235
|
+
PB_SendSceneMessage sendSceneMessage = 4;
|
|
236
|
+
PB_LoadParcelScenes loadParcelScenes = 5;
|
|
237
|
+
PB_UnloadScene unloadScene = 6;
|
|
238
|
+
PB_SetPosition setPosition = 7;
|
|
239
|
+
google.protobuf.Empty reset = 8;
|
|
240
|
+
PB_CreateUIScene createUIScene = 9;
|
|
241
|
+
}
|
|
244
242
|
}
|
|
245
243
|
|
|
246
|
-
|
|
247
244
|
message PB_AnimationState {
|
|
248
245
|
string clip = 1;
|
|
249
246
|
bool looping = 2;
|
|
@@ -364,13 +361,9 @@ message PB_CylinderShape {
|
|
|
364
361
|
float arc = 9;
|
|
365
362
|
}
|
|
366
363
|
|
|
367
|
-
message PB_GlobalPointerDown {
|
|
364
|
+
message PB_GlobalPointerDown {}
|
|
368
365
|
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
message PB_GlobalPointerUp {
|
|
372
|
-
|
|
373
|
-
}
|
|
366
|
+
message PB_GlobalPointerUp {}
|
|
374
367
|
|
|
375
368
|
message PB_GLTFShape {
|
|
376
369
|
bool withCollisions = 1;
|
|
@@ -706,11 +699,11 @@ message PB_UITextShape {
|
|
|
706
699
|
}
|
|
707
700
|
|
|
708
701
|
message PB_OpenExternalUrl {
|
|
709
|
-
|
|
702
|
+
string url = 1;
|
|
710
703
|
}
|
|
711
704
|
|
|
712
705
|
message PB_OpenNFTDialog {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
706
|
+
string assetContractAddress = 1;
|
|
707
|
+
string tokenId = 2;
|
|
708
|
+
string comment = 3;
|
|
716
709
|
}
|
|
@@ -6,14 +6,14 @@ import "decentraland/sdk/components/common/id.proto";
|
|
|
6
6
|
|
|
7
7
|
option (common.ecs_component_id) = 1073;
|
|
8
8
|
|
|
9
|
-
enum
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
enum AvatarAnchorPointType {
|
|
10
|
+
AAPT_POSITION = 0;
|
|
11
|
+
AAPT_NAME_TAG = 1;
|
|
12
|
+
AAPT_LEFT_HAND = 2;
|
|
13
|
+
AAPT_RIGHT_HAND = 3;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
message PBAvatarAttach {
|
|
17
17
|
string avatar_id = 1;
|
|
18
|
-
|
|
18
|
+
AvatarAnchorPointType anchor_point_id = 2;
|
|
19
19
|
}
|
|
@@ -7,13 +7,13 @@ import "decentraland/sdk/components/common/id.proto";
|
|
|
7
7
|
|
|
8
8
|
option (common.ecs_component_id) = 1070;
|
|
9
9
|
|
|
10
|
-
enum
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
enum AvatarModifierType {
|
|
11
|
+
AMT_HIDE_AVATARS = 0;
|
|
12
|
+
AMT_DISABLE_PASSPORTS = 1;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
message PBAvatarModifierArea {
|
|
16
16
|
decentraland.common.Vector3 area = 1;
|
|
17
17
|
repeated string exclude_ids = 2;
|
|
18
|
-
repeated
|
|
18
|
+
repeated AvatarModifierType modifiers = 3;
|
|
19
19
|
}
|
|
@@ -3,8 +3,8 @@ package decentraland.sdk.components;
|
|
|
3
3
|
|
|
4
4
|
import "decentraland/sdk/components/common/id.proto";
|
|
5
5
|
option (common.ecs_component_id) = 1072;
|
|
6
|
-
import "decentraland/sdk/components/common/
|
|
6
|
+
import "decentraland/sdk/components/common/camera_type.proto";
|
|
7
7
|
|
|
8
8
|
message PBCameraMode {
|
|
9
|
-
common.
|
|
9
|
+
common.CameraType mode = 1;
|
|
10
10
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
+
|
|
2
3
|
package decentraland.sdk.components;
|
|
3
4
|
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/camera_type.proto";
|
|
4
7
|
import "decentraland/sdk/components/common/id.proto";
|
|
8
|
+
|
|
5
9
|
option (common.ecs_component_id) = 1071;
|
|
6
|
-
import "decentraland/common/vectors.proto";
|
|
7
|
-
import "decentraland/sdk/components/common/camera_mode_value.proto";
|
|
8
10
|
|
|
9
11
|
message PBCameraModeArea {
|
|
10
12
|
decentraland.common.Vector3 area = 1;
|
|
11
|
-
common.
|
|
13
|
+
common.CameraType mode = 2;
|
|
12
14
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components.common;
|
|
4
|
+
|
|
5
|
+
enum InputAction {
|
|
6
|
+
IA_POINTER = 0;
|
|
7
|
+
IA_PRIMARY = 1;
|
|
8
|
+
IA_SECONDARY = 2;
|
|
9
|
+
IA_ANY = 3;
|
|
10
|
+
IA_FORWARD = 4;
|
|
11
|
+
IA_BACKWARD = 5;
|
|
12
|
+
IA_RIGHT = 6;
|
|
13
|
+
IA_LEFT = 7;
|
|
14
|
+
IA_JUMP = 8;
|
|
15
|
+
IA_WALK = 9;
|
|
16
|
+
IA_ACTION_3 = 10;
|
|
17
|
+
IA_ACTION_4 = 11;
|
|
18
|
+
IA_ACTION_5 = 12;
|
|
19
|
+
IA_ACTION_6 = 13;
|
|
20
|
+
}
|