@dcl/protocol 1.0.0-22309435573.commit-a48721e → 1.0.0-22483842997.commit-1c3d55b
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 +0 -70
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -228
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +46 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +315 -12
- package/out-js/decentraland/kernel/comms/rfc4/comms.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 -41
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
- 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 +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 +1 -35
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
- 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 +9 -3
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +44 -17
- 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 +5 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +31 -3
- 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_text.gen.d.ts +0 -4
- package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
- package/out-js/decentraland/sdk/components/ui_text.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 +0 -242
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +375 -3
- 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 -292
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +43 -16
- 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 +44 -3
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
- package/package.json +4 -7
- package/proto/decentraland/common/texture.proto +1 -8
- package/proto/decentraland/kernel/apis/restricted_actions.proto +0 -22
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +29 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
- package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
- package/proto/decentraland/sdk/components/common/input_action.proto +7 -3
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/light_source.proto +1 -1
- 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 +2 -0
- 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_text.proto +0 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
- package/proto/decentraland/sdk/components/virtual_camera.proto +2 -0
- package/public/sdk-components.proto +0 -4
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -34
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -101
- 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 -40
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -135
- package/out-js/decentraland/sdk/components/avatar_movement_info.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-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -119
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -163
- 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/proto/decentraland/sdk/components/avatar_movement.proto +0 -45
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -16
- 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
|
@@ -61,21 +61,6 @@ export interface MovePlayerToResponse {
|
|
|
61
61
|
export interface TeleportToResponse {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export interface SetUiFocusRequest {
|
|
65
|
-
elementId: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface ClearUiFocusRequest {
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface GetUiFocusRequest {
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface UiFocusResponse {
|
|
75
|
-
/** the element that is/was focussed */
|
|
76
|
-
elementId?: string | undefined;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
64
|
export interface CopyToClipboardRequest {
|
|
80
65
|
text: string;
|
|
81
66
|
}
|
|
@@ -864,206 +849,6 @@ export namespace TeleportToResponse {
|
|
|
864
849
|
}
|
|
865
850
|
}
|
|
866
851
|
|
|
867
|
-
function createBaseSetUiFocusRequest(): SetUiFocusRequest {
|
|
868
|
-
return { elementId: "" };
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
export namespace SetUiFocusRequest {
|
|
872
|
-
export function encode(message: SetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
873
|
-
if (message.elementId !== "") {
|
|
874
|
-
writer.uint32(10).string(message.elementId);
|
|
875
|
-
}
|
|
876
|
-
return writer;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetUiFocusRequest {
|
|
880
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
881
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
882
|
-
const message = createBaseSetUiFocusRequest();
|
|
883
|
-
while (reader.pos < end) {
|
|
884
|
-
const tag = reader.uint32();
|
|
885
|
-
switch (tag >>> 3) {
|
|
886
|
-
case 1:
|
|
887
|
-
if (tag !== 10) {
|
|
888
|
-
break;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
message.elementId = reader.string();
|
|
892
|
-
continue;
|
|
893
|
-
}
|
|
894
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
895
|
-
break;
|
|
896
|
-
}
|
|
897
|
-
reader.skipType(tag & 7);
|
|
898
|
-
}
|
|
899
|
-
return message;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
export function fromJSON(object: any): SetUiFocusRequest {
|
|
903
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export function toJSON(message: SetUiFocusRequest): unknown {
|
|
907
|
-
const obj: any = {};
|
|
908
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
909
|
-
return obj;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
export function create<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(base?: I): SetUiFocusRequest {
|
|
913
|
-
return SetUiFocusRequest.fromPartial(base ?? {});
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
export function fromPartial<I extends Exact<DeepPartial<SetUiFocusRequest>, I>>(object: I): SetUiFocusRequest {
|
|
917
|
-
const message = createBaseSetUiFocusRequest();
|
|
918
|
-
message.elementId = object.elementId ?? "";
|
|
919
|
-
return message;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
function createBaseClearUiFocusRequest(): ClearUiFocusRequest {
|
|
924
|
-
return {};
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
export namespace ClearUiFocusRequest {
|
|
928
|
-
export function encode(_: ClearUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
929
|
-
return writer;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ClearUiFocusRequest {
|
|
933
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
934
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
935
|
-
const message = createBaseClearUiFocusRequest();
|
|
936
|
-
while (reader.pos < end) {
|
|
937
|
-
const tag = reader.uint32();
|
|
938
|
-
switch (tag >>> 3) {
|
|
939
|
-
}
|
|
940
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
941
|
-
break;
|
|
942
|
-
}
|
|
943
|
-
reader.skipType(tag & 7);
|
|
944
|
-
}
|
|
945
|
-
return message;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
export function fromJSON(_: any): ClearUiFocusRequest {
|
|
949
|
-
return {};
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
export function toJSON(_: ClearUiFocusRequest): unknown {
|
|
953
|
-
const obj: any = {};
|
|
954
|
-
return obj;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
export function create<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(base?: I): ClearUiFocusRequest {
|
|
958
|
-
return ClearUiFocusRequest.fromPartial(base ?? {});
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
export function fromPartial<I extends Exact<DeepPartial<ClearUiFocusRequest>, I>>(_: I): ClearUiFocusRequest {
|
|
962
|
-
const message = createBaseClearUiFocusRequest();
|
|
963
|
-
return message;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
function createBaseGetUiFocusRequest(): GetUiFocusRequest {
|
|
968
|
-
return {};
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
export namespace GetUiFocusRequest {
|
|
972
|
-
export function encode(_: GetUiFocusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
973
|
-
return writer;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUiFocusRequest {
|
|
977
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
978
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
979
|
-
const message = createBaseGetUiFocusRequest();
|
|
980
|
-
while (reader.pos < end) {
|
|
981
|
-
const tag = reader.uint32();
|
|
982
|
-
switch (tag >>> 3) {
|
|
983
|
-
}
|
|
984
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
985
|
-
break;
|
|
986
|
-
}
|
|
987
|
-
reader.skipType(tag & 7);
|
|
988
|
-
}
|
|
989
|
-
return message;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export function fromJSON(_: any): GetUiFocusRequest {
|
|
993
|
-
return {};
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
export function toJSON(_: GetUiFocusRequest): unknown {
|
|
997
|
-
const obj: any = {};
|
|
998
|
-
return obj;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
export function create<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(base?: I): GetUiFocusRequest {
|
|
1002
|
-
return GetUiFocusRequest.fromPartial(base ?? {});
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
export function fromPartial<I extends Exact<DeepPartial<GetUiFocusRequest>, I>>(_: I): GetUiFocusRequest {
|
|
1006
|
-
const message = createBaseGetUiFocusRequest();
|
|
1007
|
-
return message;
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
function createBaseUiFocusResponse(): UiFocusResponse {
|
|
1012
|
-
return { elementId: undefined };
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
export namespace UiFocusResponse {
|
|
1016
|
-
export function encode(message: UiFocusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1017
|
-
if (message.elementId !== undefined) {
|
|
1018
|
-
writer.uint32(10).string(message.elementId);
|
|
1019
|
-
}
|
|
1020
|
-
return writer;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiFocusResponse {
|
|
1024
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1025
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1026
|
-
const message = createBaseUiFocusResponse();
|
|
1027
|
-
while (reader.pos < end) {
|
|
1028
|
-
const tag = reader.uint32();
|
|
1029
|
-
switch (tag >>> 3) {
|
|
1030
|
-
case 1:
|
|
1031
|
-
if (tag !== 10) {
|
|
1032
|
-
break;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
message.elementId = reader.string();
|
|
1036
|
-
continue;
|
|
1037
|
-
}
|
|
1038
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1039
|
-
break;
|
|
1040
|
-
}
|
|
1041
|
-
reader.skipType(tag & 7);
|
|
1042
|
-
}
|
|
1043
|
-
return message;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
export function fromJSON(object: any): UiFocusResponse {
|
|
1047
|
-
return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
export function toJSON(message: UiFocusResponse): unknown {
|
|
1051
|
-
const obj: any = {};
|
|
1052
|
-
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1053
|
-
return obj;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
export function create<I extends Exact<DeepPartial<UiFocusResponse>, I>>(base?: I): UiFocusResponse {
|
|
1057
|
-
return UiFocusResponse.fromPartial(base ?? {});
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
export function fromPartial<I extends Exact<DeepPartial<UiFocusResponse>, I>>(object: I): UiFocusResponse {
|
|
1061
|
-
const message = createBaseUiFocusResponse();
|
|
1062
|
-
message.elementId = object.elementId ?? undefined;
|
|
1063
|
-
return message;
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
852
|
function createBaseCopyToClipboardRequest(): CopyToClipboardRequest {
|
|
1068
853
|
return { text: "" };
|
|
1069
854
|
}
|
|
@@ -1250,33 +1035,6 @@ export const RestrictedActionsServiceDefinition = {
|
|
|
1250
1035
|
responseStream: false,
|
|
1251
1036
|
options: {},
|
|
1252
1037
|
},
|
|
1253
|
-
/** Sets the focus to a specific UI element */
|
|
1254
|
-
setUiFocus: {
|
|
1255
|
-
name: "SetUiFocus",
|
|
1256
|
-
requestType: SetUiFocusRequest,
|
|
1257
|
-
requestStream: false,
|
|
1258
|
-
responseType: UiFocusResponse,
|
|
1259
|
-
responseStream: false,
|
|
1260
|
-
options: {},
|
|
1261
|
-
},
|
|
1262
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1263
|
-
clearUiFocus: {
|
|
1264
|
-
name: "ClearUiFocus",
|
|
1265
|
-
requestType: SetUiFocusRequest,
|
|
1266
|
-
requestStream: false,
|
|
1267
|
-
responseType: UiFocusResponse,
|
|
1268
|
-
responseStream: false,
|
|
1269
|
-
options: {},
|
|
1270
|
-
},
|
|
1271
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1272
|
-
getUiFocus: {
|
|
1273
|
-
name: "GetUiFocus",
|
|
1274
|
-
requestType: GetUiFocusRequest,
|
|
1275
|
-
requestStream: false,
|
|
1276
|
-
responseType: UiFocusResponse,
|
|
1277
|
-
responseStream: false,
|
|
1278
|
-
options: {},
|
|
1279
|
-
},
|
|
1280
1038
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1281
1039
|
copyToClipboard: {
|
|
1282
1040
|
name: "CopyToClipboard",
|