@dcl/protocol 1.0.0-25007945013.commit-ba53eb0 → 1.0.0-25333834804.commit-afef740

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 (125) hide show
  1. package/out-js/decentraland/common/texture.gen.d.ts +0 -18
  2. package/out-js/decentraland/common/texture.gen.js +4 -104
  3. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  4. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +130 -0
  5. package/out-js/decentraland/kernel/apis/comms_api.gen.js +536 -1
  6. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -109
  8. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
  9. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  10. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +52 -0
  11. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +339 -5
  12. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  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 -41
  17. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  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 +0 -2
  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 +1 -35
  23. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  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 -4
  26. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -24
  27. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  29. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  30. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  32. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  33. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  35. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  36. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  38. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  39. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
  41. package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
  42. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  43. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -2
  44. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -14
  45. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  46. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  47. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  48. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  49. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  50. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  51. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  52. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  53. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +589 -0
  54. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -410
  55. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +376 -0
  56. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  57. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  58. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  59. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  60. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -24
  61. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  62. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  63. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  64. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  65. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  66. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -19
  67. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  68. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  69. package/package.json +3 -6
  70. package/proto/decentraland/common/texture.proto +1 -8
  71. package/proto/decentraland/kernel/apis/comms_api.proto +37 -1
  72. package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
  73. package/proto/decentraland/kernel/comms/rfc4/comms.proto +25 -0
  74. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  75. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  76. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  77. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  78. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  79. package/proto/decentraland/sdk/components/common/input_action.proto +0 -4
  80. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  81. package/proto/decentraland/sdk/components/material.proto +1 -13
  82. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  83. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  84. package/proto/decentraland/sdk/components/particle_system.proto +5 -1
  85. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  86. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  87. package/proto/decentraland/sdk/components/ui_input.proto +0 -1
  88. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  89. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  90. package/public/sdk-components.proto +0 -4
  91. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
  92. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
  93. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  94. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
  95. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
  96. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  97. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
  98. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
  99. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  100. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  101. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  102. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  103. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  104. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  105. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  106. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  107. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  108. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  109. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
  110. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
  111. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
  112. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  113. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  114. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  115. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
  116. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
  117. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
  118. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  119. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  120. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  121. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  122. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  123. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  124. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  125. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -58,35 +58,9 @@ export interface MovePlayerToResponse {
58
58
  success: boolean;
59
59
  }
60
60
 
61
- export interface WalkPlayerToRequest {
62
- newRelativePosition: Vector3 | undefined;
63
- stopThreshold: number;
64
- /** max seconds before the request is failed; not passed to the movement scene */
65
- timeout?: number | undefined;
66
- }
67
-
68
- export interface WalkPlayerToResponse {
69
- success: boolean;
70
- }
71
-
72
61
  export interface TeleportToResponse {
73
62
  }
74
63
 
75
- export interface SetUiFocusRequest {
76
- elementId: string;
77
- }
78
-
79
- export interface ClearUiFocusRequest {
80
- }
81
-
82
- export interface GetUiFocusRequest {
83
- }
84
-
85
- export interface UiFocusResponse {
86
- /** the element that is/was focussed */
87
- elementId?: string | undefined;
88
- }
89
-
90
64
  export interface CopyToClipboardRequest {
91
65
  text: string;
92
66
  }
@@ -831,149 +805,6 @@ export namespace MovePlayerToResponse {
831
805
  }
832
806
  }
833
807
 
