@dcl/protocol 1.0.0-4810686946.commit-7c034e3 → 1.0.0-4863715547.commit-286ee57
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/social/friendships/friendships.proto +9 -8
|
@@ -134,21 +134,21 @@ export const ChallengeResponseMessage = {
|
|
|
134
134
|
const tag = reader.uint32();
|
|
135
135
|
switch (tag >>> 3) {
|
|
136
136
|
case 1:
|
|
137
|
-
if (tag
|
|
137
|
+
if (tag !== 10) {
|
|
138
138
|
break;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
message.challengeToSign = reader.string();
|
|
142
142
|
continue;
|
|
143
143
|
case 2:
|
|
144
|
-
if (tag
|
|
144
|
+
if (tag !== 16) {
|
|
145
145
|
break;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
message.alreadyConnected = reader.bool();
|
|
149
149
|
continue;
|
|
150
150
|
}
|
|
151
|
-
if ((tag & 7)
|
|
151
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
152
152
|
break;
|
|
153
153
|
}
|
|
154
154
|
reader.skipType(tag & 7);
|
|
@@ -202,14 +202,14 @@ export const WelcomeMessage = {
|
|
|
202
202
|
const tag = reader.uint32();
|
|
203
203
|
switch (tag >>> 3) {
|
|
204
204
|
case 1:
|
|
205
|
-
if (tag
|
|
205
|
+
if (tag !== 10) {
|
|
206
206
|
break;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
message.peerId = reader.string();
|
|
210
210
|
continue;
|
|
211
211
|
}
|
|
212
|
-
if ((tag & 7)
|
|
212
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
213
213
|
break;
|
|
214
214
|
}
|
|
215
215
|
reader.skipType(tag & 7);
|
|
@@ -267,28 +267,28 @@ export const IslandChangedMessage = {
|
|
|
267
267
|
const tag = reader.uint32();
|
|
268
268
|
switch (tag >>> 3) {
|
|
269
269
|
case 1:
|
|
270
|
-
if (tag
|
|
270
|
+
if (tag !== 10) {
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
message.islandId = reader.string();
|
|
275
275
|
continue;
|
|
276
276
|
case 2:
|
|
277
|
-
if (tag
|
|
277
|
+
if (tag !== 18) {
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
message.connStr = reader.string();
|
|
282
282
|
continue;
|
|
283
283
|
case 3:
|
|
284
|
-
if (tag
|
|
284
|
+
if (tag !== 26) {
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
message.fromIslandId = reader.string();
|
|
289
289
|
continue;
|
|
290
290
|
case 4:
|
|
291
|
-
if (tag
|
|
291
|
+
if (tag !== 34) {
|
|
292
292
|
break;
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -298,7 +298,7 @@ export const IslandChangedMessage = {
|
|
|
298
298
|
}
|
|
299
299
|
continue;
|
|
300
300
|
}
|
|
301
|
-
if ((tag & 7)
|
|
301
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
302
302
|
break;
|
|
303
303
|
}
|
|
304
304
|
reader.skipType(tag & 7);
|
|
@@ -376,21 +376,21 @@ export const IslandChangedMessage_PeersEntry = {
|
|
|
376
376
|
const tag = reader.uint32();
|
|
377
377
|
switch (tag >>> 3) {
|
|
378
378
|
case 1:
|
|
379
|
-
if (tag
|
|
379
|
+
if (tag !== 10) {
|
|
380
380
|
break;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
message.key = reader.string();
|
|
384
384
|
continue;
|
|
385
385
|
case 2:
|
|
386
|
-
if (tag
|
|
386
|
+
if (tag !== 18) {
|
|
387
387
|
break;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
message.value = Position.decode(reader, reader.uint32());
|
|
391
391
|
continue;
|
|
392
392
|
}
|
|
393
|
-
if ((tag & 7)
|
|
393
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
394
394
|
break;
|
|
395
395
|
}
|
|
396
396
|
reader.skipType(tag & 7);
|
|
@@ -451,21 +451,21 @@ export const LeftIslandMessage = {
|
|
|
451
451
|
const tag = reader.uint32();
|
|
452
452
|
switch (tag >>> 3) {
|
|
453
453
|
case 1:
|
|
454
|
-
if (tag
|
|
454
|
+
if (tag !== 10) {
|
|
455
455
|
break;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
message.islandId = reader.string();
|
|
459
459
|
continue;
|
|
460
460
|
case 2:
|
|
461
|
-
if (tag
|
|
461
|
+
if (tag !== 18) {
|
|
462
462
|
break;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
message.peerId = reader.string();
|
|
466
466
|
continue;
|
|
467
467
|
}
|
|
468
|
-
if ((tag & 7)
|
|
468
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
469
469
|
break;
|
|
470
470
|
}
|
|
471
471
|
reader.skipType(tag & 7);
|
|
@@ -522,21 +522,21 @@ export const JoinIslandMessage = {
|
|
|
522
522
|
const tag = reader.uint32();
|
|
523
523
|
switch (tag >>> 3) {
|
|
524
524
|
case 1:
|
|
525
|
-
if (tag
|
|
525
|
+
if (tag !== 10) {
|
|
526
526
|
break;
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
message.islandId = reader.string();
|
|
530
530
|
continue;
|
|
531
531
|
case 2:
|
|
532
|
-
if (tag
|
|
532
|
+
if (tag !== 18) {
|
|
533
533
|
break;
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
message.peerId = reader.string();
|
|
537
537
|
continue;
|
|
538
538
|
}
|
|
539
|
-
if ((tag & 7)
|
|
539
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
540
540
|
break;
|
|
541
541
|
}
|
|
542
542
|
reader.skipType(tag & 7);
|
|
@@ -590,14 +590,14 @@ export const KickedMessage = {
|
|
|
590
590
|
const tag = reader.uint32();
|
|
591
591
|
switch (tag >>> 3) {
|
|
592
592
|
case 1:
|
|
593
|
-
if (tag
|
|
593
|
+
if (tag !== 8) {
|
|
594
594
|
break;
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
message.reason = reader.int32() as any;
|
|
598
598
|
continue;
|
|
599
599
|
}
|
|
600
|
-
if ((tag & 7)
|
|
600
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
601
601
|
break;
|
|
602
602
|
}
|
|
603
603
|
reader.skipType(tag & 7);
|
|
@@ -663,7 +663,7 @@ export const ServerPacket = {
|
|
|
663
663
|
const tag = reader.uint32();
|
|
664
664
|
switch (tag >>> 3) {
|
|
665
665
|
case 1:
|
|
666
|
-
if (tag
|
|
666
|
+
if (tag !== 10) {
|
|
667
667
|
break;
|
|
668
668
|
}
|
|
669
669
|
|
|
@@ -673,14 +673,14 @@ export const ServerPacket = {
|
|
|
673
673
|
};
|
|
674
674
|
continue;
|
|
675
675
|
case 2:
|
|
676
|
-
if (tag
|
|
676
|
+
if (tag !== 18) {
|
|
677
677
|
break;
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
message.message = { $case: "welcome", welcome: WelcomeMessage.decode(reader, reader.uint32()) };
|
|
681
681
|
continue;
|
|
682
682
|
case 3:
|
|
683
|
-
if (tag
|
|
683
|
+
if (tag !== 26) {
|
|
684
684
|
break;
|
|
685
685
|
}
|
|
686
686
|
|
|
@@ -690,28 +690,28 @@ export const ServerPacket = {
|
|
|
690
690
|
};
|
|
691
691
|
continue;
|
|
692
692
|
case 4:
|
|
693
|
-
if (tag
|
|
693
|
+
if (tag !== 34) {
|
|
694
694
|
break;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
message.message = { $case: "leftIsland", leftIsland: LeftIslandMessage.decode(reader, reader.uint32()) };
|
|
698
698
|
continue;
|
|
699
699
|
case 5:
|
|
700
|
-
if (tag
|
|
700
|
+
if (tag !== 42) {
|
|
701
701
|
break;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
message.message = { $case: "joinIsland", joinIsland: JoinIslandMessage.decode(reader, reader.uint32()) };
|
|
705
705
|
continue;
|
|
706
706
|
case 6:
|
|
707
|
-
if (tag
|
|
707
|
+
if (tag !== 50) {
|
|
708
708
|
break;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
message.message = { $case: "kicked", kicked: KickedMessage.decode(reader, reader.uint32()) };
|
|
712
712
|
continue;
|
|
713
713
|
}
|
|
714
|
-
if ((tag & 7)
|
|
714
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
715
715
|
break;
|
|
716
716
|
}
|
|
717
717
|
reader.skipType(tag & 7);
|
|
@@ -832,14 +832,14 @@ export const ChallengeRequestMessage = {
|
|
|
832
832
|
const tag = reader.uint32();
|
|
833
833
|
switch (tag >>> 3) {
|
|
834
834
|
case 1:
|
|
835
|
-
if (tag
|
|
835
|
+
if (tag !== 10) {
|
|
836
836
|
break;
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
message.address = reader.string();
|
|
840
840
|
continue;
|
|
841
841
|
}
|
|
842
|
-
if ((tag & 7)
|
|
842
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
843
843
|
break;
|
|
844
844
|
}
|
|
845
845
|
reader.skipType(tag & 7);
|
|
@@ -888,14 +888,14 @@ export const SignedChallengeMessage = {
|
|
|
888
888
|
const tag = reader.uint32();
|
|
889
889
|
switch (tag >>> 3) {
|
|
890
890
|
case 1:
|
|
891
|
-
if (tag
|
|
891
|
+
if (tag !== 10) {
|
|
892
892
|
break;
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
message.authChainJson = reader.string();
|
|
896
896
|
continue;
|
|
897
897
|
}
|
|
898
|
-
if ((tag & 7)
|
|
898
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
899
899
|
break;
|
|
900
900
|
}
|
|
901
901
|
reader.skipType(tag & 7);
|
|
@@ -947,21 +947,21 @@ export const Heartbeat = {
|
|
|
947
947
|
const tag = reader.uint32();
|
|
948
948
|
switch (tag >>> 3) {
|
|
949
949
|
case 1:
|
|
950
|
-
if (tag
|
|
950
|
+
if (tag !== 10) {
|
|
951
951
|
break;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
954
|
message.position = Position.decode(reader, reader.uint32());
|
|
955
955
|
continue;
|
|
956
956
|
case 2:
|
|
957
|
-
if (tag
|
|
957
|
+
if (tag !== 18) {
|
|
958
958
|
break;
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
message.desiredRoom = reader.string();
|
|
962
962
|
continue;
|
|
963
963
|
}
|
|
964
|
-
if ((tag & 7)
|
|
964
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
965
965
|
break;
|
|
966
966
|
}
|
|
967
967
|
reader.skipType(tag & 7);
|
|
@@ -1025,7 +1025,7 @@ export const ClientPacket = {
|
|
|
1025
1025
|
const tag = reader.uint32();
|
|
1026
1026
|
switch (tag >>> 3) {
|
|
1027
1027
|
case 1:
|
|
1028
|
-
if (tag
|
|
1028
|
+
if (tag !== 10) {
|
|
1029
1029
|
break;
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
@@ -1035,7 +1035,7 @@ export const ClientPacket = {
|
|
|
1035
1035
|
};
|
|
1036
1036
|
continue;
|
|
1037
1037
|
case 2:
|
|
1038
|
-
if (tag
|
|
1038
|
+
if (tag !== 18) {
|
|
1039
1039
|
break;
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
@@ -1045,14 +1045,14 @@ export const ClientPacket = {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
continue;
|
|
1047
1047
|
case 3:
|
|
1048
|
-
if (tag
|
|
1048
|
+
if (tag !== 26) {
|
|
1049
1049
|
break;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
message.message = { $case: "heartbeat", heartbeat: Heartbeat.decode(reader, reader.uint32()) };
|
|
1053
1053
|
continue;
|
|
1054
1054
|
}
|
|
1055
|
-
if ((tag & 7)
|
|
1055
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1056
1056
|
break;
|
|
1057
1057
|
}
|
|
1058
1058
|
reader.skipType(tag & 7);
|
|
@@ -1154,42 +1154,42 @@ export const IslandData = {
|
|
|
1154
1154
|
const tag = reader.uint32();
|
|
1155
1155
|
switch (tag >>> 3) {
|
|
1156
1156
|
case 1:
|
|
1157
|
-
if (tag
|
|
1157
|
+
if (tag !== 10) {
|
|
1158
1158
|
break;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
message.id = reader.string();
|
|
1162
1162
|
continue;
|
|
1163
1163
|
case 2:
|
|
1164
|
-
if (tag
|
|
1164
|
+
if (tag !== 18) {
|
|
1165
1165
|
break;
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
1168
|
message.peers.push(reader.string());
|
|
1169
1169
|
continue;
|
|
1170
1170
|
case 3:
|
|
1171
|
-
if (tag
|
|
1171
|
+
if (tag !== 24) {
|
|
1172
1172
|
break;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
1175
|
message.maxPeers = reader.uint32();
|
|
1176
1176
|
continue;
|
|
1177
1177
|
case 4:
|
|
1178
|
-
if (tag
|
|
1178
|
+
if (tag !== 34) {
|
|
1179
1179
|
break;
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
1182
|
message.center = Position.decode(reader, reader.uint32());
|
|
1183
1183
|
continue;
|
|
1184
1184
|
case 5:
|
|
1185
|
-
if (tag
|
|
1185
|
+
if (tag !== 41) {
|
|
1186
1186
|
break;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
1189
|
message.radius = reader.double();
|
|
1190
1190
|
continue;
|
|
1191
1191
|
}
|
|
1192
|
-
if ((tag & 7)
|
|
1192
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1193
1193
|
break;
|
|
1194
1194
|
}
|
|
1195
1195
|
reader.skipType(tag & 7);
|
|
@@ -1258,14 +1258,14 @@ export const IslandStatusMessage = {
|
|
|
1258
1258
|
const tag = reader.uint32();
|
|
1259
1259
|
switch (tag >>> 3) {
|
|
1260
1260
|
case 1:
|
|
1261
|
-
if (tag
|
|
1261
|
+
if (tag !== 10) {
|
|
1262
1262
|
break;
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
message.data.push(IslandData.decode(reader, reader.uint32()));
|
|
1266
1266
|
continue;
|
|
1267
1267
|
}
|
|
1268
|
-
if ((tag & 7)
|
|
1268
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1269
1269
|
break;
|
|
1270
1270
|
}
|
|
1271
1271
|
reader.skipType(tag & 7);
|