@dcl/protocol 1.0.0-4810686946.commit-7c034e3 → 1.0.0-4896874496.commit-2ebeae0
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/out-js/decentraland/bff/authentication_service.gen.js +12 -12
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.js +7 -7
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.js +4 -4
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.js +47 -47
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.js +14 -14
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.js +10 -10
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.js +9 -9
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.js +3 -3
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.js +17 -17
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.js +16 -16
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.js +11 -11
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +4 -4
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +101 -101
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +38 -38
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +31 -31
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +20 -20
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.js +10 -10
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.js +10 -10
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +17 -17
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +22 -22
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.js +23 -23
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +19 -19
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.js +26 -26
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +35 -35
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +33 -33
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +47 -47
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.js +47 -47
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.js +10 -10
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.js +6 -6
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +4 -4
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +3 -3
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +5 -5
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +12 -12
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.js +2 -2
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +2 -2
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -3
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +8 -8
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.js +4 -4
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +4 -4
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +2 -2
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.js +25 -25
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +12 -12
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +15 -15
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +4 -4
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +10 -10
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +7 -7
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +2 -2
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.js +11 -11
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +6 -6
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -22
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.js +7 -7
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +10 -10
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +2 -2
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.js +9 -9
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +2 -2
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.js +6 -6
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +52 -52
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.js +7 -7
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +2 -2
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +11 -10
- package/out-js/decentraland/social/friendships/friendships.gen.js +105 -99
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.js +141 -141
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.js +1 -1
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +12 -12
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +7 -7
- package/out-ts/decentraland/bff/comms_service.gen.ts +4 -4
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +47 -47
- package/out-ts/decentraland/bff/topics_service.gen.ts +14 -14
- package/out-ts/decentraland/common/border_rect.gen.ts +10 -10
- package/out-ts/decentraland/common/colors.gen.ts +9 -9
- package/out-ts/decentraland/common/content_mapping.gen.ts +3 -3
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +17 -17
- package/out-ts/decentraland/common/texture.gen.ts +16 -16
- package/out-ts/decentraland/common/vectors.gen.ts +11 -11
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +101 -101
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +38 -38
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +31 -31
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +20 -20
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +12 -10
- package/out-ts/decentraland/kernel/apis/players.gen.ts +10 -10
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +17 -17
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +22 -22
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +23 -23
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +6 -6
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +19 -19
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +6 -6
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +26 -26
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +6 -6
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +35 -35
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +33 -33
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +47 -47
- package/out-ts/decentraland/realm/about.gen.ts +47 -47
- package/out-ts/decentraland/sdk/components/animator.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +3 -3
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +6 -5
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +12 -12
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +3 -3
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +8 -8
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/material.gen.ts +25 -25
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +12 -12
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +17 -15
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +4 -4
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +7 -7
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +11 -11
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +22 -22
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +8 -7
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +10 -10
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +9 -9
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +6 -6
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +52 -52
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +7 -7
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +2 -2
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +99 -93
- package/out-ts/google/protobuf/descriptor.gen.ts +146 -141
- package/out-ts/google/protobuf/empty.gen.ts +1 -1
- package/package.json +8 -5
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/social/friendships/friendships.proto +9 -8
|
@@ -77,35 +77,35 @@ export const PBMeshRenderer = {
|
|
|
77
77
|
const tag = reader.uint32();
|
|
78
78
|
switch (tag >>> 3) {
|
|
79
79
|
case 1:
|
|
80
|
-
if (tag
|
|
80
|
+
if (tag !== 10) {
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
message.mesh = { $case: "box", box: PBMeshRenderer_BoxMesh.decode(reader, reader.uint32()) };
|
|
85
85
|
continue;
|
|
86
86
|
case 2:
|
|
87
|
-
if (tag
|
|
87
|
+
if (tag !== 18) {
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
message.mesh = { $case: "sphere", sphere: PBMeshRenderer_SphereMesh.decode(reader, reader.uint32()) };
|
|
92
92
|
continue;
|
|
93
93
|
case 3:
|
|
94
|
-
if (tag
|
|
94
|
+
if (tag !== 26) {
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
message.mesh = { $case: "cylinder", cylinder: PBMeshRenderer_CylinderMesh.decode(reader, reader.uint32()) };
|
|
99
99
|
continue;
|
|
100
100
|
case 4:
|
|
101
|
-
if (tag
|
|
101
|
+
if (tag !== 34) {
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
message.mesh = { $case: "plane", plane: PBMeshRenderer_PlaneMesh.decode(reader, reader.uint32()) };
|
|
106
106
|
continue;
|
|
107
107
|
}
|
|
108
|
-
if ((tag & 7)
|
|
108
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
109
109
|
break;
|
|
110
110
|
}
|
|
111
111
|
reader.skipType(tag & 7);
|
|
@@ -184,12 +184,13 @@ export const PBMeshRenderer_BoxMesh = {
|
|
|
184
184
|
const tag = reader.uint32();
|
|
185
185
|
switch (tag >>> 3) {
|
|
186
186
|
case 1:
|
|
187
|
-
if (tag
|
|
187
|
+
if (tag === 13) {
|
|
188
188
|
message.uvs.push(reader.float());
|
|
189
|
+
|
|
189
190
|
continue;
|
|
190
191
|
}
|
|
191
192
|
|
|
192
|
-
if (tag
|
|
193
|
+
if (tag === 10) {
|
|
193
194
|
const end2 = reader.uint32() + reader.pos;
|
|
194
195
|
while (reader.pos < end2) {
|
|
195
196
|
message.uvs.push(reader.float());
|
|
@@ -200,7 +201,7 @@ export const PBMeshRenderer_BoxMesh = {
|
|
|
200
201
|
|
|
201
202
|
break;
|
|
202
203
|
}
|
|
203
|
-
if ((tag & 7)
|
|
204
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
204
205
|
break;
|
|
205
206
|
}
|
|
206
207
|
reader.skipType(tag & 7);
|
|
@@ -256,21 +257,21 @@ export const PBMeshRenderer_CylinderMesh = {
|
|
|
256
257
|
const tag = reader.uint32();
|
|
257
258
|
switch (tag >>> 3) {
|
|
258
259
|
case 1:
|
|
259
|
-
if (tag
|
|
260
|
+
if (tag !== 13) {
|
|
260
261
|
break;
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
message.radiusTop = reader.float();
|
|
264
265
|
continue;
|
|
265
266
|
case 2:
|
|
266
|
-
if (tag
|
|
267
|
+
if (tag !== 21) {
|
|
267
268
|
break;
|
|
268
269
|
}
|
|
269
270
|
|
|
270
271
|
message.radiusBottom = reader.float();
|
|
271
272
|
continue;
|
|
272
273
|
}
|
|
273
|
-
if ((tag & 7)
|
|
274
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
274
275
|
break;
|
|
275
276
|
}
|
|
276
277
|
reader.skipType(tag & 7);
|
|
@@ -326,12 +327,13 @@ export const PBMeshRenderer_PlaneMesh = {
|
|
|
326
327
|
const tag = reader.uint32();
|
|
327
328
|
switch (tag >>> 3) {
|
|
328
329
|
case 1:
|
|
329
|
-
if (tag
|
|
330
|
+
if (tag === 13) {
|
|
330
331
|
message.uvs.push(reader.float());
|
|
332
|
+
|
|
331
333
|
continue;
|
|
332
334
|
}
|
|
333
335
|
|
|
334
|
-
if (tag
|
|
336
|
+
if (tag === 10) {
|
|
335
337
|
const end2 = reader.uint32() + reader.pos;
|
|
336
338
|
while (reader.pos < end2) {
|
|
337
339
|
message.uvs.push(reader.float());
|
|
@@ -342,7 +344,7 @@ export const PBMeshRenderer_PlaneMesh = {
|
|
|
342
344
|
|
|
343
345
|
break;
|
|
344
346
|
}
|
|
345
|
-
if ((tag & 7)
|
|
347
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
346
348
|
break;
|
|
347
349
|
}
|
|
348
350
|
reader.skipType(tag & 7);
|
|
@@ -392,7 +394,7 @@ export const PBMeshRenderer_SphereMesh = {
|
|
|
392
394
|
const tag = reader.uint32();
|
|
393
395
|
switch (tag >>> 3) {
|
|
394
396
|
}
|
|
395
|
-
if ((tag & 7)
|
|
397
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
396
398
|
break;
|
|
397
399
|
}
|
|
398
400
|
reader.skipType(tag & 7);
|
|
@@ -210,28 +210,28 @@ export const PBNftShape = {
|
|
|
210
210
|
const tag = reader.uint32();
|
|
211
211
|
switch (tag >>> 3) {
|
|
212
212
|
case 1:
|
|
213
|
-
if (tag
|
|
213
|
+
if (tag !== 10) {
|
|
214
214
|
break;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
message.src = reader.string();
|
|
218
218
|
continue;
|
|
219
219
|
case 2:
|
|
220
|
-
if (tag
|
|
220
|
+
if (tag !== 16) {
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
message.style = reader.int32() as any;
|
|
225
225
|
continue;
|
|
226
226
|
case 3:
|
|
227
|
-
if (tag
|
|
227
|
+
if (tag !== 26) {
|
|
228
228
|
break;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
message.color = Color3.decode(reader, reader.uint32());
|
|
232
232
|
continue;
|
|
233
233
|
}
|
|
234
|
-
if ((tag & 7)
|
|
234
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
237
|
reader.skipType(tag & 7);
|
|
@@ -75,14 +75,14 @@ export const PBPointerEvents = {
|
|
|
75
75
|
const tag = reader.uint32();
|
|
76
76
|
switch (tag >>> 3) {
|
|
77
77
|
case 1:
|
|
78
|
-
if (tag
|
|
78
|
+
if (tag !== 10) {
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
message.pointerEvents.push(PBPointerEvents_Entry.decode(reader, reader.uint32()));
|
|
83
83
|
continue;
|
|
84
84
|
}
|
|
85
|
-
if ((tag & 7)
|
|
85
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
86
86
|
break;
|
|
87
87
|
}
|
|
88
88
|
reader.skipType(tag & 7);
|
|
@@ -148,35 +148,35 @@ export const PBPointerEvents_Info = {
|
|
|
148
148
|
const tag = reader.uint32();
|
|
149
149
|
switch (tag >>> 3) {
|
|
150
150
|
case 1:
|
|
151
|
-
if (tag
|
|
151
|
+
if (tag !== 8) {
|
|
152
152
|
break;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
message.button = reader.int32() as any;
|
|
156
156
|
continue;
|
|
157
157
|
case 2:
|
|
158
|
-
if (tag
|
|
158
|
+
if (tag !== 18) {
|
|
159
159
|
break;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
message.hoverText = reader.string();
|
|
163
163
|
continue;
|
|
164
164
|
case 3:
|
|
165
|
-
if (tag
|
|
165
|
+
if (tag !== 29) {
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
message.maxDistance = reader.float();
|
|
170
170
|
continue;
|
|
171
171
|
case 4:
|
|
172
|
-
if (tag
|
|
172
|
+
if (tag !== 32) {
|
|
173
173
|
break;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
message.showFeedback = reader.bool();
|
|
177
177
|
continue;
|
|
178
178
|
}
|
|
179
|
-
if ((tag & 7)
|
|
179
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
180
180
|
break;
|
|
181
181
|
}
|
|
182
182
|
reader.skipType(tag & 7);
|
|
@@ -240,21 +240,21 @@ export const PBPointerEvents_Entry = {
|
|
|
240
240
|
const tag = reader.uint32();
|
|
241
241
|
switch (tag >>> 3) {
|
|
242
242
|
case 1:
|
|
243
|
-
if (tag
|
|
243
|
+
if (tag !== 8) {
|
|
244
244
|
break;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
message.eventType = reader.int32() as any;
|
|
248
248
|
continue;
|
|
249
249
|
case 2:
|
|
250
|
-
if (tag
|
|
250
|
+
if (tag !== 18) {
|
|
251
251
|
break;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
message.eventInfo = PBPointerEvents_Info.decode(reader, reader.uint32());
|
|
255
255
|
continue;
|
|
256
256
|
}
|
|
257
|
-
if ((tag & 7)
|
|
257
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
reader.skipType(tag & 7);
|
|
@@ -63,49 +63,49 @@ export const PBPointerEventsResult = {
|
|
|
63
63
|
const tag = reader.uint32();
|
|
64
64
|
switch (tag >>> 3) {
|
|
65
65
|
case 1:
|
|
66
|
-
if (tag
|
|
66
|
+
if (tag !== 8) {
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
message.button = reader.int32() as any;
|
|
71
71
|
continue;
|
|
72
72
|
case 2:
|
|
73
|
-
if (tag
|
|
73
|
+
if (tag !== 18) {
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
message.hit = RaycastHit.decode(reader, reader.uint32());
|
|
78
78
|
continue;
|
|
79
79
|
case 4:
|
|
80
|
-
if (tag
|
|
80
|
+
if (tag !== 32) {
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
message.state = reader.int32() as any;
|
|
85
85
|
continue;
|
|
86
86
|
case 5:
|
|
87
|
-
if (tag
|
|
87
|
+
if (tag !== 40) {
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
message.timestamp = reader.uint32();
|
|
92
92
|
continue;
|
|
93
93
|
case 6:
|
|
94
|
-
if (tag
|
|
94
|
+
if (tag !== 53) {
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
message.analog = reader.float();
|
|
99
99
|
continue;
|
|
100
100
|
case 7:
|
|
101
|
-
if (tag
|
|
101
|
+
if (tag !== 56) {
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
message.tickNumber = reader.uint32();
|
|
106
106
|
continue;
|
|
107
107
|
}
|
|
108
|
-
if ((tag & 7)
|
|
108
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
109
109
|
break;
|
|
110
110
|
}
|
|
111
111
|
reader.skipType(tag & 7);
|
|
@@ -32,14 +32,14 @@ export const PBPointerLock = {
|
|
|
32
32
|
const tag = reader.uint32();
|
|
33
33
|
switch (tag >>> 3) {
|
|
34
34
|
case 1:
|
|
35
|
-
if (tag
|
|
35
|
+
if (tag !== 8) {
|
|
36
36
|
break;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
message.isPointerLocked = reader.bool();
|
|
40
40
|
continue;
|
|
41
41
|
}
|
|
42
|
-
if ((tag & 7)
|
|
42
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
reader.skipType(tag & 7);
|
|
@@ -140,77 +140,77 @@ export const PBRaycast = {
|
|
|
140
140
|
const tag = reader.uint32();
|
|
141
141
|
switch (tag >>> 3) {
|
|
142
142
|
case 1:
|
|
143
|
-
if (tag
|
|
143
|
+
if (tag !== 8) {
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
message.timestamp = reader.uint32();
|
|
148
148
|
continue;
|
|
149
149
|
case 2:
|
|
150
|
-
if (tag
|
|
150
|
+
if (tag !== 18) {
|
|
151
151
|
break;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
message.originOffset = Vector3.decode(reader, reader.uint32());
|
|
155
155
|
continue;
|
|
156
156
|
case 6:
|
|
157
|
-
if (tag
|
|
157
|
+
if (tag !== 50) {
|
|
158
158
|
break;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
message.direction = { $case: "localDirection", localDirection: Vector3.decode(reader, reader.uint32()) };
|
|
162
162
|
continue;
|
|
163
163
|
case 3:
|
|
164
|
-
if (tag
|
|
164
|
+
if (tag !== 26) {
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
message.direction = { $case: "globalDirection", globalDirection: Vector3.decode(reader, reader.uint32()) };
|
|
169
169
|
continue;
|
|
170
170
|
case 7:
|
|
171
|
-
if (tag
|
|
171
|
+
if (tag !== 58) {
|
|
172
172
|
break;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
message.direction = { $case: "globalTarget", globalTarget: Vector3.decode(reader, reader.uint32()) };
|
|
176
176
|
continue;
|
|
177
177
|
case 10:
|
|
178
|
-
if (tag
|
|
178
|
+
if (tag !== 80) {
|
|
179
179
|
break;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
message.direction = { $case: "targetEntity", targetEntity: reader.uint32() };
|
|
183
183
|
continue;
|
|
184
184
|
case 4:
|
|
185
|
-
if (tag
|
|
185
|
+
if (tag !== 37) {
|
|
186
186
|
break;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
message.maxDistance = reader.float();
|
|
190
190
|
continue;
|
|
191
191
|
case 5:
|
|
192
|
-
if (tag
|
|
192
|
+
if (tag !== 40) {
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
message.queryType = reader.int32() as any;
|
|
197
197
|
continue;
|
|
198
198
|
case 8:
|
|
199
|
-
if (tag
|
|
199
|
+
if (tag !== 64) {
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
message.continuous = reader.bool();
|
|
204
204
|
continue;
|
|
205
205
|
case 9:
|
|
206
|
-
if (tag
|
|
206
|
+
if (tag !== 72) {
|
|
207
207
|
break;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
message.collisionMask = reader.uint32();
|
|
211
211
|
continue;
|
|
212
212
|
}
|
|
213
|
-
if ((tag & 7)
|
|
213
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
214
214
|
break;
|
|
215
215
|
}
|
|
216
216
|
reader.skipType(tag & 7);
|
|
@@ -63,42 +63,42 @@ export const PBRaycastResult = {
|
|
|
63
63
|
const tag = reader.uint32();
|
|
64
64
|
switch (tag >>> 3) {
|
|
65
65
|
case 1:
|
|
66
|
-
if (tag
|
|
66
|
+
if (tag !== 8) {
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
message.timestamp = reader.uint32();
|
|
71
71
|
continue;
|
|
72
72
|
case 2:
|
|
73
|
-
if (tag
|
|
73
|
+
if (tag !== 18) {
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
message.globalOrigin = Vector3.decode(reader, reader.uint32());
|
|
78
78
|
continue;
|
|
79
79
|
case 3:
|
|
80
|
-
if (tag
|
|
80
|
+
if (tag !== 26) {
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
message.direction = Vector3.decode(reader, reader.uint32());
|
|
85
85
|
continue;
|
|
86
86
|
case 4:
|
|
87
|
-
if (tag
|
|
87
|
+
if (tag !== 34) {
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
message.hits.push(RaycastHit.decode(reader, reader.uint32()));
|
|
92
92
|
continue;
|
|
93
93
|
case 5:
|
|
94
|
-
if (tag
|
|
94
|
+
if (tag !== 40) {
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
message.tickNumber = reader.uint32();
|
|
99
99
|
continue;
|
|
100
100
|
}
|
|
101
|
-
if ((tag & 7)
|
|
101
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
reader.skipType(tag & 7);
|
|
@@ -205,154 +205,154 @@ export const PBTextShape = {
|
|
|
205
205
|
const tag = reader.uint32();
|
|
206
206
|
switch (tag >>> 3) {
|
|
207
207
|
case 1:
|
|
208
|
-
if (tag
|
|
208
|
+
if (tag !== 10) {
|
|
209
209
|
break;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
message.text = reader.string();
|
|
213
213
|
continue;
|
|
214
214
|
case 2:
|
|
215
|
-
if (tag
|
|
215
|
+
if (tag !== 16) {
|
|
216
216
|
break;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
message.font = reader.int32() as any;
|
|
220
220
|
continue;
|
|
221
221
|
case 3:
|
|
222
|
-
if (tag
|
|
222
|
+
if (tag !== 29) {
|
|
223
223
|
break;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
message.fontSize = reader.float();
|
|
227
227
|
continue;
|
|
228
228
|
case 4:
|
|
229
|
-
if (tag
|
|
229
|
+
if (tag !== 32) {
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
message.fontAutoSize = reader.bool();
|
|
234
234
|
continue;
|
|
235
235
|
case 5:
|
|
236
|
-
if (tag
|
|
236
|
+
if (tag !== 40) {
|
|
237
237
|
break;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
message.textAlign = reader.int32() as any;
|
|
241
241
|
continue;
|
|
242
242
|
case 6:
|
|
243
|
-
if (tag
|
|
243
|
+
if (tag !== 53) {
|
|
244
244
|
break;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
message.width = reader.float();
|
|
248
248
|
continue;
|
|
249
249
|
case 7:
|
|
250
|
-
if (tag
|
|
250
|
+
if (tag !== 61) {
|
|
251
251
|
break;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
message.height = reader.float();
|
|
255
255
|
continue;
|
|
256
256
|
case 8:
|
|
257
|
-
if (tag
|
|
257
|
+
if (tag !== 69) {
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
message.paddingTop = reader.float();
|
|
262
262
|
continue;
|
|
263
263
|
case 9:
|
|
264
|
-
if (tag
|
|
264
|
+
if (tag !== 77) {
|
|
265
265
|
break;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
message.paddingRight = reader.float();
|
|
269
269
|
continue;
|
|
270
270
|
case 10:
|
|
271
|
-
if (tag
|
|
271
|
+
if (tag !== 85) {
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
message.paddingBottom = reader.float();
|
|
276
276
|
continue;
|
|
277
277
|
case 11:
|
|
278
|
-
if (tag
|
|
278
|
+
if (tag !== 93) {
|
|
279
279
|
break;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
message.paddingLeft = reader.float();
|
|
283
283
|
continue;
|
|
284
284
|
case 12:
|
|
285
|
-
if (tag
|
|
285
|
+
if (tag !== 101) {
|
|
286
286
|
break;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
message.lineSpacing = reader.float();
|
|
290
290
|
continue;
|
|
291
291
|
case 13:
|
|
292
|
-
if (tag
|
|
292
|
+
if (tag !== 104) {
|
|
293
293
|
break;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
message.lineCount = reader.int32();
|
|
297
297
|
continue;
|
|
298
298
|
case 14:
|
|
299
|
-
if (tag
|
|
299
|
+
if (tag !== 112) {
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
message.textWrapping = reader.bool();
|
|
304
304
|
continue;
|
|
305
305
|
case 15:
|
|
306
|
-
if (tag
|
|
306
|
+
if (tag !== 125) {
|
|
307
307
|
break;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
message.shadowBlur = reader.float();
|
|
311
311
|
continue;
|
|
312
312
|
case 16:
|
|
313
|
-
if (tag
|
|
313
|
+
if (tag !== 133) {
|
|
314
314
|
break;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
message.shadowOffsetX = reader.float();
|
|
318
318
|
continue;
|
|
319
319
|
case 17:
|
|
320
|
-
if (tag
|
|
320
|
+
if (tag !== 141) {
|
|
321
321
|
break;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
message.shadowOffsetY = reader.float();
|
|
325
325
|
continue;
|
|
326
326
|
case 18:
|
|
327
|
-
if (tag
|
|
327
|
+
if (tag !== 149) {
|
|
328
328
|
break;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
message.outlineWidth = reader.float();
|
|
332
332
|
continue;
|
|
333
333
|
case 19:
|
|
334
|
-
if (tag
|
|
334
|
+
if (tag !== 154) {
|
|
335
335
|
break;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
message.shadowColor = Color3.decode(reader, reader.uint32());
|
|
339
339
|
continue;
|
|
340
340
|
case 20:
|
|
341
|
-
if (tag
|
|
341
|
+
if (tag !== 162) {
|
|
342
342
|
break;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
message.outlineColor = Color3.decode(reader, reader.uint32());
|
|
346
346
|
continue;
|
|
347
347
|
case 21:
|
|
348
|
-
if (tag
|
|
348
|
+
if (tag !== 170) {
|
|
349
349
|
break;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
message.textColor = Color4.decode(reader, reader.uint32());
|
|
353
353
|
continue;
|
|
354
354
|
}
|
|
355
|
-
if ((tag & 7)
|
|
355
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
356
356
|
break;
|
|
357
357
|
}
|
|
358
358
|
reader.skipType(tag & 7);
|
|
@@ -107,40 +107,41 @@ export const PBUiBackground = {
|
|
|
107
107
|
const tag = reader.uint32();
|
|
108
108
|
switch (tag >>> 3) {
|
|
109
109
|
case 1:
|
|
110
|
-
if (tag
|
|
110
|
+
if (tag !== 10) {
|
|
111
111
|
break;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
message.color = Color4.decode(reader, reader.uint32());
|
|
115
115
|
continue;
|
|
116
116
|
case 2:
|
|
117
|
-
if (tag
|
|
117
|
+
if (tag !== 18) {
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
message.texture = TextureUnion.decode(reader, reader.uint32());
|
|
122
122
|
continue;
|
|
123
123
|
case 3:
|
|
124
|
-
if (tag
|
|
124
|
+
if (tag !== 24) {
|
|
125
125
|
break;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
message.textureMode = reader.int32() as any;
|
|
129
129
|
continue;
|
|
130
130
|
case 4:
|
|
131
|
-
if (tag
|
|
131
|
+
if (tag !== 34) {
|
|
132
132
|
break;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
message.textureSlices = BorderRect.decode(reader, reader.uint32());
|
|
136
136
|
continue;
|
|
137
137
|
case 5:
|
|
138
|
-
if (tag
|
|
138
|
+
if (tag === 45) {
|
|
139
139
|
message.uvs.push(reader.float());
|
|
140
|
+
|
|
140
141
|
continue;
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
if (tag
|
|
144
|
+
if (tag === 42) {
|
|
144
145
|
const end2 = reader.uint32() + reader.pos;
|
|
145
146
|
while (reader.pos < end2) {
|
|
146
147
|
message.uvs.push(reader.float());
|
|
@@ -151,7 +152,7 @@ export const PBUiBackground = {
|
|
|
151
152
|
|
|
152
153
|
break;
|
|
153
154
|
}
|
|
154
|
-
if ((tag & 7)
|
|
155
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
155
156
|
break;
|
|
156
157
|
}
|
|
157
158
|
reader.skipType(tag & 7);
|