834
- function createBaseWalkPlayerToRequest(): WalkPlayerToRequest {
835
- return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
836
- }
837
-
838
- export namespace WalkPlayerToRequest {
839
- export function encode(message: WalkPlayerToRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
840
- if (message.newRelativePosition !== undefined) {
841
- Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
842
- }
843
- if (message.stopThreshold !== 0) {
844
- writer.uint32(21).float(message.stopThreshold);
845
- }
846
- if (message.timeout !== undefined) {
847
- writer.uint32(29).float(message.timeout);
848
- }
849
- return writer;
850
- }
851
-
852
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToRequest {
853
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
854
- let end = length === undefined ? reader.len : reader.pos + length;
855
- const message = createBaseWalkPlayerToRequest();
856
- while (reader.pos < end) {
857
- const tag = reader.uint32();
858
- switch (tag >>> 3) {
859
- case 1:
860
- if (tag !== 10) {
861
- break;
862
- }
863
-
864
- message.newRelativePosition = Vector3.decode(reader, reader.uint32());
865
- continue;
866
- case 2:
867
- if (tag !== 21) {
868
- break;
869
- }
870
-
871
- message.stopThreshold = reader.float();
872
- continue;
873
- case 3:
874
- if (tag !== 29) {
875
- break;
876
- }
877
-
878
- message.timeout = reader.float();
879
- continue;
880
- }
881
- if ((tag & 7) === 4 || tag === 0) {
882
- break;
883
- }
884
- reader.skipType(tag & 7);
885
- }
886
- return message;
887
- }
888
-
889
- export function fromJSON(object: any): WalkPlayerToRequest {
890
- return {
891
- newRelativePosition: isSet(object.newRelativePosition) ? Vector3.fromJSON(object.newRelativePosition) : undefined,
892
- stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
893
- timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
894
- };
895
- }
896
-
897
- export function toJSON(message: WalkPlayerToRequest): unknown {
898
- const obj: any = {};
899
- message.newRelativePosition !== undefined &&
900
- (obj.newRelativePosition = message.newRelativePosition ? Vector3.toJSON(message.newRelativePosition) : undefined);
901
- message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
902
- message.timeout !== undefined && (obj.timeout = message.timeout);
903
- return obj;
904
- }
905
-
906
- export function create<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(base?: I): WalkPlayerToRequest {
907
- return WalkPlayerToRequest.fromPartial(base ?? {});
908
- }
909
-
910
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToRequest>, I>>(object: I): WalkPlayerToRequest {
911
- const message = createBaseWalkPlayerToRequest();
912
- message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
913
- ? Vector3.fromPartial(object.newRelativePosition)
914
- : undefined;
915
- message.stopThreshold = object.stopThreshold ?? 0;
916
- message.timeout = object.timeout ?? undefined;
917
- return message;
918
- }
919
- }
920
-
921
- function createBaseWalkPlayerToResponse(): WalkPlayerToResponse {
922
- return { success: false };
923
- }
924
-
925
- export namespace WalkPlayerToResponse {
926
- export function encode(message: WalkPlayerToResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
927
- if (message.success === true) {
928
- writer.uint32(8).bool(message.success);
929
- }
930
- return writer;
931
- }
932
-
933
- export function decode(input: _m0.Reader | Uint8Array, length?: number): WalkPlayerToResponse {
934
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
935
- let end = length === undefined ? reader.len : reader.pos + length;
936
- const message = createBaseWalkPlayerToResponse();
937
- while (reader.pos < end) {
938
- const tag = reader.uint32();
939
- switch (tag >>> 3) {
940
- case 1:
941
- if (tag !== 8) {
942
- break;
943
- }
944
-
945
- message.success = reader.bool();
946
- continue;
947
- }
948
- if ((tag & 7) === 4 || tag === 0) {
949
- break;
950
- }
951
- reader.skipType(tag & 7);
952
- }
953
- return message;
954
- }
955
-
956
- export function fromJSON(object: any): WalkPlayerToResponse {
957
- return { success: isSet(object.success) ? Boolean(object.success) : false };
958
- }
959
-
960
- export function toJSON(message: WalkPlayerToResponse): unknown {
961
- const obj: any = {};
962
- message.success !== undefined && (obj.success = message.success);
963
- return obj;
964
- }
965
-
966
- export function create<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(base?: I): WalkPlayerToResponse {
967
- return WalkPlayerToResponse.fromPartial(base ?? {});
968
- }
969
-
970
- export function fromPartial<I extends Exact<DeepPartial<WalkPlayerToResponse>, I>>(object: I): WalkPlayerToResponse {
971
- const message = createBaseWalkPlayerToResponse();
972
- message.success = object.success ?? false;
973
- return message;
974
- }
975
- }
976
-
977
808
  function createBaseTeleportToResponse(): TeleportToResponse {
978
809
  return {};
979
810
  }
@@ -1018,206 +849,6 @@ export namespace TeleportToResponse {
1018
849
  }
