@dcl/protocol 1.0.0-33676972450.commit-882d4ee → 1.0.0-33861349213.commit-76445a6
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/common/texture.gen.d.ts +0 -18
- package/out-js/decentraland/common/texture.gen.js +4 -104
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +4 -125
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +6 -408
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +2 -14
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +2 -14
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -3
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -18
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
- package/out-js/decentraland/sdk/components/material.gen.js +2 -86
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +16 -11
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +14 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
- package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -27
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-ts/decentraland/common/texture.gen.ts +4 -119
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +6 -445
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -16
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +1 -16
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
- package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +33 -12
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -37
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/package.json +2 -2
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -45
- package/proto/decentraland/pulse/pulse_client.proto +27 -8
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -1
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +0 -1
- package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/material.proto +1 -13
- package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
- package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
- package/proto/decentraland/sdk/components/pointer_events.proto +15 -11
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
- package/proto/decentraland/sdk/components/raycast.proto +0 -13
- package/proto/decentraland/sdk/components/ui_input.proto +0 -2
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/public/sdk-components.proto +1 -10
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -51
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -177
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -71
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -303
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -79
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -357
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +0 -46
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +0 -162
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +0 -30
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +0 -80
- package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +0 -50
- package/out-js/decentraland/sdk/components/global_light.gen.js +0 -103
- package/out-js/decentraland/sdk/components/global_light.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +0 -86
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +0 -296
- package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +0 -35
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +0 -98
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +0 -31
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +0 -71
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +0 -1
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -237
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -372
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -432
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +0 -202
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +0 -92
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +0 -138
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +0 -362
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +0 -115
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +0 -83
- package/proto/decentraland/sdk/components/avatar_movement.proto +0 -62
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -36
- package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
- package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
- package/proto/decentraland/sdk/components/global_light.proto +0 -22
- package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
- package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
- package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
- package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
|
@@ -120,23 +120,11 @@ export interface VideoTexture {
|
|
|
120
120
|
filterMode?: TextureFilterMode | undefined;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export interface UiCanvasTexture {
|
|
124
|
-
uiCanvasEntity: number;
|
|
125
|
-
/** default = TextureWrapMode.Clamp */
|
|
126
|
-
wrapMode?:
|
|
127
|
-
| TextureWrapMode
|
|
128
|
-
| undefined;
|
|
129
|
-
/** default = FilterMode.Bilinear */
|
|
130
|
-
filterMode?: TextureFilterMode | undefined;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
123
|
export interface TextureUnion {
|
|
134
|
-
tex?:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
| { $case: "uiTexture"; uiTexture: UiCanvasTexture }
|
|
139
|
-
| undefined;
|
|
124
|
+
tex?: { $case: "texture"; texture: Texture } | { $case: "avatarTexture"; avatarTexture: AvatarTexture } | {
|
|
125
|
+
$case: "videoTexture";
|
|
126
|
+
videoTexture: VideoTexture;
|
|
127
|
+
} | undefined;
|
|
140
128
|
}
|
|
141
129
|
|
|
142
130
|
function createBaseTexture(): Texture {
|
|
@@ -427,92 +415,6 @@ export namespace VideoTexture {
|
|
|
427
415
|
}
|
|
428
416
|
}
|
|
429
417
|
|
|
430
|
-
function createBaseUiCanvasTexture(): UiCanvasTexture {
|
|
431
|
-
return { uiCanvasEntity: 0, wrapMode: undefined, filterMode: undefined };
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
export namespace UiCanvasTexture {
|
|
435
|
-
export function encode(message: UiCanvasTexture, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
436
|
-
if (message.uiCanvasEntity !== 0) {
|
|
437
|
-
writer.uint32(8).uint32(message.uiCanvasEntity);
|
|
438
|
-
}
|
|
439
|
-
if (message.wrapMode !== undefined) {
|
|
440
|
-
writer.uint32(16).int32(message.wrapMode);
|
|
441
|
-
}
|
|
442
|
-
if (message.filterMode !== undefined) {
|
|
443
|
-
writer.uint32(24).int32(message.filterMode);
|
|
444
|
-
}
|
|
445
|
-
return writer;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture {
|
|
449
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
450
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
451
|
-
const message = createBaseUiCanvasTexture();
|
|
452
|
-
while (reader.pos < end) {
|
|
453
|
-
const tag = reader.uint32();
|
|
454
|
-
switch (tag >>> 3) {
|
|
455
|
-
case 1:
|
|
456
|
-
if (tag !== 8) {
|
|
457
|
-
break;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
message.uiCanvasEntity = reader.uint32();
|
|
461
|
-
continue;
|
|
462
|
-
case 2:
|
|
463
|
-
if (tag !== 16) {
|
|
464
|
-
break;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
message.wrapMode = reader.int32() as any;
|
|
468
|
-
continue;
|
|
469
|
-
case 3:
|
|
470
|
-
if (tag !== 24) {
|
|
471
|
-
break;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
message.filterMode = reader.int32() as any;
|
|
475
|
-
continue;
|
|
476
|
-
}
|
|
477
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
478
|
-
break;
|
|
479
|
-
}
|
|
480
|
-
reader.skipType(tag & 7);
|
|
481
|
-
}
|
|
482
|
-
return message;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
export function fromJSON(object: any): UiCanvasTexture {
|
|
486
|
-
return {
|
|
487
|
-
uiCanvasEntity: isSet(object.uiCanvasEntity) ? Number(object.uiCanvasEntity) : 0,
|
|
488
|
-
wrapMode: isSet(object.wrapMode) ? textureWrapModeFromJSON(object.wrapMode) : undefined,
|
|
489
|
-
filterMode: isSet(object.filterMode) ? textureFilterModeFromJSON(object.filterMode) : undefined,
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export function toJSON(message: UiCanvasTexture): unknown {
|
|
494
|
-
const obj: any = {};
|
|
495
|
-
message.uiCanvasEntity !== undefined && (obj.uiCanvasEntity = Math.round(message.uiCanvasEntity));
|
|
496
|
-
message.wrapMode !== undefined &&
|
|
497
|
-
(obj.wrapMode = message.wrapMode !== undefined ? textureWrapModeToJSON(message.wrapMode) : undefined);
|
|
498
|
-
message.filterMode !== undefined &&
|
|
499
|
-
(obj.filterMode = message.filterMode !== undefined ? textureFilterModeToJSON(message.filterMode) : undefined);
|
|
500
|
-
return obj;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
export function create<I extends Exact<DeepPartial<UiCanvasTexture>, I>>(base?: I): UiCanvasTexture {
|
|
504
|
-
return UiCanvasTexture.fromPartial(base ?? {});
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
export function fromPartial<I extends Exact<DeepPartial<UiCanvasTexture>, I>>(object: I): UiCanvasTexture {
|
|
508
|
-
const message = createBaseUiCanvasTexture();
|
|
509
|
-
message.uiCanvasEntity = object.uiCanvasEntity ?? 0;
|
|
510
|
-
message.wrapMode = object.wrapMode ?? undefined;
|
|
511
|
-
message.filterMode = object.filterMode ?? undefined;
|
|
512
|
-
return message;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
418
|
function createBaseTextureUnion(): TextureUnion {
|
|
517
419
|
return { tex: undefined };
|
|
518
420
|
}
|
|
@@ -529,9 +431,6 @@ export namespace TextureUnion {
|
|
|
529
431
|
case "videoTexture":
|
|
530
432
|
VideoTexture.encode(message.tex.videoTexture, writer.uint32(26).fork()).ldelim();
|
|
531
433
|
break;
|
|
532
|
-
case "uiTexture":
|
|
533
|
-
UiCanvasTexture.encode(message.tex.uiTexture, writer.uint32(34).fork()).ldelim();
|
|
534
|
-
break;
|
|
535
434
|
}
|
|
536
435
|
return writer;
|
|
537
436
|
}
|
|
@@ -564,13 +463,6 @@ export namespace TextureUnion {
|
|
|
564
463
|
|
|
565
464
|
message.tex = { $case: "videoTexture", videoTexture: VideoTexture.decode(reader, reader.uint32()) };
|
|
566
465
|
continue;
|
|
567
|
-
case 4:
|
|
568
|
-
if (tag !== 34) {
|
|
569
|
-
break;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
message.tex = { $case: "uiTexture", uiTexture: UiCanvasTexture.decode(reader, reader.uint32()) };
|
|
573
|
-
continue;
|
|
574
466
|
}
|
|
575
467
|
if ((tag & 7) === 4 || tag === 0) {
|
|
576
468
|
break;
|
|
@@ -588,8 +480,6 @@ export namespace TextureUnion {
|
|
|
588
480
|
? { $case: "avatarTexture", avatarTexture: AvatarTexture.fromJSON(object.avatarTexture) }
|
|
589
481
|
: isSet(object.videoTexture)
|
|
590
482
|
? { $case: "videoTexture", videoTexture: VideoTexture.fromJSON(object.videoTexture) }
|
|
591
|
-
: isSet(object.uiTexture)
|
|
592
|
-
? { $case: "uiTexture", uiTexture: UiCanvasTexture.fromJSON(object.uiTexture) }
|
|
593
483
|
: undefined,
|
|
594
484
|
};
|
|
595
485
|
}
|
|
@@ -602,8 +492,6 @@ export namespace TextureUnion {
|
|
|
602
492
|
(obj.avatarTexture = message.tex?.avatarTexture ? AvatarTexture.toJSON(message.tex?.avatarTexture) : undefined);
|
|
603
493
|
message.tex?.$case === "videoTexture" &&
|
|
604
494
|
(obj.videoTexture = message.tex?.videoTexture ? VideoTexture.toJSON(message.tex?.videoTexture) : undefined);
|
|
605
|
-
message.tex?.$case === "uiTexture" &&
|
|
606
|
-
(obj.uiTexture = message.tex?.uiTexture ? UiCanvasTexture.toJSON(message.tex?.uiTexture) : undefined);
|
|
607
495
|
return obj;
|
|
608
496
|
}
|
|
609
497
|
|
|
@@ -630,9 +518,6 @@ export namespace TextureUnion {
|
|
|
630
518
|
) {
|
|
631
519
|
message.tex = { $case: "videoTexture", videoTexture: VideoTexture.fromPartial(object.tex.videoTexture) };
|
|
632
520
|
}
|
|
633
|
-
if (object.tex?.$case === "uiTexture" && object.tex?.uiTexture !== undefined && object.tex?.uiTexture !== null) {
|
|
634
|
-
message.tex = { $case: "uiTexture", uiTexture: UiCanvasTexture.fromPartial(object.tex.uiTexture) };
|
|
635
|
-
}
|
|
636
521
|
return message;
|
|
637
522
|
}
|
|
638
523
|
}
|
|
@@ -79,16 +79,7 @@ export interface MovePlayerToRequest {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export interface TeleportToRequest {
|
|
82
|
-
|
|
83
|
-
worldCoordinates?:
|
|
84
|
-
| Vector2
|
|
85
|
-
| undefined;
|
|
86
|
-
/**
|
|
87
|
-
* The realm the parcel belongs to: a world name (`foo.dcl.eth`) or a realm url. When set, the
|
|
88
|
-
* client changes realm (a full reconnect, even to the realm the player is in) and lands on the
|
|
89
|
-
* parcel there. Omitted: the parcel is in the player's current realm.
|
|
90
|
-
*/
|
|
91
|
-
realm?: string | undefined;
|
|
82
|
+
worldCoordinates: Vector2 | undefined;
|
|
92
83
|
}
|
|
93
84
|
|
|
94
85
|
export interface TriggerEmoteRequest {
|
|
@@ -133,35 +124,9 @@ export interface MovePlayerToResponse {
|
|
|
133
124
|
success: boolean;
|
|
134
125
|
}
|
|
135
126
|
|
|
136
|
-
export interface WalkPlayerToRequest {
|
|
137
|
-
newRelativePosition: Vector3 | undefined;
|
|
138
|
-
stopThreshold: number;
|
|
139
|
-
/** max seconds before the request is failed; not passed to the movement scene */
|
|
140
|
-
timeout?: number | undefined;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export interface WalkPlayerToResponse {
|
|
144
|
-
success: boolean;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
127
|
export interface TeleportToResponse {
|
|
148
128
|
}
|
|
149
129
|
|
|
150
|
-
export interface SetUiFocusRequest {
|
|
151
|
-
elementId: string;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export interface ClearUiFocusRequest {
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export interface GetUiFocusRequest {
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface UiFocusResponse {
|
|
161
|
-
/** the element that is/was focussed */
|
|
162
|
-
elementId?: string | undefined;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
130
|
export interface CopyToClipboardRequest {
|
|
166
131
|
text: string;
|
|
167
132
|
}
|
|
@@ -288,7 +253,7 @@ export namespace MovePlayerToRequest {
|
|
|
288
253
|
}
|
|
289
254
|
|
|
290
255
|
function createBaseTeleportToRequest(): TeleportToRequest {
|
|
291
|
-
return { worldCoordinates: undefined
|
|
256
|
+
return { worldCoordinates: undefined };
|
|
292
257
|
}
|
|
293
258
|
|
|
294
259
|
export namespace TeleportToRequest {
|
|
@@ -296,9 +261,6 @@ export namespace TeleportToRequest {
|
|
|
296
261
|
if (message.worldCoordinates !== undefined) {
|
|
297
262
|
Vector2.encode(message.worldCoordinates, writer.uint32(10).fork()).ldelim();
|
|
298
263
|
}
|
|
299
|
-
if (message.realm !== undefined) {
|
|
300
|
-
writer.uint32(18).string(message.realm);
|
|
301
|
-
}
|
|
302
264
|
return writer;
|
|
303
265
|
}
|
|
304
266
|
|
|
@@ -316,13 +278,6 @@ export namespace TeleportToRequest {
|
|
|
316
278
|
|
|
317
279
|
message.worldCoordinates = Vector2.decode(reader, reader.uint32());
|
|
318
280
|
continue;
|
|
319
|
-
case 2:
|
|
320
|
-
if (tag !== 18) {
|
|
321
|
-
break;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
message.realm = reader.string();
|
|
325
|
-
continue;
|
|
326
281
|
}
|
|
327
282
|
if ((tag & 7) === 4 || tag === 0) {
|
|
328
283
|
break;
|
|
@@ -333,17 +288,13 @@ export namespace TeleportToRequest {
|
|
|
333
288
|
}
|
|
334
289
|
|
|
335
290
|
export function fromJSON(object: any): TeleportToRequest {
|
|
336
|
-
return {
|
|
337
|
-
worldCoordinates: isSet(object.worldCoordinates) ? Vector2.fromJSON(object.worldCoordinates) : undefined,
|
|
338
|
-
realm: isSet(object.realm) ? String(object.realm) : undefined,
|
|
339
|
-
};
|
|
291
|
+
return { worldCoordinates: isSet(object.worldCoordinates) ? Vector2.fromJSON(object.worldCoordinates) : undefined };
|
|
340
292
|
}
|
|
341
293
|
|
|
342
294
|
export function toJSON(message: TeleportToRequest): unknown {
|
|
343
295
|
const obj: any = {};
|
|
344
296
|
message.worldCoordinates !== undefined &&
|
|
345
297
|
(obj.worldCoordinates = message.worldCoordinates ? Vector2.toJSON(message.worldCoordinates) : undefined);
|
|
346
|
-
message.realm !== undefined && (obj.realm = message.realm);
|
|
347
298
|
return obj;
|
|
348
299
|
}
|
|
349
300
|
|
|
@@ -356,7 +307,6 @@ export namespace TeleportToRequest {
|
|
|
356
307
|
message.worldCoordinates = (object.worldCoordinates !== undefined && object.worldCoordinates !== null)
|
|
357
308
|
? Vector2.fromPartial(object.worldCoordinates)
|
|
358
309
|
: undefined;
|
|
359
|
-
message.realm = object.realm ?? undefined;
|
|
360
310
|
return message;
|
|
361
311
|
}
|
|
362
312
|
}
|
|
@@ -961,149 +911,6 @@ export namespace MovePlayerToResponse {
|
|
|
961
911
|
}
|
|
962
912
|
}
|
|
963
913
|
|
|
964
|
-
function createBaseWalkPlayerToRequest(): WalkPlayerToRequest {
|
|
965
|
-
return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
export namespace WalkPlayerToRequest {
|
|
969
|
-
export function encode(message: WalkPlayerToRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
970
|
-
if (message.newRelativePosition !== undefined) {
|
|
971
|
-
Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
972
|
-
}
|
|
973
|
-
if (message.stopThreshold !== 0) {
|
|
974
|
-
writer.uint32(21).float(message.stopThreshold);
|
|
975
|
-
}
|
|
976
|
-
if (message.timeout !== undefined) {
|
|
977
|
-
writer.uint32(29).float(message.timeout);
|
|
978
|
-
}
|
|
979
|
-
return writer;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest {
|
|
983
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
984
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
985
|
-
const message = createBaseWalkPlayerToRequest();
|
|
986
|
-
while (reader.pos < end) {
|
|
987
|
-
const tag = reader.uint32();
|
|
988
|
-
switch (tag >>> 3) {
|
|
989
|
-
case 1:
|
|
990
|
-
if (tag !== 10) {
|
|
991
|
-
break;
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
message.newRelativePosition = Vector3.decode(reader, reader.uint32());
|
|
995
|
-
continue;
|
|
996
|
-
case 2:
|
|
997
|
-
if (tag !== 21) {
|
|
998
|
-
break;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
message.stopThreshold = reader.float();
|
|
1002
|
-
continue;
|
|
1003
|
-
case 3:
|
|
1004
|
-
if (tag !== 29) {
|
|
1005
|
-
break;
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
message.timeout = reader.float();
|
|
1009
|
-
continue;
|
|
1010
|
-
}
|
|
1011
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1012
|
-
break;
|
|
1013
|
-
}
|
|
1014
|
-
reader.skipType(tag & 7);
|
|
1015
|
-
}
|
|
1016
|
-
return message;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
export function fromJSON(object: any): WalkPlayerToRequest {
|
|
1020
|
-
return {
|
|
1021
|
-
newRelativePosition: isSet(object.newRelativePosition) ? Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
1022
|
-
stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
|
|
1023
|
-
timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
|
|
1024
|
-
};
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export function toJSON(message: WalkPlayerToRequest): unknown {
|
|
1028
|
-
const obj: any = {};
|
|
1029
|
-
message.newRelativePosition !== undefined &&
|
|
1030
|
-
(obj.newRelativePosition = message.newRelativePosition ? Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
1031
|
-
message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
|
|
1032
|
-
message.timeout !== undefined && (obj.timeout = message.timeout);
|
|
1033
|
-
return obj;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
export function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest {
|
|
1037
|
-
return WalkPlayerToRequest.fromPartial(base ?? {});
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest {
|
|
1041
|
-
const message = createBaseWalkPlayerToRequest();
|
|
1042
|
-
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
1043
|
-
? Vector3.fromPartial(object.newRelativePosition)
|
|
1044
|
-
: undefined;
|
|
1045
|
-
message.stopThreshold = object.stopThreshold ?? 0;
|
|
1046
|
-
message.timeout = object.timeout ?? undefined;
|
|
1047
|
-
return message;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
function createBaseWalkPlayerToResponse(): WalkPlayerToResponse {
|
|
1052
|
-
return { success: false };
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
export namespace WalkPlayerToResponse {
|
|
1056
|
-
export function encode(message: WalkPlayerToResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1057
|
-
if (message.success === true) {
|
|
1058
|
-
writer.uint32(8).bool(message.success);
|
|
1059
|
-
}
|
|
1060
|
-
return writer;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse {
|
|
1064
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1065
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1066
|
-
const message = createBaseWalkPlayerToResponse();
|
|
1067
|
-
while (reader.pos < end) {
|
|
1068
|
-
const tag = reader.uint32();
|
|
1069
|
-
switch (tag >>> 3) {
|
|
1070
|
-
case 1:
|
|
1071
|
-
if (tag !== 8) {
|
|
1072
|
-
break;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
message.success = reader.bool();
|
|
1076
|
-
continue;
|
|
1077
|
-
}
|
|
1078
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1079
|
-
break;
|
|
1080
|
-
}
|
|
1081
|
-
reader.skipType(tag & 7);
|
|
1082
|
-
}
|
|
1083
|
-
return message;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
export function fromJSON(object: any): WalkPlayerToResponse {
|
|
1087
|
-
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
export function toJSON(message: WalkPlayerToResponse): unknown {
|
|
1091
|
-
const obj: any = {};
|
|
1092
|
-
message.success !== undefined && (obj.success = message.success);
|
|
1093
|
-
return obj;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
export function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse {
|
|
1097
|
-
return WalkPlayerToResponse.fromPartial(base ?? {});
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse {
|
|
1101
|
-
const message = createBaseWalkPlayerToResponse();
|
|
1102
|
-
message.success = object.success ?? false;
|
|
1103
|
-
return message;
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
914
|
function createBaseTeleportToResponse(): TeleportToResponse {
|
|
1108
915
|
return {};
|
|
1109
916
|
}
|
|
@@ -1148,206 +955,6 @@ export namespace TeleportToResponse {
|
|
|
1148
955
|
}
|
|
1149
956
|
}
|
|
1150
957
|
|
|
1151
|
-
function createBaseSetUiFocusRequest(): SetUiFocusRequest {
|
|
1152
|
-
return { elementId: "" };
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
export namespace SetUiFocusRequest {
|
|
1156
|
-
export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1157
|
-
if (message.elementId !== "") {
|
|
1158
|
-
writer.uint32(10).string(message.elementId);
|
|
1159
|
-
}
|
|
1160
|
-
return writer;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
|
|
1164
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1165
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1166
|
-
const message = createBaseSetUiFocusRequest();
|
|
1167
|
-
while (reader.pos < end) {
|
|
1168
|
-
const tag = reader.uint32();
|
|
1169
|
-
switch (tag >>> 3) {
|
|
1170
|
-
case 1:
|
|
1171
|
-
if (tag !== 10) {
|
|
1172
|
-
break;
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
message.elementId = reader.string();
|
|
1176
|
-
continue;
|
|
1177
|
-
}
|
|
1178
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1179
|
-
break;
|
|
1180
|
-
}
|
|
1181
|
-
reader.skipType(tag & 7);
|
|
1182
|
-
}
|
|
1183
|
-
return message;
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
export function fromJSON(object: any): SetUiFocusRequest {
|
|
1187
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
export function toJSON(message: SetUiFocusRequest): unknown {
|
|
1191
|
-
const obj: any = {};
|
|
1192
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1193
|
-
return obj;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
|
|
1197
|
-
return SetUiFocusRequest.fromPartial(base ?? {});
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
|
|
1201
|
-
const message = createBaseSetUiFocusRequest();
|
|
1202
|
-
message.elementId = object.elementId ?? "";
|
|
1203
|
-
return message;
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
|
|
1208
|
-
return {};
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
export namespace ClearUiFocusRequest {
|
|
1212
|
-
export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1213
|
-
return writer;
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
|
|
1217
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1218
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1219
|
-
const message = createBaseClearUiFocusRequest();
|
|
1220
|
-
while (reader.pos < end) {
|
|
1221
|
-
const tag = reader.uint32();
|
|
1222
|
-
switch (tag >>> 3) {
|
|
1223
|
-
}
|
|
1224
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1225
|
-
break;
|
|
1226
|
-
}
|
|
1227
|
-
reader.skipType(tag & 7);
|
|
1228
|
-
}
|
|
1229
|
-
return message;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
export function fromJSON(_: any): ClearUiFocusRequest {
|
|
1233
|
-
return {};
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
export function toJSON(_: ClearUiFocusRequest): unknown {
|
|
1237
|
-
const obj: any = {};
|
|
1238
|
-
return obj;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
|
|
1242
|
-
return ClearUiFocusRequest.fromPartial(base ?? {});
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
|
|
1246
|
-
const message = createBaseClearUiFocusRequest();
|
|
1247
|
-
return message;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
function createBaseGetUiFocusRequest(): GetUiFocusRequest {
|
|
1252
|
-
return {};
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
export namespace GetUiFocusRequest {
|
|
1256
|
-
export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1257
|
-
return writer;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
|
|
1261
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1262
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1263
|
-
const message = createBaseGetUiFocusRequest();
|
|
1264
|
-
while (reader.pos < end) {
|
|
1265
|
-
const tag = reader.uint32();
|
|
1266
|
-
switch (tag >>> 3) {
|
|
1267
|
-
}
|
|
1268
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
reader.skipType(tag & 7);
|
|
1272
|
-
}
|
|
1273
|
-
return message;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
export function fromJSON(_: any): GetUiFocusRequest {
|
|
1277
|
-
return {};
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
export function toJSON(_: GetUiFocusRequest): unknown {
|
|
1281
|
-
const obj: any = {};
|
|
1282
|
-
return obj;
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
|
|
1286
|
-
return GetUiFocusRequest.fromPartial(base ?? {});
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
|
|
1290
|
-
const message = createBaseGetUiFocusRequest();
|
|
1291
|
-
return message;
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
function createBaseUiFocusResponse(): UiFocusResponse {
|
|
1296
|
-
return { elementId: undefined };
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
export namespace UiFocusResponse {
|
|
1300
|
-
export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1301
|
-
if (message.elementId !== undefined) {
|
|
1302
|
-
writer.uint32(10).string(message.elementId);
|
|
1303
|
-
}
|
|
1304
|
-
return writer;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
|
|
1308
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1309
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1310
|
-
const message = createBaseUiFocusResponse();
|
|
1311
|
-
while (reader.pos < end) {
|
|
1312
|
-
const tag = reader.uint32();
|
|
1313
|
-
switch (tag >>> 3) {
|
|
1314
|
-
case 1:
|
|
1315
|
-
if (tag !== 10) {
|
|
1316
|
-
break;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
message.elementId = reader.string();
|
|
1320
|
-
continue;
|
|
1321
|
-
}
|
|
1322
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1323
|
-
break;
|
|
1324
|
-
}
|
|
1325
|
-
reader.skipType(tag & 7);
|
|
1326
|
-
}
|
|
1327
|
-
return message;
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
export function fromJSON(object: any): UiFocusResponse {
|
|
1331
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
export function toJSON(message: UiFocusResponse): unknown {
|
|
1335
|
-
const obj: any = {};
|
|
1336
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1337
|
-
return obj;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
|
|
1341
|
-
return UiFocusResponse.fromPartial(base ?? {});
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
|
|
1345
|
-
const message = createBaseUiFocusResponse();
|
|
1346
|
-
message.elementId = object.elementId ?? undefined;
|
|
1347
|
-
return message;
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
958
|
function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
|
|
1352
959
|
return { text: "" };
|
|
1353
960
|
}
|
|
@@ -1628,21 +1235,7 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1628
1235
|
responseStream: false,
|
|
1629
1236
|
options: {},
|
|
1630
1237
|
},
|
|
1631
|
-
/**
|
|
1632
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1633
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1634
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1635
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1636
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1637
|
-
*/
|
|
1638
|
-
walkPlayerTo: {
|
|
1639
|
-
name: "WalkPlayerTo",
|
|
1640
|
-
requestType: WalkPlayerToRequest,
|
|
1641
|
-
requestStream: false,
|
|
1642
|
-
responseType: WalkPlayerToResponse,
|
|
1643
|
-
responseStream: false,
|
|
1644
|
-
options: {},
|
|
1645
|
-
},
|
|
1238
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1646
1239
|
teleportTo: {
|
|
1647
1240
|
name: "TeleportTo",
|
|
1648
1241
|
requestType: TeleportToRequest,
|
|
@@ -1660,10 +1253,7 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1660
1253
|
responseStream: false,
|
|
1661
1254
|
options: {},
|
|
1662
1255
|
},
|
|
1663
|
-
/**
|
|
1664
|
-
* @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
|
|
1665
|
-
* ChangeRealm prompts the user to change to a specific realm
|
|
1666
|
-
*/
|
|
1256
|
+
/** ChangeRealm prompts the user to change to a specific realm */
|
|
1667
1257
|
changeRealm: {
|
|
1668
1258
|
name: "ChangeRealm",
|
|
1669
1259
|
requestType: ChangeRealmRequest,
|
|
@@ -1711,36 +1301,7 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1711
1301
|
responseStream: false,
|
|
1712
1302
|
options: {},
|
|
1713
1303
|
},
|
|
1714
|
-
/**
|
|
1715
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1716
|
-
* Sets the focus to a specific UI element
|
|
1717
|
-
*/
|
|
1718
|
-
setUiFocus: {
|
|
1719
|
-
name: "SetUiFocus",
|
|
1720
|
-
requestType: SetUiFocusRequest,
|
|
1721
|
-
requestStream: false,
|
|
1722
|
-
responseType: UiFocusResponse,
|
|
1723
|
-
responseStream: false,
|
|
1724
|
-
options: {},
|
|
1725
|
-
},
|
|
1726
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1727
|
-
clearUiFocus: {
|
|
1728
|
-
name: "ClearUiFocus",
|
|
1729
|
-
requestType: ClearUiFocusRequest,
|
|
1730
|
-
requestStream: false,
|
|
1731
|
-
responseType: UiFocusResponse,
|
|
1732
|
-
responseStream: false,
|
|
1733
|
-
options: {},
|
|
1734
|
-
},
|
|
1735
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1736
|
-
getUiFocus: {
|
|
1737
|
-
name: "GetUiFocus",
|
|
1738
|
-
requestType: GetUiFocusRequest,
|
|
1739
|
-
requestStream: false,
|
|
1740
|
-
responseType: UiFocusResponse,
|
|
1741
|
-
responseStream: false,
|
|
1742
|
-
options: {},
|
|
1743
|
-
},
|
|
1304
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1744
1305
|
copyToClipboard: {
|
|
1745
1306
|
name: "CopyToClipboard",
|
|
1746
1307
|
requestType: CopyToClipboardRequest,
|