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