1019
850
  }
1020
851
 
1021
- function createBaseSetUiFocusRequest(): SetUiFocusRequest {
1022
- return { elementId: "" };
1023
- }
1024
-
1025
- export namespace SetUiFocusRequest {
1026
- export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1027
- if (message.elementId !== "") {
1028
- writer.uint32(10).string(message.elementId);
1029
- }
1030
- return writer;
1031
- }
1032
-
1033
- export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
1034
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1035
- let end = length === undefined ? reader.len : reader.pos + length;
1036
- const message = createBaseSetUiFocusRequest();
1037
- while (reader.pos < end) {
1038
- const tag = reader.uint32();
1039
- switch (tag >>> 3) {
1040
- case 1:
1041
- if (tag !== 10) {
1042
- break;
1043
- }
1044
-
1045
- message.elementId = reader.string();
1046
- continue;
1047
- }
1048
- if ((tag & 7) === 4 || tag === 0) {
1049
- break;
1050
- }
1051
- reader.skipType(tag & 7);
1052
- }
1053
- return message;
1054
- }
1055
-
1056
- export function fromJSON(object: any): SetUiFocusRequest {
1057
- return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
1058
- }
1059
-
1060
- export function toJSON(message: SetUiFocusRequest): unknown {
1061
- const obj: any = {};
1062
- message.elementId !== undefined && (obj.elementId = message.elementId);
1063
- return obj;
1064
- }
1065
-
1066
- export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
1067
- return SetUiFocusRequest.fromPartial(base ?? {});
1068
- }
1069
-
1070
- export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
1071
- const message = createBaseSetUiFocusRequest();
1072
- message.elementId = object.elementId ?? "";
1073
- return message;
1074
- }
1075
- }
1076
-
1077
- function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
1078
- return {};
1079
- }
1080
-
1081
- export namespace ClearUiFocusRequest {
1082
- export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1083
- return writer;
1084
- }
1085
-
1086
- export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
1087
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1088
- let end = length === undefined ? reader.len : reader.pos + length;
1089
- const message = createBaseClearUiFocusRequest();
1090
- while (reader.pos < end) {
1091
- const tag = reader.uint32();
1092
- switch (tag >>> 3) {
1093
- }
1094
- if ((tag & 7) === 4 || tag === 0) {
1095
- break;
1096
- }
1097
- reader.skipType(tag & 7);
1098
- }
1099
- return message;
1100
- }
1101
-
1102
- export function fromJSON(_: any): ClearUiFocusRequest {
1103
- return {};
1104
- }
1105
-
1106
- export function toJSON(_: ClearUiFocusRequest): unknown {
1107
- const obj: any = {};
1108
- return obj;
1109
- }
1110
-
1111
- export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
1112
- return ClearUiFocusRequest.fromPartial(base ?? {});
1113
- }
1114
-
1115
- export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
1116
- const message = createBaseClearUiFocusRequest();
1117
- return message;
1118
- }
1119
- }
1120
-
1121
- function createBaseGetUiFocusRequest(): GetUiFocusRequest {
1122
- return {};
1123
- }
1124
-
1125
- export namespace GetUiFocusRequest {
1126
- export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1127
- return writer;
1128
- }
1129
-
1130
- export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
1131
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1132
- let end = length === undefined ? reader.len : reader.pos + length;
1133
- const message = createBaseGetUiFocusRequest();
1134
- while (reader.pos < end) {
1135
- const tag = reader.uint32();
1136
- switch (tag >>> 3) {
1137
- }
1138
- if ((tag & 7) === 4 || tag === 0) {
1139
- break;
1140
- }
1141
- reader.skipType(tag & 7);
1142
- }
1143
- return message;
1144
- }
1145
-
1146
- export function fromJSON(_: any): GetUiFocusRequest {
1147
- return {};
1148
- }
1149
-
1150
- export function toJSON(_: GetUiFocusRequest): unknown {
1151
- const obj: any = {};
1152
- return obj;
1153
- }
1154
-
1155
- export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
1156
- return GetUiFocusRequest.fromPartial(base ?? {});
1157
- }
1158
-
1159
- export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
1160
- const message = createBaseGetUiFocusRequest();
1161
- return message;
1162
- }
1163
- }
1164
-
1165
- function createBaseUiFocusResponse(): UiFocusResponse {
1166
- return { elementId: undefined };
1167
- }
1168
-
1169
- export namespace UiFocusResponse {
1170
- export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1171
- if (message.elementId !== undefined) {
1172
- writer.uint32(10).string(message.elementId);
1173
- }
1174
- return writer;
1175
- }
1176
-
1177
- export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
1178
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1179
- let end = length === undefined ? reader.len : reader.pos + length;
1180
- const message = createBaseUiFocusResponse();
1181
- while (reader.pos < end) {
1182
- const tag = reader.uint32();
1183
- switch (tag >>> 3) {
1184
- case 1:
1185
- if (tag !== 10) {
1186
- break;
1187
- }
1188
-
1189
- message.elementId = reader.string();
1190
- continue;
1191
- }
1192
- if ((tag & 7) === 4 || tag === 0) {
1193
- break;
1194
- }
1195
- reader.skipType(tag & 7);
1196
- }
1197
- return message;
1198
- }
1199
-
1200
- export function fromJSON(object: any): UiFocusResponse {
1201
- return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
1202
- }
1203
-
1204
- export function toJSON(message: UiFocusResponse): unknown {
1205
- const obj: any = {};
1206
- message.elementId !== undefined && (obj.elementId = message.elementId);
1207
- return obj;
1208
- }
1209
-
1210
- export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
1211
- return UiFocusResponse.fromPartial(base ?? {});
1212
- }
1213
-
1214
- export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
1215
- const message = createBaseUiFocusResponse();
1216
- message.elementId = object.elementId ?? undefined;
1217
- return message;
1218
- }
1219
- }
1220
-
1221
852
  function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
