@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
|
@@ -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_ItemPurchaseParams = exports.OpenExplorerUiRequest = exports.StopEmoteRequest = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.
|
|
6
|
+
exports.RestrictedActionsServiceDefinition = exports.OpenExplorerUiResponse = exports.OpenExplorerUiRequest_ItemPurchaseParams = 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 */
|
|
@@ -838,147 +838,6 @@ var MovePlayerToResponse;
|
|
|
838
838
|
}
|
|
839
839
|
MovePlayerToResponse.fromPartial = fromPartial;
|
|
840
840
|
})(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
841
|
function createBaseTeleportToResponse() {
|
|
983
842
|
return {};
|
|
984
843
|
}
|
|
@@ -1023,206 +882,6 @@ var TeleportToResponse;
|
|
|
1023
882
|
}
|
|
1024
883
|
TeleportToResponse.fromPartial = fromPartial;
|
|
1025
884
|
})(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
885
|
function createBaseCopyToClipboardRequest() {
|
|
1227
886
|
return { text: "" };
|
|
1228
887
|
}
|
|
@@ -1600,21 +1259,7 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
1600
1259
|
responseStream: false,
|
|
1601
1260
|
options: {},
|
|
1602
1261
|
},
|
|
1603
|
-
/**
|
|
1604
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1605
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1606
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1607
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1608
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1609
|
-
*/
|
|
1610
|
-
walkPlayerTo: {
|
|
1611
|
-
name: "WalkPlayerTo",
|
|
1612
|
-
requestType: WalkPlayerToRequest,
|
|
1613
|
-
requestStream: false,
|
|
1614
|
-
responseType: WalkPlayerToResponse,
|
|
1615
|
-
responseStream: false,
|
|
1616
|
-
options: {},
|
|
1617
|
-
},
|
|
1262
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1618
1263
|
teleportTo: {
|
|
1619
1264
|
name: "TeleportTo",
|
|
1620
1265
|
requestType: TeleportToRequest,
|
|
@@ -1683,36 +1328,7 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
1683
1328
|
responseStream: false,
|
|
1684
1329
|
options: {},
|
|
1685
1330
|
},
|
|
1686
|
-
/**
|
|
1687
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1688
|
-
* Sets the focus to a specific UI element
|
|
1689
|
-
*/
|
|
1690
|
-
setUiFocus: {
|
|
1691
|
-
name: "SetUiFocus",
|
|
1692
|
-
requestType: SetUiFocusRequest,
|
|
1693
|
-
requestStream: false,
|
|
1694
|
-
responseType: UiFocusResponse,
|
|
1695
|
-
responseStream: false,
|
|
1696
|
-
options: {},
|
|
1697
|
-
},
|
|
1698
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1699
|
-
clearUiFocus: {
|
|
1700
|
-
name: "ClearUiFocus",
|
|
1701
|
-
requestType: ClearUiFocusRequest,
|
|
1702
|
-
requestStream: false,
|
|
1703
|
-
responseType: UiFocusResponse,
|
|
1704
|
-
responseStream: false,
|
|
1705
|
-
options: {},
|
|
1706
|
-
},
|
|
1707
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1708
|
-
getUiFocus: {
|
|
1709
|
-
name: "GetUiFocus",
|
|
1710
|
-
requestType: GetUiFocusRequest,
|
|
1711
|
-
requestStream: false,
|
|
1712
|
-
responseType: UiFocusResponse,
|
|
1713
|
-
responseStream: false,
|
|
1714
|
-
options: {},
|
|
1715
|
-
},
|
|
1331
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1716
1332
|
copyToClipboard: {
|
|
1717
1333
|
name: "CopyToClipboard",
|
|
1718
1334
|
requestType: CopyToClipboardRequest,
|