@dcl/protocol 1.0.0-45443187908.commit-ad382e2 → 1.0.0-45872166367.commit-57a13e1
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/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- 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 +2 -113
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +3 -387
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- 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_shape.gen.d.ts +27 -14
- 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/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- 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/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/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/{global_light.gen.js → sun.gen.js} +48 -37
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_input.gen.js +2 -28
- 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/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/texture.gen.ts +4 -119
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +2 -414
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- 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_shape.gen.ts +28 -35
- 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/environment_fog.gen.ts +113 -0
- 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/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +0 -36
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/package.json +2 -2
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -38
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- 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_shape.proto +32 -18
- 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/environment_fog.proto +21 -0
- 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/primary_pointer_info.proto +0 -5
- package/proto/decentraland/sdk/components/raycast.proto +0 -13
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/ui_input.proto +0 -2
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/public/sdk-apis.proto +1 -0
- package/public/sdk-components.proto +3 -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.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
|
@@ -133,35 +133,9 @@ export interface MovePlayerToResponse {
|
|
|
133
133
|
success: boolean;
|
|
134
134
|
}
|
|
135
135
|
|
|
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
136
|
export interface TeleportToResponse {
|
|
148
137
|
}
|
|
149
138
|
|
|
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
139
|
export interface CopyToClipboardRequest {
|
|
166
140
|
text: string;
|
|
167
141
|
}
|
|
@@ -971,149 +945,6 @@ export namespace MovePlayerToResponse {
|
|
|
971
945
|
}
|
|
972
946
|
}
|
|
973
947
|
|
|
974
|
-
function createBaseWalkPlayerToRequest(): WalkPlayerToRequest {
|
|
975
|
-
return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export namespace WalkPlayerToRequest {
|
|
979
|
-
export function encode(message: WalkPlayerToRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
980
|
-
if (message.newRelativePosition !== undefined) {
|
|
981
|
-
Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
982
|
-
}
|
|
983
|
-
if (message.stopThreshold !== 0) {
|
|
984
|
-
writer.uint32(21).float(message.stopThreshold);
|
|
985
|
-
}
|
|
986
|
-
if (message.timeout !== undefined) {
|
|
987
|
-
writer.uint32(29).float(message.timeout);
|
|
988
|
-
}
|
|
989
|
-
return writer;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest {
|
|
993
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
994
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
995
|
-
const message = createBaseWalkPlayerToRequest();
|
|
996
|
-
while (reader.pos < end) {
|
|
997
|
-
const tag = reader.uint32();
|
|
998
|
-
switch (tag >>> 3) {
|
|
999
|
-
case 1:
|
|
1000
|
-
if (tag !== 10) {
|
|
1001
|
-
break;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
message.newRelativePosition = Vector3.decode(reader, reader.uint32());
|
|
1005
|
-
continue;
|
|
1006
|
-
case 2:
|
|
1007
|
-
if (tag !== 21) {
|
|
1008
|
-
break;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
message.stopThreshold = reader.float();
|
|
1012
|
-
continue;
|
|
1013
|
-
case 3:
|
|
1014
|
-
if (tag !== 29) {
|
|
1015
|
-
break;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
message.timeout = reader.float();
|
|
1019
|
-
continue;
|
|
1020
|
-
}
|
|
1021
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1022
|
-
break;
|
|
1023
|
-
}
|
|
1024
|
-
reader.skipType(tag & 7);
|
|
1025
|
-
}
|
|
1026
|
-
return message;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
export function fromJSON(object: any): WalkPlayerToRequest {
|
|
1030
|
-
return {
|
|
1031
|
-
newRelativePosition: isSet(object.newRelativePosition) ? Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
1032
|
-
stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
|
|
1033
|
-
timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
export function toJSON(message: WalkPlayerToRequest): unknown {
|
|
1038
|
-
const obj: any = {};
|
|
1039
|
-
message.newRelativePosition !== undefined &&
|
|
1040
|
-
(obj.newRelativePosition = message.newRelativePosition ? Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
1041
|
-
message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
|
|
1042
|
-
message.timeout !== undefined && (obj.timeout = message.timeout);
|
|
1043
|
-
return obj;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
export function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest {
|
|
1047
|
-
return WalkPlayerToRequest.fromPartial(base ?? {});
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest {
|
|
1051
|
-
const message = createBaseWalkPlayerToRequest();
|
|
1052
|
-
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
1053
|
-
? Vector3.fromPartial(object.newRelativePosition)
|
|
1054
|
-
: undefined;
|
|
1055
|
-
message.stopThreshold = object.stopThreshold ?? 0;
|
|
1056
|
-
message.timeout = object.timeout ?? undefined;
|
|
1057
|
-
return message;
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
function createBaseWalkPlayerToResponse(): WalkPlayerToResponse {
|
|
1062
|
-
return { success: false };
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
export namespace WalkPlayerToResponse {
|
|
1066
|
-
export function encode(message: WalkPlayerToResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1067
|
-
if (message.success === true) {
|
|
1068
|
-
writer.uint32(8).bool(message.success);
|
|
1069
|
-
}
|
|
1070
|
-
return writer;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse {
|
|
1074
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1075
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1076
|
-
const message = createBaseWalkPlayerToResponse();
|
|
1077
|
-
while (reader.pos < end) {
|
|
1078
|
-
const tag = reader.uint32();
|
|
1079
|
-
switch (tag >>> 3) {
|
|
1080
|
-
case 1:
|
|
1081
|
-
if (tag !== 8) {
|
|
1082
|
-
break;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
message.success = reader.bool();
|
|
1086
|
-
continue;
|
|
1087
|
-
}
|
|
1088
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1089
|
-
break;
|
|
1090
|
-
}
|
|
1091
|
-
reader.skipType(tag & 7);
|
|
1092
|
-
}
|
|
1093
|
-
return message;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
export function fromJSON(object: any): WalkPlayerToResponse {
|
|
1097
|
-
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
export function toJSON(message: WalkPlayerToResponse): unknown {
|
|
1101
|
-
const obj: any = {};
|
|
1102
|
-
message.success !== undefined && (obj.success = message.success);
|
|
1103
|
-
return obj;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
export function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse {
|
|
1107
|
-
return WalkPlayerToResponse.fromPartial(base ?? {});
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse {
|
|
1111
|
-
const message = createBaseWalkPlayerToResponse();
|
|
1112
|
-
message.success = object.success ?? false;
|
|
1113
|
-
return message;
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
948
|
function createBaseTeleportToResponse(): TeleportToResponse {
|
|
1118
949
|
return {};
|
|
1119
950
|
}
|
|
@@ -1158,206 +989,6 @@ export namespace TeleportToResponse {
|
|
|
1158
989
|
}
|
|
1159
990
|
}
|
|
1160
991
|
|
|
1161
|
-
function createBaseSetUiFocusRequest(): SetUiFocusRequest {
|
|
1162
|
-
return { elementId: "" };
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
export namespace SetUiFocusRequest {
|
|
1166
|
-
export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1167
|
-
if (message.elementId !== "") {
|
|
1168
|
-
writer.uint32(10).string(message.elementId);
|
|
1169
|
-
}
|
|
1170
|
-
return writer;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
|
|
1174
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1175
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1176
|
-
const message = createBaseSetUiFocusRequest();
|
|
1177
|
-
while (reader.pos < end) {
|
|
1178
|
-
const tag = reader.uint32();
|
|
1179
|
-
switch (tag >>> 3) {
|
|
1180
|
-
case 1:
|
|
1181
|
-
if (tag !== 10) {
|
|
1182
|
-
break;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
message.elementId = reader.string();
|
|
1186
|
-
continue;
|
|
1187
|
-
}
|
|
1188
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1189
|
-
break;
|
|
1190
|
-
}
|
|
1191
|
-
reader.skipType(tag & 7);
|
|
1192
|
-
}
|
|
1193
|
-
return message;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
export function fromJSON(object: any): SetUiFocusRequest {
|
|
1197
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
export function toJSON(message: SetUiFocusRequest): unknown {
|
|
1201
|
-
const obj: any = {};
|
|
1202
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1203
|
-
return obj;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
|
|
1207
|
-
return SetUiFocusRequest.fromPartial(base ?? {});
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
|
|
1211
|
-
const message = createBaseSetUiFocusRequest();
|
|
1212
|
-
message.elementId = object.elementId ?? "";
|
|
1213
|
-
return message;
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
|
|
1218
|
-
return {};
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
export namespace ClearUiFocusRequest {
|
|
1222
|
-
export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1223
|
-
return writer;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
|
|
1227
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1228
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1229
|
-
const message = createBaseClearUiFocusRequest();
|
|
1230
|
-
while (reader.pos < end) {
|
|
1231
|
-
const tag = reader.uint32();
|
|
1232
|
-
switch (tag >>> 3) {
|
|
1233
|
-
}
|
|
1234
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1235
|
-
break;
|
|
1236
|
-
}
|
|
1237
|
-
reader.skipType(tag & 7);
|
|
1238
|
-
}
|
|
1239
|
-
return message;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
export function fromJSON(_: any): ClearUiFocusRequest {
|
|
1243
|
-
return {};
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
export function toJSON(_: ClearUiFocusRequest): unknown {
|
|
1247
|
-
const obj: any = {};
|
|
1248
|
-
return obj;
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
|
|
1252
|
-
return ClearUiFocusRequest.fromPartial(base ?? {});
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
|
|
1256
|
-
const message = createBaseClearUiFocusRequest();
|
|
1257
|
-
return message;
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
function createBaseGetUiFocusRequest(): GetUiFocusRequest {
|
|
1262
|
-
return {};
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
export namespace GetUiFocusRequest {
|
|
1266
|
-
export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1267
|
-
return writer;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
|
|
1271
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1272
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1273
|
-
const message = createBaseGetUiFocusRequest();
|
|
1274
|
-
while (reader.pos < end) {
|
|
1275
|
-
const tag = reader.uint32();
|
|
1276
|
-
switch (tag >>> 3) {
|
|
1277
|
-
}
|
|
1278
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1279
|
-
break;
|
|
1280
|
-
}
|
|
1281
|
-
reader.skipType(tag & 7);
|
|
1282
|
-
}
|
|
1283
|
-
return message;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
export function fromJSON(_: any): GetUiFocusRequest {
|
|
1287
|
-
return {};
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
export function toJSON(_: GetUiFocusRequest): unknown {
|
|
1291
|
-
const obj: any = {};
|
|
1292
|
-
return obj;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
|
|
1296
|
-
return GetUiFocusRequest.fromPartial(base ?? {});
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
|
|
1300
|
-
const message = createBaseGetUiFocusRequest();
|
|
1301
|
-
return message;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
function createBaseUiFocusResponse(): UiFocusResponse {
|
|
1306
|
-
return { elementId: undefined };
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
export namespace UiFocusResponse {
|
|
1310
|
-
export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1311
|
-
if (message.elementId !== undefined) {
|
|
1312
|
-
writer.uint32(10).string(message.elementId);
|
|
1313
|
-
}
|
|
1314
|
-
return writer;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
|
|
1318
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1319
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1320
|
-
const message = createBaseUiFocusResponse();
|
|
1321
|
-
while (reader.pos < end) {
|
|
1322
|
-
const tag = reader.uint32();
|
|
1323
|
-
switch (tag >>> 3) {
|
|
1324
|
-
case 1:
|
|
1325
|
-
if (tag !== 10) {
|
|
1326
|
-
break;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
message.elementId = reader.string();
|
|
1330
|
-
continue;
|
|
1331
|
-
}
|
|
1332
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1333
|
-
break;
|
|
1334
|
-
}
|
|
1335
|
-
reader.skipType(tag & 7);
|
|
1336
|
-
}
|
|
1337
|
-
return message;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
export function fromJSON(object: any): UiFocusResponse {
|
|
1341
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
export function toJSON(message: UiFocusResponse): unknown {
|
|
1345
|
-
const obj: any = {};
|
|
1346
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1347
|
-
return obj;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
|
|
1351
|
-
return UiFocusResponse.fromPartial(base ?? {});
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
|
|
1355
|
-
const message = createBaseUiFocusResponse();
|
|
1356
|
-
message.elementId = object.elementId ?? undefined;
|
|
1357
|
-
return message;
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
992
|
function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
|
|
1362
993
|
return { text: "" };
|
|
1363
994
|
}
|
|
@@ -1751,21 +1382,7 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1751
1382
|
responseStream: false,
|
|
1752
1383
|
options: {},
|
|
1753
1384
|
},
|
|
1754
|
-
/**
|
|
1755
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1756
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1757
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1758
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1759
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1760
|
-
*/
|
|
1761
|
-
walkPlayerTo: {
|
|
1762
|
-
name: "WalkPlayerTo",
|
|
1763
|
-
requestType: WalkPlayerToRequest,
|
|
1764
|
-
requestStream: false,
|
|
1765
|
-
responseType: WalkPlayerToResponse,
|
|
1766
|
-
responseStream: false,
|
|
1767
|
-
options: {},
|
|
1768
|
-
},
|
|
1385
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1769
1386
|
teleportTo: {
|
|
1770
1387
|
name: "TeleportTo",
|
|
1771
1388
|
requestType: TeleportToRequest,
|
|
@@ -1834,36 +1451,7 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1834
1451
|
responseStream: false,
|
|
1835
1452
|
options: {},
|
|
1836
1453
|
},
|
|
1837
|
-
/**
|
|
1838
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1839
|
-
* Sets the focus to a specific UI element
|
|
1840
|
-
*/
|
|
1841
|
-
setUiFocus: {
|
|
1842
|
-
name: "SetUiFocus",
|
|
1843
|
-
requestType: SetUiFocusRequest,
|
|
1844
|
-
requestStream: false,
|
|
1845
|
-
responseType: UiFocusResponse,
|
|
1846
|
-
responseStream: false,
|
|
1847
|
-
options: {},
|
|
1848
|
-
},
|
|
1849
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1850
|
-
clearUiFocus: {
|
|
1851
|
-
name: "ClearUiFocus",
|
|
1852
|
-
requestType: ClearUiFocusRequest,
|
|
1853
|
-
requestStream: false,
|
|
1854
|
-
responseType: UiFocusResponse,
|
|
1855
|
-
responseStream: false,
|
|
1856
|
-
options: {},
|
|
1857
|
-
},
|
|
1858
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1859
|
-
getUiFocus: {
|
|
1860
|
-
name: "GetUiFocus",
|
|
1861
|
-
requestType: GetUiFocusRequest,
|
|
1862
|
-
requestStream: false,
|
|
1863
|
-
responseType: UiFocusResponse,
|
|
1864
|
-
responseStream: false,
|
|
1865
|
-
options: {},
|
|
1866
|
-
},
|
|
1454
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1867
1455
|
copyToClipboard: {
|
|
1868
1456
|
name: "CopyToClipboard",
|
|
1869
1457
|
requestType: CopyToClipboardRequest,
|