1222
853
  return { text: "" };
1223
854
  }
@@ -1338,20 +969,6 @@ export const RestrictedActionsServiceDefinition = {
1338
969
  responseStream: false,
1339
970
  options: {},
1340
971
  },
1341
- /**
1342
- * WalkPlayerTo will walk the player to a position relative to the current scene,
1343
- * managed by the movement controller scene. Returns success when the player reaches
1344
- * within stop_threshold distance, or false if the path is blocked, the player gets
1345
- * stuck, the player interrupts the walk with manual input, or the optional timeout expires.
1346
- */
1347
- walkPlayerTo: {
1348
- name: "WalkPlayerTo",
1349
- requestType: WalkPlayerToRequest,
1350
- requestStream: false,
1351
- responseType: WalkPlayerToResponse,
1352
- responseStream: false,
1353
- options: {},
1354
- },
1355
972
  /** TeleportTo will move the user to the specified world LAND parcel coordinates */
1356
973
  teleportTo: {
1357
974
  name: "TeleportTo",
@@ -1418,33 +1035,6 @@ export const RestrictedActionsServiceDefinition = {
1418
1035
  responseStream: false,
1419
1036
  options: {},
1420
1037
  },
1421
- /** Sets the focus to a specific UI element */
1422
- setUiFocus: {
1423
- name: "SetUiFocus",
1424
- requestType: SetUiFocusRequest,
1425
- requestStream: false,
1426
- responseType: UiFocusResponse,
1427
- responseStream: false,
1428
- options: {},
1429
- },
1430
- /** Clears the focus from any currently focused textentry or dropdown */
1431
- clearUiFocus: {
1432
- name: "ClearUiFocus",
1433
- requestType: SetUiFocusRequest,
1434
- requestStream: false,
1435
- responseType: UiFocusResponse,
1436
- responseStream: false,
1437
- options: {},
1438
- },
1439
- /** Returns the element_id of any currently focused textentry or dropdown */
1440
- getUiFocus: {
1441
- name: "GetUiFocus",
1442
- requestType: GetUiFocusRequest,
1443
- requestStream: false,
1444
- responseType: UiFocusResponse,
1445
- responseStream: false,
1446
- options: {},
1447
- },
1448
1038
  /** CopyToClipboard copies the provided text into the clipboard */
1449
1039
  copyToClipboard: {
1450
1040
  name: "CopyToClipboard",