@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.
Files changed (156) hide show
  1. package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
  2. package/out-js/decentraland/common/gradient.gen.js +147 -0
  3. package/out-js/decentraland/common/gradient.gen.js.map +1 -0
  4. package/out-js/decentraland/common/texture.gen.d.ts +0 -18
  5. package/out-js/decentraland/common/texture.gen.js +4 -104
  6. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +2 -113
  8. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +3 -387
  9. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  10. package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
  11. package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
  12. package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
  13. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  14. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  15. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -2
  17. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +2 -14
  18. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +27 -14
  20. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  21. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +0 -2
  23. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +2 -14
  24. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -3
  26. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -18
  27. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
  29. package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
  30. package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
  31. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  32. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  33. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  35. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  36. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  38. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  39. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  41. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  42. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  43. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
  44. package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
  45. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  46. package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
  47. package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
  48. package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
  49. package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
  50. package/out-js/decentraland/sdk/components/{global_light.gen.js → sun.gen.js} +48 -37
  51. package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
  52. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -4
  53. package/out-js/decentraland/sdk/components/ui_input.gen.js +2 -28
  54. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  55. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  56. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  57. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  58. package/out-ts/decentraland/common/gradient.gen.ts +170 -0
  59. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  60. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +2 -414
  61. package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
  62. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  63. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -16
  64. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +28 -35
  65. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +1 -16
  66. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
  67. package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
  68. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  69. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  70. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  71. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  72. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  73. package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
  74. package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
  75. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +0 -36
  76. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  77. package/package.json +2 -2
  78. package/proto/decentraland/common/gradient.proto +16 -0
  79. package/proto/decentraland/common/texture.proto +1 -8
  80. package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -38
  81. package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
  82. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  83. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -1
  84. package/proto/decentraland/sdk/components/avatar_shape.proto +32 -18
  85. package/proto/decentraland/sdk/components/camera_mode_area.proto +0 -1
  86. package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
  87. package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
  88. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  89. package/proto/decentraland/sdk/components/material.proto +1 -13
  90. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  91. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  92. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  93. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  94. package/proto/decentraland/sdk/components/skybox.proto +51 -0
  95. package/proto/decentraland/sdk/components/sun.proto +26 -0
  96. package/proto/decentraland/sdk/components/ui_input.proto +0 -2
  97. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  98. package/public/sdk-apis.proto +1 -0
  99. package/public/sdk-components.proto +3 -10
  100. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -51
  101. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -177
  102. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  103. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -71
  104. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -303
  105. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  106. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -79
  107. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -357
  108. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  109. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +0 -46
  110. package/out-js/decentraland/sdk/components/camera_layer.gen.js +0 -162
  111. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +0 -1
  112. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +0 -30
  113. package/out-js/decentraland/sdk/components/camera_layers.gen.js +0 -80
  114. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +0 -1
  115. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +0 -50
  116. package/out-js/decentraland/sdk/components/global_light.gen.js.map +0 -1
  117. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  118. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  119. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  120. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  121. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  122. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  123. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  124. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  125. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  126. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +0 -86
  127. package/out-js/decentraland/sdk/components/texture_camera.gen.js +0 -296
  128. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +0 -1
  129. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +0 -35
  130. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +0 -98
  131. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +0 -1
  132. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +0 -31
  133. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +0 -71
  134. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +0 -1
  135. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -237
  136. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -372
  137. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -432
  138. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +0 -202
  139. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +0 -92
  140. package/out-ts/decentraland/sdk/components/global_light.gen.ts +0 -138
  141. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  142. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  143. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  144. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +0 -362
  145. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +0 -115
  146. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +0 -83
  147. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -62
  148. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -36
  149. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  150. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  151. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  152. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  153. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  154. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  155. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  156. 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,