@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.
Files changed (30) hide show
  1. package/README.md +6 -0
  2. package/out-ts/comms.gen.ts +3 -0
  3. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +4 -4
  4. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +4 -4
  5. package/out-ts/decentraland/kernel/apis/experimental_api.gen.ts +4 -4
  6. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +728 -0
  7. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +817 -0
  8. package/out-ts/decentraland/kernel/comms/v3/comms.gen.ts +771 -0
  9. package/package.json +2 -2
  10. package/proto/decentraland/kernel/apis/engine_api.proto +1 -1
  11. package/proto/decentraland/kernel/apis/environment_api.proto +28 -27
  12. package/proto/decentraland/kernel/apis/experimental_api.proto +1 -1
  13. package/proto/decentraland/renderer/engine_interface.proto +157 -164
  14. package/proto/decentraland/sdk/components/avatar_attach.proto +6 -6
  15. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +4 -4
  16. package/proto/decentraland/sdk/components/camera_mode.proto +2 -2
  17. package/proto/decentraland/sdk/components/camera_mode_area.proto +5 -3
  18. package/proto/decentraland/sdk/components/common/camera_type.proto +8 -0
  19. package/proto/decentraland/sdk/components/common/input_action.proto +20 -0
  20. package/proto/decentraland/sdk/components/common/texts.proto +4 -4
  21. package/proto/decentraland/sdk/components/material.proto +12 -12
  22. package/proto/decentraland/sdk/components/nft_shape.proto +26 -26
  23. package/proto/decentraland/sdk/components/pointer_events.proto +4 -2
  24. package/proto/decentraland/sdk/components/pointer_events_result.proto +6 -4
  25. package/proto/decentraland/sdk/components/text_shape.proto +4 -3
  26. package/proto/decentraland/sdk/components/ui_text.proto +7 -6
  27. package/proto/decentraland/sdk/components/ui_transform.proto +3 -3
  28. package/public/comms.proto +5 -0
  29. package/proto/decentraland/sdk/components/common/action_button.proto +0 -20
  30. 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-3239222053.commit-c9e426d",
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": "c9e426d8ea851abc0cb382e4faccbcd785e0b8f3"
28
+ "commit": "99a88aef5bc8bbb9db07edd3aed6672ee60496b2"
29
29
  }
@@ -172,7 +172,7 @@ message EventData {
172
172
  optional RotationChangedPayload rotation_changed = 4;
173
173
  }
174
174
 
175
- service EngineAPIService {
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
- repeated decentraland.common.ContentMapping content = 1;
8
- string metadata_json = 2;
8
+ repeated decentraland.common.ContentMapping content = 1;
9
+ string metadata_json = 2;
9
10
  }
10
11
 
11
12
  message BootstrapDataResponse {
12
- string id = 1;
13
- string base_url = 4;
14
- MinimalRunnableEntity entity = 2;
15
- bool use_f_p_s_throttling = 5;
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
- bool is_preview = 1;
20
+ bool is_preview = 1;
20
21
  }
21
22
 
22
23
  message AreUnsafeRequestAllowedResponse {
23
- bool status = 1;
24
+ bool status = 1;
24
25
  }
25
26
 
26
27
  message GetPlatformResponse {
27
- string platform = 1;
28
+ string platform = 1;
28
29
  }
29
30
 
30
31
  message EnvironmentRealm {
31
- string domain = 1;
32
- string layer = 2;
33
- string room = 3;
34
- string server_name = 4;
35
- string display_name = 5;
36
- string protocol = 6;
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
- optional EnvironmentRealm current_realm = 1;
41
+ optional EnvironmentRealm current_realm = 1;
41
42
  }
42
43
 
43
44
  message GetExplorerConfigurationResponse {
44
- string client_uri = 1;
45
- map<string, string> configurations = 2;
45
+ string client_uri = 1;
46
+ map<string, string> configurations = 2;
46
47
  }
47
48
 
