@dcl/protocol 1.0.0-33676972450.commit-882d4ee → 1.0.0-33861349213.commit-76445a6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out-js/decentraland/common/texture.gen.d.ts +0 -18
- package/out-js/decentraland/common/texture.gen.js +4 -104
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +4 -125
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +6 -408
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +2 -14
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +2 -14
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -3
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -18
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
- package/out-js/decentraland/sdk/components/material.gen.js +2 -86
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +16 -11
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +14 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
- package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -27
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-ts/decentraland/common/texture.gen.ts +4 -119
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +6 -445
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -16
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +1 -16
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
- package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +33 -12
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -37
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/package.json +2 -2
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -45
- package/proto/decentraland/pulse/pulse_client.proto +27 -8
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -1
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +0 -1
- package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/material.proto +1 -13
- package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
- package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
- package/proto/decentraland/sdk/components/pointer_events.proto +15 -11
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
- package/proto/decentraland/sdk/components/raycast.proto +0 -13
- package/proto/decentraland/sdk/components/ui_input.proto +0 -2
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/public/sdk-components.proto +1 -10
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -51
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -177
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -71
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -303
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -79
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -357
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +0 -46
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +0 -162
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +0 -30
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +0 -80
- package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +0 -50
- package/out-js/decentraland/sdk/components/global_light.gen.js +0 -103
- package/out-js/decentraland/sdk/components/global_light.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +0 -86
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +0 -296
- package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +0 -35
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +0 -98
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +0 -1
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +0 -31
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +0 -71
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +0 -1
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -237
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -372
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -432
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +0 -202
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +0 -92
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +0 -138
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +0 -362
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +0 -115
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +0 -83
- package/proto/decentraland/sdk/components/avatar_movement.proto +0 -62
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -36
- package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
- package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
- package/proto/decentraland/sdk/components/global_light.proto +0 -22
- package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
- package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
- package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
- package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.RestrictedActionsServiceDefinition = exports.OpenExplorerUiResponse = exports.OpenExplorerUiRequest = exports.StopEmoteRequest = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.
|
|
6
|
+
exports.RestrictedActionsServiceDefinition = exports.OpenExplorerUiResponse = exports.OpenExplorerUiRequest = exports.StopEmoteRequest = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.TeleportToResponse = exports.MovePlayerToResponse = exports.TriggerEmoteResponse = exports.SuccessResponse = exports.TriggerSceneEmoteRequest = exports.CommsAdapterRequest = exports.UnblockPointerRequest = exports.OpenNftDialogRequest = exports.OpenExternalUrlRequest = exports.ChangeRealmRequest = exports.TriggerEmoteRequest = exports.TeleportToRequest = exports.MovePlayerToRequest = exports.OpenExplorerUiResult = exports.protobufPackage = void 0;
|
|
7
7
|
exports.openExplorerUiResultFromJSON = openExplorerUiResultFromJSON;
|
|
8
8
|
exports.openExplorerUiResultToJSON = openExplorerUiResultToJSON;
|
|
9
9
|
/* eslint-disable */
|
|
@@ -176,7 +176,7 @@ var MovePlayerToRequest;
|
|
|
176
176
|
MovePlayerToRequest.fromPartial = fromPartial;
|
|
177
177
|
})(MovePlayerToRequest || (exports.MovePlayerToRequest = MovePlayerToRequest = {}));
|
|
178
178
|
function createBaseTeleportToRequest() {
|
|
179
|
-
return { worldCoordinates: undefined
|
|
179
|
+
return { worldCoordinates: undefined };
|
|
180
180
|
}
|
|
181
181
|
var TeleportToRequest;
|
|
182
182
|
(function (TeleportToRequest) {
|
|
@@ -184,9 +184,6 @@ var TeleportToRequest;
|
|
|
184
184
|
if (message.worldCoordinates !== undefined) {
|
|
185
185
|
vectors_gen_1.Vector2.encode(message.worldCoordinates, writer.uint32(10).fork()).ldelim();
|
|
186
186
|
}
|
|
187
|
-
if (message.realm !== undefined) {
|
|
188
|
-
writer.uint32(18).string(message.realm);
|
|
189
|
-
}
|
|
190
187
|
return writer;
|
|
191
188
|
}
|
|
192
189
|
TeleportToRequest.encode = encode;
|
|
@@ -203,12 +200,6 @@ var TeleportToRequest;
|
|
|
203
200
|
}
|
|
204
201
|
message.worldCoordinates = vectors_gen_1.Vector2.decode(reader, reader.uint32());
|
|
205
202
|
continue;
|
|
206
|
-
case 2:
|
|
207
|
-
if (tag !== 18) {
|
|
208
|
-
break;
|
|
209
|
-
}
|
|
210
|
-
message.realm = reader.string();
|
|
211
|
-
continue;
|
|
212
203
|
}
|
|
213
204
|
if ((tag & 7) === 4 || tag === 0) {
|
|
214
205
|
break;
|
|
@@ -219,17 +210,13 @@ var TeleportToRequest;
|
|
|
219
210
|
}
|
|
220
211
|
TeleportToRequest.decode = decode;
|
|
221
212
|
function fromJSON(object) {
|
|
222
|
-
return {
|
|
223
|
-
worldCoordinates: isSet(object.worldCoordinates) ? vectors_gen_1.Vector2.fromJSON(object.worldCoordinates) : undefined,
|
|
224
|
-
realm: isSet(object.realm) ? String(object.realm) : undefined,
|
|
225
|
-
};
|
|
213
|
+
return { worldCoordinates: isSet(object.worldCoordinates) ? vectors_gen_1.Vector2.fromJSON(object.worldCoordinates) : undefined };
|
|
226
214
|
}
|
|
227
215
|
TeleportToRequest.fromJSON = fromJSON;
|
|
228
216
|
function toJSON(message) {
|
|
229
217
|
const obj = {};
|
|
230
218
|
message.worldCoordinates !== undefined &&
|
|
231
219
|
(obj.worldCoordinates = message.worldCoordinates ? vectors_gen_1.Vector2.toJSON(message.worldCoordinates) : undefined);
|
|
232
|
-
message.realm !== undefined && (obj.realm = message.realm);
|
|
233
220
|
return obj;
|
|
234
221
|
}
|
|
235
222
|
TeleportToRequest.toJSON = toJSON;
|
|
@@ -238,12 +225,10 @@ var TeleportToRequest;
|
|
|
238
225
|
}
|
|
239
226
|
TeleportToRequest.create = create;
|
|
240
227
|
function fromPartial(object) {
|
|
241
|
-
var _a;
|
|
242
228
|
const message = createBaseTeleportToRequest();
|
|
243
229
|
message.worldCoordinates = (object.worldCoordinates !== undefined && object.worldCoordinates !== null)
|
|
244
230
|
? vectors_gen_1.Vector2.fromPartial(object.worldCoordinates)
|
|
245
231
|
: undefined;
|
|
246
|
-
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : undefined;
|
|
247
232
|
return message;
|
|
248
233
|
}
|
|
249
234
|
TeleportToRequest.fromPartial = fromPartial;
|
|
@@ -838,147 +823,6 @@ var MovePlayerToResponse;
|
|
|
838
823
|
}
|
|
839
824
|
MovePlayerToResponse.fromPartial = fromPartial;
|
|
840
825
|
})(MovePlayerToResponse || (exports.MovePlayerToResponse = MovePlayerToResponse = {}));
|
|
841
|
-
function createBaseWalkPlayerToRequest() {
|
|
842
|
-
return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
|
|
843
|
-
}
|
|
844
|
-
var WalkPlayerToRequest;
|
|
845
|
-
(function (WalkPlayerToRequest) {
|
|
846
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
847
|
-
if (message.newRelativePosition !== undefined) {
|
|
848
|
-
vectors_gen_1.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
849
|
-
}
|
|
850
|
-
if (message.stopThreshold !== 0) {
|
|
851
|
-
writer.uint32(21).float(message.stopThreshold);
|
|
852
|
-
}
|
|
853
|
-
if (message.timeout !== undefined) {
|
|
854
|
-
writer.uint32(29).float(message.timeout);
|
|
855
|
-
}
|
|
856
|
-
return writer;
|
|
857
|
-
}
|
|
858
|
-
WalkPlayerToRequest.encode = encode;
|
|
859
|
-
function decode(input, length) {
|
|
860
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
861
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
862
|
-
const message = createBaseWalkPlayerToRequest();
|
|
863
|
-
while (reader.pos < end) {
|
|
864
|
-
const tag = reader.uint32();
|
|
865
|
-
switch (tag >>> 3) {
|
|
866
|
-
case 1:
|
|
867
|
-
if (tag !== 10) {
|
|
868
|
-
break;
|
|
869
|
-
}
|
|
870
|
-
message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
871
|
-
continue;
|
|
872
|
-
case 2:
|
|
873
|
-
if (tag !== 21) {
|
|
874
|
-
break;
|
|
875
|
-
}
|
|
876
|
-
message.stopThreshold = reader.float();
|
|
877
|
-
continue;
|
|
878
|
-
case 3:
|
|
879
|
-
if (tag !== 29) {
|
|
880
|
-
break;
|
|
881
|
-
}
|
|
882
|
-
message.timeout = reader.float();
|
|
883
|
-
continue;
|
|
884
|
-
}
|
|
885
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
886
|
-
break;
|
|
887
|
-
}
|
|
888
|
-
reader.skipType(tag & 7);
|
|
889
|
-
}
|
|
890
|
-
return message;
|
|
891
|
-
}
|
|
892
|
-
WalkPlayerToRequest.decode = decode;
|
|
893
|
-
function fromJSON(object) {
|
|
894
|
-
return {
|
|
895
|
-
newRelativePosition: isSet(object.newRelativePosition) ? vectors_gen_1.Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
896
|
-
stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
|
|
897
|
-
timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
|
|
898
|
-
};
|
|
899
|
-
}
|
|
900
|
-
WalkPlayerToRequest.fromJSON = fromJSON;
|
|
901
|
-
function toJSON(message) {
|
|
902
|
-
const obj = {};
|
|
903
|
-
message.newRelativePosition !== undefined &&
|
|
904
|
-
(obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
905
|
-
message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
|
|
906
|
-
message.timeout !== undefined && (obj.timeout = message.timeout);
|
|
907
|
-
return obj;
|
|
908
|
-
}
|
|
909
|
-
WalkPlayerToRequest.toJSON = toJSON;
|
|
910
|
-
function create(base) {
|
|
911
|
-
return WalkPlayerToRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
912
|
-
}
|
|
913
|
-
WalkPlayerToRequest.create = create;
|
|
914
|
-
function fromPartial(object) {
|
|
915
|
-
var _a, _b;
|
|
916
|
-
const message = createBaseWalkPlayerToRequest();
|
|
917
|
-
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
918
|
-
? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
|
|
919
|
-
: undefined;
|
|
920
|
-
message.stopThreshold = (_a = object.stopThreshold) !== null && _a !== void 0 ? _a : 0;
|
|
921
|
-
message.timeout = (_b = object.timeout) !== null && _b !== void 0 ? _b : undefined;
|
|
922
|
-
return message;
|
|
923
|
-
}
|
|
924
|
-
WalkPlayerToRequest.fromPartial = fromPartial;
|
|
925
|
-
})(WalkPlayerToRequest || (exports.WalkPlayerToRequest = WalkPlayerToRequest = {}));
|
|
926
|
-
function createBaseWalkPlayerToResponse() {
|
|
927
|
-
return { success: false };
|
|
928
|
-
}
|
|
929
|
-
var WalkPlayerToResponse;
|
|
930
|
-
(function (WalkPlayerToResponse) {
|
|
931
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
932
|
-
if (message.success === true) {
|
|
933
|
-
writer.uint32(8).bool(message.success);
|
|
934
|
-
}
|
|
935
|
-
return writer;
|
|
936
|
-
}
|
|
937
|
-
WalkPlayerToResponse.encode = encode;
|
|
938
|
-
function decode(input, length) {
|
|
939
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
940
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
941
|
-
const message = createBaseWalkPlayerToResponse();
|
|
942
|
-
while (reader.pos < end) {
|
|
943
|
-
const tag = reader.uint32();
|
|
944
|
-
switch (tag >>> 3) {
|
|
945
|
-
case 1:
|
|
946
|
-
if (tag !== 8) {
|
|
947
|
-
break;
|
|
948
|
-
}
|
|
949
|
-
message.success = reader.bool();
|
|
950
|
-
continue;
|
|
951
|
-
}
|
|
952
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
953
|
-
break;
|
|
954
|
-
}
|
|
955
|
-
reader.skipType(tag & 7);
|
|
956
|
-
}
|
|
957
|
-
return message;
|
|
958
|
-
}
|
|
959
|
-
WalkPlayerToResponse.decode = decode;
|
|
960
|
-
function fromJSON(object) {
|
|
961
|
-
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
962
|
-
}
|
|
963
|
-
WalkPlayerToResponse.fromJSON = fromJSON;
|
|
964
|
-
function toJSON(message) {
|
|
965
|
-
const obj = {};
|
|
966
|
-
message.success !== undefined && (obj.success = message.success);
|
|
967
|
-
return obj;
|
|
968
|
-
}
|
|
969
|
-
WalkPlayerToResponse.toJSON = toJSON;
|
|
970
|
-
function create(base) {
|
|
971
|
-
return WalkPlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
972
|
-
}
|
|
973
|
-
WalkPlayerToResponse.create = create;
|
|
974
|
-
function fromPartial(object) {
|
|
975
|
-
var _a;
|
|
976
|
-
const message = createBaseWalkPlayerToResponse();
|
|
977
|
-
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
978
|
-
return message;
|
|
979
|
-
}
|
|
980
|
-
WalkPlayerToResponse.fromPartial = fromPartial;
|
|
981
|
-
})(WalkPlayerToResponse || (exports.WalkPlayerToResponse = WalkPlayerToResponse = {}));
|
|
982
826
|
function createBaseTeleportToResponse() {
|
|
983
827
|
return {};
|
|
984
828
|
}
|
|
@@ -1023,206 +867,6 @@ var TeleportToResponse;
|
|
|
1023
867
|
}
|
|
1024
868
|
TeleportToResponse.fromPartial = fromPartial;
|
|
1025
869
|
})(TeleportToResponse || (exports.TeleportToResponse = TeleportToResponse = {}));
|
|
1026
|
-
function createBaseSetUiFocusRequest() {
|
|
1027
|
-
return { elementId: "" };
|
|
1028
|
-
}
|
|
1029
|
-
var SetUiFocusRequest;
|
|
1030
|
-
(function (SetUiFocusRequest) {
|
|
1031
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1032
|
-
if (message.elementId !== "") {
|
|
1033
|
-
writer.uint32(10).string(message.elementId);
|
|
1034
|
-
}
|
|
1035
|
-
return writer;
|
|
1036
|
-
}
|
|
1037
|
-
SetUiFocusRequest.encode = encode;
|
|
1038
|
-
function decode(input, length) {
|
|
1039
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1040
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1041
|
-
const message = createBaseSetUiFocusRequest();
|
|
1042
|
-
while (reader.pos < end) {
|
|
1043
|
-
const tag = reader.uint32();
|
|
1044
|
-
switch (tag >>> 3) {
|
|
1045
|
-
case 1:
|
|
1046
|
-
if (tag !== 10) {
|
|
1047
|
-
break;
|
|
1048
|
-
}
|
|
1049
|
-
message.elementId = reader.string();
|
|
1050
|
-
continue;
|
|
1051
|
-
}
|
|
1052
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1053
|
-
break;
|
|
1054
|
-
}
|
|
1055
|
-
reader.skipType(tag & 7);
|
|
1056
|
-
}
|
|
1057
|
-
return message;
|
|
1058
|
-
}
|
|
1059
|
-
SetUiFocusRequest.decode = decode;
|
|
1060
|
-
function fromJSON(object) {
|
|
1061
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
|
|
1062
|
-
}
|
|
1063
|
-
SetUiFocusRequest.fromJSON = fromJSON;
|
|
1064
|
-
function toJSON(message) {
|
|
1065
|
-
const obj = {};
|
|
1066
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1067
|
-
return obj;
|
|
1068
|
-
}
|
|
1069
|
-
SetUiFocusRequest.toJSON = toJSON;
|
|
1070
|
-
function create(base) {
|
|
1071
|
-
return SetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1072
|
-
}
|
|
1073
|
-
SetUiFocusRequest.create = create;
|
|
1074
|
-
function fromPartial(object) {
|
|
1075
|
-
var _a;
|
|
1076
|
-
const message = createBaseSetUiFocusRequest();
|
|
1077
|
-
message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : "";
|
|
1078
|
-
return message;
|
|
1079
|
-
}
|
|
1080
|
-
SetUiFocusRequest.fromPartial = fromPartial;
|
|
1081
|
-
})(SetUiFocusRequest || (exports.SetUiFocusRequest = SetUiFocusRequest = {}));
|
|
1082
|
-
function createBaseClearUiFocusRequest() {
|
|
1083
|
-
return {};
|
|
1084
|
-
}
|
|
1085
|
-
var ClearUiFocusRequest;
|
|
1086
|
-
(function (ClearUiFocusRequest) {
|
|
1087
|
-
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1088
|
-
return writer;
|
|
1089
|
-
}
|
|
1090
|
-
ClearUiFocusRequest.encode = encode;
|
|
1091
|
-
function decode(input, length) {
|
|
1092
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1093
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1094
|
-
const message = createBaseClearUiFocusRequest();
|
|
1095
|
-
while (reader.pos < end) {
|
|
1096
|
-
const tag = reader.uint32();
|
|
1097
|
-
switch (tag >>> 3) {
|
|
1098
|
-
}
|
|
1099
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1100
|
-
break;
|
|
1101
|
-
}
|
|
1102
|
-
reader.skipType(tag & 7);
|
|
1103
|
-
}
|
|
1104
|
-
return message;
|
|
1105
|
-
}
|
|
1106
|
-
ClearUiFocusRequest.decode = decode;
|
|
1107
|
-
function fromJSON(_) {
|
|
1108
|
-
return {};
|
|
1109
|
-
}
|
|
1110
|
-
ClearUiFocusRequest.fromJSON = fromJSON;
|
|
1111
|
-
function toJSON(_) {
|
|
1112
|
-
const obj = {};
|
|
1113
|
-
return obj;
|
|
1114
|
-
}
|
|
1115
|
-
ClearUiFocusRequest.toJSON = toJSON;
|
|
1116
|
-
function create(base) {
|
|
1117
|
-
return ClearUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1118
|
-
}
|
|
1119
|
-
ClearUiFocusRequest.create = create;
|
|
1120
|
-
function fromPartial(_) {
|
|
1121
|
-
const message = createBaseClearUiFocusRequest();
|
|
1122
|
-
return message;
|
|
1123
|
-
}
|
|
1124
|
-
ClearUiFocusRequest.fromPartial = fromPartial;
|
|
1125
|
-
})(ClearUiFocusRequest || (exports.ClearUiFocusRequest = ClearUiFocusRequest = {}));
|
|
1126
|
-
function createBaseGetUiFocusRequest() {
|
|
1127
|
-
return {};
|
|
1128
|
-
}
|
|
1129
|
-
var GetUiFocusRequest;
|
|
1130
|
-
(function (GetUiFocusRequest) {
|
|
1131
|
-
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1132
|
-
return writer;
|
|
1133
|
-
}
|
|
1134
|
-
GetUiFocusRequest.encode = encode;
|
|
1135
|
-
function decode(input, length) {
|
|
1136
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1137
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1138
|
-
const message = createBaseGetUiFocusRequest();
|
|
1139
|
-
while (reader.pos < end) {
|
|
1140
|
-
const tag = reader.uint32();
|
|
1141
|
-
switch (tag >>> 3) {
|
|
1142
|
-
}
|
|
1143
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1144
|
-
break;
|
|
1145
|
-
}
|
|
1146
|
-
reader.skipType(tag & 7);
|
|
1147
|
-
}
|
|
1148
|
-
return message;
|
|
1149
|
-
}
|
|
1150
|
-
GetUiFocusRequest.decode = decode;
|
|
1151
|
-
function fromJSON(_) {
|
|
1152
|
-
return {};
|
|
1153
|
-
}
|
|
1154
|
-
GetUiFocusRequest.fromJSON = fromJSON;
|
|
1155
|
-
function toJSON(_) {
|
|
1156
|
-
const obj = {};
|
|
1157
|
-
return obj;
|
|
1158
|
-
}
|
|
1159
|
-
GetUiFocusRequest.toJSON = toJSON;
|
|
1160
|
-
function create(base) {
|
|
1161
|
-
return GetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1162
|
-
}
|
|
1163
|
-
GetUiFocusRequest.create = create;
|
|
1164
|
-
function fromPartial(_) {
|
|
1165
|
-
const message = createBaseGetUiFocusRequest();
|
|
1166
|
-
return message;
|
|
1167
|
-
}
|
|
1168
|
-
GetUiFocusRequest.fromPartial = fromPartial;
|
|
1169
|
-
})(GetUiFocusRequest || (exports.GetUiFocusRequest = GetUiFocusRequest = {}));
|
|
1170
|
-
function createBaseUiFocusResponse() {
|
|
1171
|
-
return { elementId: undefined };
|
|
1172
|
-
}
|
|
1173
|
-
var UiFocusResponse;
|
|
1174
|
-
(function (UiFocusResponse) {
|
|
1175
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1176
|
-
if (message.elementId !== undefined) {
|
|
1177
|
-
writer.uint32(10).string(message.elementId);
|
|
1178
|
-
}
|
|
1179
|
-
return writer;
|
|
1180
|
-
}
|
|
1181
|
-
UiFocusResponse.encode = encode;
|
|
1182
|
-
function decode(input, length) {
|
|
1183
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1184
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1185
|
-
const message = createBaseUiFocusResponse();
|
|
1186
|
-
while (reader.pos < end) {
|
|
1187
|
-
const tag = reader.uint32();
|
|
1188
|
-
switch (tag >>> 3) {
|
|
1189
|
-
case 1:
|
|
1190
|
-
if (tag !== 10) {
|
|
1191
|
-
break;
|
|
1192
|
-
}
|
|
1193
|
-
message.elementId = reader.string();
|
|
1194
|
-
continue;
|
|
1195
|
-
}
|
|
1196
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1197
|
-
break;
|
|
1198
|
-
}
|
|
1199
|
-
reader.skipType(tag & 7);
|
|
1200
|
-
}
|
|
1201
|
-
return message;
|
|
1202
|
-
}
|
|
1203
|
-
UiFocusResponse.decode = decode;
|
|
1204
|
-
function fromJSON(object) {
|
|
1205
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
|
|
1206
|
-
}
|
|
1207
|
-
UiFocusResponse.fromJSON = fromJSON;
|
|
1208
|
-
function toJSON(message) {
|
|
1209
|
-
const obj = {};
|
|
1210
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1211
|
-
return obj;
|
|
1212
|
-
}
|
|
1213
|
-
UiFocusResponse.toJSON = toJSON;
|
|
1214
|
-
function create(base) {
|
|
1215
|
-
return UiFocusResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1216
|
-
}
|
|
1217
|
-
UiFocusResponse.create = create;
|
|
1218
|
-
function fromPartial(object) {
|
|
1219
|
-
var _a;
|
|
1220
|
-
const message = createBaseUiFocusResponse();
|
|
1221
|
-
message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : undefined;
|
|
1222
|
-
return message;
|
|
1223
|
-
}
|
|
1224
|
-
UiFocusResponse.fromPartial = fromPartial;
|
|
1225
|
-
})(UiFocusResponse || (exports.UiFocusResponse = UiFocusResponse = {}));
|
|
1226
870
|
function createBaseCopyToClipboardRequest() {
|
|
1227
871
|
return { text: "" };
|
|
1228
872
|
}
|
|
@@ -1496,21 +1140,7 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
1496
1140
|
responseStream: false,
|
|
1497
1141
|
options: {},
|
|
1498
1142
|
},
|
|
1499
|
-
/**
|
|
1500
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1501
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1502
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1503
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1504
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1505
|
-
*/
|
|
1506
|
-
walkPlayerTo: {
|
|
1507
|
-
name: "WalkPlayerTo",
|
|
1508
|
-
requestType: WalkPlayerToRequest,
|
|
1509
|
-
requestStream: false,
|
|
1510
|
-
responseType: WalkPlayerToResponse,
|
|
1511
|
-
responseStream: false,
|
|
1512
|
-
options: {},
|
|
1513
|
-
},
|
|
1143
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1514
1144
|
teleportTo: {
|
|
1515
1145
|
name: "TeleportTo",
|
|
1516
1146
|
requestType: TeleportToRequest,
|
|
@@ -1528,10 +1158,7 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
1528
1158
|
responseStream: false,
|
|
1529
1159
|
options: {},
|
|
1530
1160
|
},
|
|
1531
|
-
/**
|
|
1532
|
-
* @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
|
|
1533
|
-
* ChangeRealm prompts the user to change to a specific realm
|
|
1534
|
-
*/
|
|
1161
|
+
/** ChangeRealm prompts the user to change to a specific realm */
|
|
1535
1162
|
changeRealm: {
|
|
1536
1163
|
name: "ChangeRealm",
|
|
1537
1164
|
requestType: ChangeRealmRequest,
|
|
@@ -1579,36 +1206,7 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
1579
1206
|
responseStream: false,
|
|
1580
1207
|
options: {},
|
|
1581
1208
|
},
|
|
1582
|
-
/**
|
|
1583
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1584
|
-
* Sets the focus to a specific UI element
|
|
1585
|
-
*/
|
|
1586
|
-
setUiFocus: {
|
|
1587
|
-
name: "SetUiFocus",
|
|
1588
|
-
requestType: SetUiFocusRequest,
|
|
1589
|
-
requestStream: false,
|
|
1590
|
-
responseType: UiFocusResponse,
|
|
1591
|
-
responseStream: false,
|
|
1592
|
-
options: {},
|
|
1593
|
-
},
|
|
1594
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1595
|
-
clearUiFocus: {
|
|
1596
|
-
name: "ClearUiFocus",
|
|
1597
|
-
requestType: ClearUiFocusRequest,
|
|
1598
|
-
requestStream: false,
|
|
1599
|
-
responseType: UiFocusResponse,
|
|
1600
|
-
responseStream: false,
|
|
1601
|
-
options: {},
|
|
1602
|
-
},
|
|
1603
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1604
|
-
getUiFocus: {
|
|
1605
|
-
name: "GetUiFocus",
|
|
1606
|
-
requestType: GetUiFocusRequest,
|
|
1607
|
-
requestStream: false,
|
|
1608
|
-
responseType: UiFocusResponse,
|
|
1609
|
-
responseStream: false,
|
|
1610
|
-
options: {},
|
|
1611
|
-
},
|
|
1209
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1612
1210
|
copyToClipboard: {
|
|
1613
1211
|
name: "CopyToClipboard",
|
|
1614
1212
|
requestType: CopyToClipboardRequest,
|