48
49
  message GetDecentralandTimeResponse {
49
- int32 seconds = 1;
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 EnvironmentAPIService {
61
- rpc GetBootstrapData(GetBootstrapDataRequest) returns (BootstrapDataResponse) {}
62
- rpc IsPreviewMode(IsPreviewModeRequest) returns (PreviewModeResponse) {}
63
- rpc GetPlatform(GetPlatformRequest) returns (GetPlatformResponse) {}
64
- rpc AreUnsafeRequestAllowed(AreUnsafeRequestAllowedRequest) returns (AreUnsafeRequestAllowedResponse) {}
65
- rpc GetCurrentRealm(GetCurrentRealmRequest) returns (GetCurrentRealmResponse) {}
66
- rpc GetExplorerConfiguration(GetExplorerConfigurationRequest) returns (GetExplorerConfigurationResponse) {}
67
- rpc GetDecentralandTime(GetDecentralandTimeRequest) returns (GetDecentralandTimeResponse) {}
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 ExperimentalAPIService {
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
- // option csharp_namespace = "DCL.Interface";
10
+ import "google/protobuf/empty.proto";
11
11
 
12
12
  message PB_CreateEntity {
13
- string id = 1;
13
+ string id = 1;
14
14
  }
15
15
 
16
16
  message PB_RemoveEntity {
17
- string id = 1;
17
+ string id = 1;
18
18
  }
19
19
 
20
20
  message PB_SetEntityParent {
21
- string entityId = 1;
22
- string parentId = 2;
21
+ string entityId = 1;
22
+ string parentId = 2;
23
23
  }
24
24
 
25
25
  message PB_ComponentRemoved {
26
- string entityId = 1;
27
- string name = 2;
26
+ string entityId = 1;
27
+ string name = 2;
28
28
  }
29
29
 
30
30
  message PB_Component {
31
- oneof model {
32
- PB_Transform transform = 1;
33
- PB_UUIDCallback uuidCallback = 8;
31
+ oneof model {
32
+ PB_Transform transform = 1;
33
+ PB_UUIDCallback uuidCallback = 8;
34
34
 
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;
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
- PB_TextShape text = 21;
41
+ PB_TextShape text = 21;
42
42
 
43
- PB_NFTShape nft = 22;
43
+ PB_NFTShape nft = 22;
44
44
 
45
- PB_UIContainerRect containerRect = 25;
46
- PB_UIContainerStack containerStack = 26;
45
+ PB_UIContainerRect containerRect = 25;
46
+ PB_UIContainerStack containerStack = 26;
47
47
 
48
- PB_UITextShape uiTextShape = 27;
49
- PB_UIInputText uiInputTextShape = 28;
50
- PB_UIImage uiImageShape = 29;
48
+ PB_UITextShape uiTextShape = 27;
49
+ PB_UIInputText uiInputTextShape = 28;
50
+ PB_UIImage uiImageShape = 29;
51
51
 
52
- PB_CircleShape circle = 31;
53
- PB_Billboard billboard = 32;
52
+ PB_CircleShape circle = 31;
53
+ PB_Billboard billboard = 32;
54
54
 
55
- PB_GLTFShape gltf = 54;
56
- PB_OBJShape obj = 55;
57
- PB_AvatarShape avatar = 56;
55
+ PB_GLTFShape gltf = 54;
56
+ PB_OBJShape obj = 55;
57
+ PB_AvatarShape avatar = 56;
58
58
 
59
- PB_BasicMaterial basicMaterial = 64;
59
+ PB_BasicMaterial basicMaterial = 64;
60
60
 
61
- PB_Texture texture = 68;
62
- PB_AudioClip audioClip = 200;
63
- PB_AudioSource audioSource = 201;
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
- float r = 1;
69
- float g = 2;
70
- float b = 3;
71
- float a = 4;
68
+ float r = 1;
69
+ float g = 2;
70
+ float b = 3;
71
+ float a = 4;
72
72
  }
73
73
  message PB_Color3 {
74
- float r = 1;
75
- float g = 2;
76
- float b = 3;
74
+ float r = 1;
75
+ float g = 2;
76
+ float b = 3;
77
77
  }
78
78
 
79
79
  message PB_TextShapeModel {
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
- {
110
- float x = 1;
111
- float y = 2;
112
- float z = 3;
113
- }
114
-
115
- message PB_Quaternion
116
- {
117
- double x = 1;
118
- double y = 2;
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
- PB_Vector3 position = 1;
125
- PB_Quaternion rotation = 2;
126
- PB_Vector3 scale = 3;
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
- string entityId = 1;
131
- int32 classId = 2;
132
- string name = 3;
133
- string data = 4;
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
- string id = 1;
138
- int32 classid = 2;
139
- string name = 3;
135
+ string id = 1;
136
+ int32 classid = 2;
137
+ string name = 3;
140
138
  }
141
139
 
142
140
  message PB_AttachEntityComponent {
143
- string entityId = 1;
144
- string name = 2;
145
- string id = 3;
141
+ string entityId = 1;
142
+ string name = 2;
143
+ string id = 3;
146
144
  }
147
145
 
148
146
  message PB_ComponentDisposed {
149
- string id = 1;
147
+ string id = 1;
150
148
  }
151
149
 
152
150
  message PB_ComponentUpdated {
153
- string id = 1;
154
- string json = 2;
151
+ string id = 1;
152
+ string json = 2;
155
153
  }
156
154
 
157
155
  message PB_Ray {
158
- PB_Vector3 origin = 1;
159
- PB_Vector3 direction = 2;
160
- float distance = 3;
156
+ PB_Vector3 origin = 1;
157
+ PB_Vector3 direction = 2;
158
+ float distance = 3;
161
159
  }
162
160
 
163
161
  message PB_RayQuery {
164
- string queryId = 1;
165
- string queryType = 2;
166
- PB_Ray ray = 3;
162
+ string queryId = 1;
163
+ string queryType = 2;
164
+ PB_Ray ray = 3;
167
165
  }
168
166
 
169
167
  message PB_Query {
170
- string queryId = 1;
171
- string payload = 2;
168
+ string queryId = 1;
169
+ string payload = 2;
172
170
  }
173
171
 
174
172
  message PB_SendSceneMessage {
175
- string sceneId = 1;
176
- string tag = 2;
177
- oneof payload {
178
- PB_CreateEntity createEntity = 3;
179
- PB_RemoveEntity removeEntity = 4;
180
- PB_SetEntityParent setEntityParent = 5;
181
- PB_UpdateEntityComponent updateEntityComponent = 6;
182
- PB_AttachEntityComponent attachEntityComponent = 7;
183
- PB_ComponentCreated componentCreated = 8;
184
- PB_ComponentDisposed componentDisposed = 9;
185
- PB_ComponentRemoved componentRemoved = 10;
186
- PB_ComponentUpdated componentUpdated = 11;
187
- PB_Query query = 12;
188
- google.protobuf.Empty sceneStarted = 13;
189
- PB_OpenExternalUrl openExternalUrl = 14;
190
- PB_OpenNFTDialog openNFTDialog = 15;
191
- }
192
- int32 sceneNumber = 99;
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
- float x = 1;
197
- float y = 2;
198
- float z = 3;
194
+ float x = 1;
195
+ float y = 2;
196
+ float z = 3;
199
197
  }
200
198
 
201
199
  message PB_ContentMapping {
202
- string file = 1;
203
- string hash = 2;
200
+ string file = 1;
201
+ string hash = 2;
204
202
  }
205
203
 
206
204
  message PB_Position {
207
- float x = 1;
208
- float y = 2;
205
+ float x = 1;
206
+ float y = 2;
209
207
  }
210
208
 
211
209
  message PB_LoadParcelScenes {
212
- string id = 1;
213
- PB_Position basePosition = 2;
214
- repeated PB_Position parcels = 3;
215
- repeated PB_ContentMapping contents = 4;
216
- string baseUrl = 5;
217
- // ILand land = 6;
218
- int32 sceneNumber = 99;
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
- string id = 1;
223
- string baseUrl = 2;
224
- int32 sceneNumber = 99;
220
+ string id = 1;
221
+ string baseUrl = 2;
222
+ int32 sceneNumber = 99;
225
223
  }
226
224
 
227
225
  message PB_UnloadScene {
228
- string sceneId = 1;
229
- int32 sceneNumber = 99;
226
+ string sceneId = 1;
227
+ int32 sceneNumber = 99;
230
228
  }
231
229
 
232
230
  message PB_DclMessage {
233
- oneof message {
234
- google.protobuf.Empty setDebug = 1;
235
- google.protobuf.Empty setSceneDebugPanel = 2;
236
- google.protobuf.Empty setEngineDebugPanel = 3;
237
- PB_SendSceneMessage sendSceneMessage = 4;
238
- PB_LoadParcelScenes loadParcelScenes = 5;
239
- PB_UnloadScene unloadScene = 6;
240
- PB_SetPosition setPosition = 7;
241
- google.protobuf.Empty reset = 8;
242
- PB_CreateUIScene createUIScene = 9;
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
- string url = 1;
702
+ string url = 1;
710
703
  }
711
704
 
712
705
  message PB_OpenNFTDialog {
713
- string assetContractAddress = 1;
714
- string tokenId = 2;
715
- string comment = 3;
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 AvatarAnchorPoint {
10
- AAP_POSITION = 0;
11
- AAP_NAME_TAG = 1;
12
- AAP_LEFT_HAND = 2;
13
- AAP_RIGHT_HAND = 3;
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
- AvatarAnchorPoint anchor_point_id = 2;
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 AvatarModifier {
11
- AM_HIDE_AVATARS = 0;
12
- AM_DISABLE_PASSPORTS = 1;
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 AvatarModifier modifiers = 3;
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/camera_mode_value.proto";
6
+ import "decentraland/sdk/components/common/camera_type.proto";
7
7
 
8
8
  message PBCameraMode {
9
- common.CameraModeValue mode = 1;
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.CameraModeValue mode = 2;
13
+ common.CameraType mode = 2;
12
14
  }
@@ -0,0 +1,8 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components.common;
4
+
5
+ enum CameraType {
6
+ CT_FIRST_PERSON = 0;
7
+ CT_THIRD_PERSON = 1;
8
+ }
@@ -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
+ }
@@ -2,10 +2,10 @@ syntax = "proto3";
2
2
 
3
3
  package decentraland.sdk.components.common;
4
4
 
5
- enum TextAlign {
6
- TA_CENTER = 0;
7
- TA_LEFT = 1;
8
- TA_RIGHT = 2;
5
+ enum TextAlignMode {
6
+ TAM_CENTER = 0;
7
+ TAM_LEFT = 1;
8
+ TAM_RIGHT = 2;
9
9
  }
10
10
 
11
11
  enum Font {