@dcl/protocol 1.0.0-14231413869.commit-0c50705 → 1.0.0-15045186685.commit-cc4fe42
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/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 +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/realm_info.gen.d.ts +7 -0
- package/out-js/decentraland/sdk/components/realm_info.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 -37
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +2 -201
- 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/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 +0 -20
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
- 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/realm_info.gen.ts +10 -1
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1 -230
- package/package.json +3 -6
- package/proto/decentraland/common/texture.proto +1 -8
- 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 +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 +1 -8
- package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
- package/proto/decentraland/sdk/components/realm_info.proto +7 -7
- package/proto/decentraland/sdk/components/ui_text.proto +0 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -23
- package/public/sdk-components.proto +0 -2
- 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/gltf_node.gen.ts +0 -116
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
- 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/light.proto +0 -42
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -25
- package/proto/decentraland/sdk/components/spotlight.proto +0 -21
- 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,14 +3,14 @@ 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.
|
|
6
|
+
exports.PBCameraModeArea = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
9
|
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
10
10
|
const camera_type_gen_1 = require("./common/camera_type.gen");
|
|
11
11
|
exports.protobufPackage = "decentraland.sdk.components";
|
|
12
12
|
function createBasePBCameraModeArea() {
|
|
13
|
-
return { area: undefined, mode: 0
|
|
13
|
+
return { area: undefined, mode: 0 };
|
|
14
14
|
}
|
|
15
15
|
var PBCameraModeArea;
|
|
16
16
|
(function (PBCameraModeArea) {
|
|
@@ -21,12 +21,6 @@ var PBCameraModeArea;
|
|
|
21
21
|
if (message.mode !== 0) {
|
|
22
22
|
writer.uint32(16).int32(message.mode);
|
|
23
23
|
}
|
|
24
|
-
if (message.cinematicSettings !== undefined) {
|
|
25
|
-
CinematicSettings.encode(message.cinematicSettings, writer.uint32(26).fork()).ldelim();
|
|
26
|
-
}
|
|
27
|
-
if (message.useColliderRange !== undefined) {
|
|
28
|
-
writer.uint32(32).bool(message.useColliderRange);
|
|
29
|
-
}
|
|
30
24
|
return writer;
|
|
31
25
|
}
|
|
32
26
|
PBCameraModeArea.encode = encode;
|
|
@@ -49,18 +43,6 @@ var PBCameraModeArea;
|
|
|
49
43
|
}
|
|
50
44
|
message.mode = reader.int32();
|
|
51
45
|
continue;
|
|
52
|
-
case 3:
|
|
53
|
-
if (tag !== 26) {
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
message.cinematicSettings = CinematicSettings.decode(reader, reader.uint32());
|
|
57
|
-
continue;
|
|
58
|
-
case 4:
|
|
59
|
-
if (tag !== 32) {
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
message.useColliderRange = reader.bool();
|
|
63
|
-
continue;
|
|
64
46
|
}
|
|
65
47
|
if ((tag & 7) === 4 || tag === 0) {
|
|
66
48
|
break;
|
|
@@ -74,10 +56,6 @@ var PBCameraModeArea;
|
|
|
74
56
|
return {
|
|
75
57
|
area: isSet(object.area) ? vectors_gen_1.Vector3.fromJSON(object.area) : undefined,
|
|
76
58
|
mode: isSet(object.mode) ? (0, camera_type_gen_1.cameraTypeFromJSON)(object.mode) : 0,
|
|
77
|
-
cinematicSettings: isSet(object.cinematicSettings)
|
|
78
|
-
? CinematicSettings.fromJSON(object.cinematicSettings)
|
|
79
|
-
: undefined,
|
|
80
|
-
useColliderRange: isSet(object.useColliderRange) ? Boolean(object.useColliderRange) : undefined,
|
|
81
59
|
};
|
|
82
60
|
}
|
|
83
61
|
PBCameraModeArea.fromJSON = fromJSON;
|
|
@@ -85,11 +63,6 @@ var PBCameraModeArea;
|
|
|
85
63
|
const obj = {};
|
|
86
64
|
message.area !== undefined && (obj.area = message.area ? vectors_gen_1.Vector3.toJSON(message.area) : undefined);
|
|
87
65
|
message.mode !== undefined && (obj.mode = (0, camera_type_gen_1.cameraTypeToJSON)(message.mode));
|
|
88
|
-
message.cinematicSettings !== undefined &&
|
|
89
|
-
(obj.cinematicSettings = message.cinematicSettings
|
|
90
|
-
? CinematicSettings.toJSON(message.cinematicSettings)
|
|
91
|
-
: undefined);
|
|
92
|
-
message.useColliderRange !== undefined && (obj.useColliderRange = message.useColliderRange);
|
|
93
66
|
return obj;
|
|
94
67
|
}
|
|
95
68
|
PBCameraModeArea.toJSON = toJSON;
|
|
@@ -98,156 +71,14 @@ var PBCameraModeArea;
|
|
|
98
71
|
}
|
|
99
72
|
PBCameraModeArea.create = create;
|
|
100
73
|
function fromPartial(object) {
|
|
101
|
-
var _a
|
|
74
|
+
var _a;
|
|
102
75
|
const message = createBasePBCameraModeArea();
|
|
103
76
|
message.area = (object.area !== undefined && object.area !== null) ? vectors_gen_1.Vector3.fromPartial(object.area) : undefined;
|
|
104
77
|
message.mode = (_a = object.mode) !== null && _a !== void 0 ? _a : 0;
|
|
105
|
-
message.cinematicSettings = (object.cinematicSettings !== undefined && object.cinematicSettings !== null)
|
|
106
|
-
? CinematicSettings.fromPartial(object.cinematicSettings)
|
|
107
|
-
: undefined;
|
|
108
|
-
message.useColliderRange = (_b = object.useColliderRange) !== null && _b !== void 0 ? _b : undefined;
|
|
109
78
|
return message;
|
|
110
79
|
}
|
|
111
80
|
PBCameraModeArea.fromPartial = fromPartial;
|
|
112
81
|
})(PBCameraModeArea || (exports.PBCameraModeArea = PBCameraModeArea = {}));
|
|
113
|
-
function createBaseCinematicSettings() {
|
|
114
|
-
return {
|
|
115
|
-
cameraEntity: 0,
|
|
116
|
-
allowManualRotation: undefined,
|
|
117
|
-
yawRange: undefined,
|
|
118
|
-
pitchRange: undefined,
|
|
119
|
-
rollRange: undefined,
|
|
120
|
-
zoomMin: undefined,
|
|
121
|
-
zoomMax: undefined,
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
var CinematicSettings;
|
|
125
|
-
(function (CinematicSettings) {
|
|
126
|
-
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
127
|
-
if (message.cameraEntity !== 0) {
|
|
128
|
-
writer.uint32(8).uint32(message.cameraEntity);
|
|
129
|
-
}
|
|
130
|
-
if (message.allowManualRotation !== undefined) {
|
|
131
|
-
writer.uint32(16).bool(message.allowManualRotation);
|
|
132
|
-
}
|
|
133
|
-
if (message.yawRange !== undefined) {
|
|
134
|
-
writer.uint32(29).float(message.yawRange);
|
|
135
|
-
}
|
|
136
|
-
if (message.pitchRange !== undefined) {
|
|
137
|
-
writer.uint32(37).float(message.pitchRange);
|
|
138
|
-
}
|
|
139
|
-
if (message.rollRange !== undefined) {
|
|
140
|
-
writer.uint32(45).float(message.rollRange);
|
|
141
|
-
}
|
|
142
|
-
if (message.zoomMin !== undefined) {
|
|
143
|
-
writer.uint32(53).float(message.zoomMin);
|
|
144
|
-
}
|
|
145
|
-
if (message.zoomMax !== undefined) {
|
|
146
|
-
writer.uint32(61).float(message.zoomMax);
|
|
147
|
-
}
|
|
148
|
-
return writer;
|
|
149
|
-
}
|
|
150
|
-
CinematicSettings.encode = encode;
|
|
151
|
-
function decode(input, length) {
|
|
152
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
153
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
154
|
-
const message = createBaseCinematicSettings();
|
|
155
|
-
while (reader.pos < end) {
|
|
156
|
-
const tag = reader.uint32();
|
|
157
|
-
switch (tag >>> 3) {
|
|
158
|
-
case 1:
|
|
159
|
-
if (tag !== 8) {
|
|
160
|
-
break;
|
|
161
|
-
}
|
|
162
|
-
message.cameraEntity = reader.uint32();
|
|
163
|
-
continue;
|
|
164
|
-
case 2:
|
|
165
|
-
if (tag !== 16) {
|
|
166
|
-
break;
|
|
167
|
-
}
|
|
168
|
-
message.allowManualRotation = reader.bool();
|
|
169
|
-
continue;
|
|
170
|
-
case 3:
|
|
171
|
-
if (tag !== 29) {
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
message.yawRange = reader.float();
|
|
175
|
-
continue;
|
|
176
|
-
case 4:
|
|
177
|
-
if (tag !== 37) {
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
message.pitchRange = reader.float();
|
|
181
|
-
continue;
|
|
182
|
-
case 5:
|
|
183
|
-
if (tag !== 45) {
|
|
184
|
-
break;
|
|
185
|
-
}
|
|
186
|
-
message.rollRange = reader.float();
|
|
187
|
-
continue;
|
|
188
|
-
case 6:
|
|
189
|
-
if (tag !== 53) {
|
|
190
|
-
break;
|
|
191
|
-
}
|
|
192
|
-
message.zoomMin = reader.float();
|
|
193
|
-
continue;
|
|
194
|
-
case 7:
|
|
195
|
-
if (tag !== 61) {
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
message.zoomMax = reader.float();
|
|
199
|
-
continue;
|
|
200
|
-
}
|
|
201
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
202
|
-
break;
|
|
203
|
-
}
|
|
204
|
-
reader.skipType(tag & 7);
|
|
205
|
-
}
|
|
206
|
-
return message;
|
|
207
|
-
}
|
|
208
|
-
CinematicSettings.decode = decode;
|
|
209
|
-
function fromJSON(object) {
|
|
210
|
-
return {
|
|
211
|
-
cameraEntity: isSet(object.cameraEntity) ? Number(object.cameraEntity) : 0,
|
|
212
|
-
allowManualRotation: isSet(object.allowManualRotation) ? Boolean(object.allowManualRotation) : undefined,
|
|
213
|
-
yawRange: isSet(object.yawRange) ? Number(object.yawRange) : undefined,
|
|
214
|
-
pitchRange: isSet(object.pitchRange) ? Number(object.pitchRange) : undefined,
|
|
215
|
-
rollRange: isSet(object.rollRange) ? Number(object.rollRange) : undefined,
|
|
216
|
-
zoomMin: isSet(object.zoomMin) ? Number(object.zoomMin) : undefined,
|
|
217
|
-
zoomMax: isSet(object.zoomMax) ? Number(object.zoomMax) : undefined,
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
CinematicSettings.fromJSON = fromJSON;
|
|
221
|
-
function toJSON(message) {
|
|
222
|
-
const obj = {};
|
|
223
|
-
message.cameraEntity !== undefined && (obj.cameraEntity = Math.round(message.cameraEntity));
|
|
224
|
-
message.allowManualRotation !== undefined && (obj.allowManualRotation = message.allowManualRotation);
|
|
225
|
-
message.yawRange !== undefined && (obj.yawRange = message.yawRange);
|
|
226
|
-
message.pitchRange !== undefined && (obj.pitchRange = message.pitchRange);
|
|
227
|
-
message.rollRange !== undefined && (obj.rollRange = message.rollRange);
|
|
228
|
-
message.zoomMin !== undefined && (obj.zoomMin = message.zoomMin);
|
|
229
|
-
message.zoomMax !== undefined && (obj.zoomMax = message.zoomMax);
|
|
230
|
-
return obj;
|
|
231
|
-
}
|
|
232
|
-
CinematicSettings.toJSON = toJSON;
|
|
233
|
-
function create(base) {
|
|
234
|
-
return CinematicSettings.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
235
|
-
}
|
|
236
|
-
CinematicSettings.create = create;
|
|
237
|
-
function fromPartial(object) {
|
|
238
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
239
|
-
const message = createBaseCinematicSettings();
|
|
240
|
-
message.cameraEntity = (_a = object.cameraEntity) !== null && _a !== void 0 ? _a : 0;
|
|
241
|
-
message.allowManualRotation = (_b = object.allowManualRotation) !== null && _b !== void 0 ? _b : undefined;
|
|
242
|
-
message.yawRange = (_c = object.yawRange) !== null && _c !== void 0 ? _c : undefined;
|
|
243
|
-
message.pitchRange = (_d = object.pitchRange) !== null && _d !== void 0 ? _d : undefined;
|
|
244
|
-
message.rollRange = (_e = object.rollRange) !== null && _e !== void 0 ? _e : undefined;
|
|
245
|
-
message.zoomMin = (_f = object.zoomMin) !== null && _f !== void 0 ? _f : undefined;
|
|
246
|
-
message.zoomMax = (_g = object.zoomMax) !== null && _g !== void 0 ? _g : undefined;
|
|
247
|
-
return message;
|
|
248
|
-
}
|
|
249
|
-
CinematicSettings.fromPartial = fromPartial;
|
|
250
|
-
})(CinematicSettings || (exports.CinematicSettings = CinematicSettings = {}));
|
|
251
82
|
function isSet(value) {
|
|
252
83
|
return value !== null && value !== undefined;
|
|
253
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camera_mode_area.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/camera_mode_area.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,0DAAmD;AACnD,8DAA4F;AAE/E,QAAA,eAAe,GAAG,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"camera_mode_area.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/camera_mode_area.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,0DAAmD;AACnD,8DAA4F;AAE/E,QAAA,eAAe,GAAG,6BAA6B,CAAC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nG,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,IAAA,kCAAgB,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1E,OAAO,GAAG,CAAC;IACb,CAAC;IALe,uBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAoD,IAAQ;QAChF,OAAO,gBAAgB,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAClD,CAAC;IAFe,uBAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAoD,MAAS;;QACtF,MAAM,OAAO,GAAG,0BAA0B,EAAE,CAAC;QAC7C,OAAO,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAClH,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,CAAC,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,4BAAW,cAK1B,CAAA;AACH,CAAC,EAjEgB,gBAAgB,gCAAhB,gBAAgB,QAiEhC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -24,9 +24,6 @@ export declare enum PointerEventType {
|
|
|
24
24
|
PET_DOWN = 1,
|
|
25
25
|
PET_HOVER_ENTER = 2,
|
|
26
26
|
PET_HOVER_LEAVE = 3,
|
|
27
|
-
PET_DRAG_LOCKED = 4,
|
|
28
|
-
PET_DRAG = 5,
|
|
29
|
-
PET_DRAG_END = 6,
|
|
30
27
|
UNRECOGNIZED = -1
|
|
31
28
|
}
|
|
32
29
|
export declare function pointerEventTypeFromJSON(object: any): PointerEventType;
|
|
@@ -117,9 +117,6 @@ var PointerEventType;
|
|
|
117
117
|
PointerEventType[PointerEventType["PET_DOWN"] = 1] = "PET_DOWN";
|
|
118
118
|
PointerEventType[PointerEventType["PET_HOVER_ENTER"] = 2] = "PET_HOVER_ENTER";
|
|
119
119
|
PointerEventType[PointerEventType["PET_HOVER_LEAVE"] = 3] = "PET_HOVER_LEAVE";
|
|
120
|
-
PointerEventType[PointerEventType["PET_DRAG_LOCKED"] = 4] = "PET_DRAG_LOCKED";
|
|
121
|
-
PointerEventType[PointerEventType["PET_DRAG"] = 5] = "PET_DRAG";
|
|
122
|
-
PointerEventType[PointerEventType["PET_DRAG_END"] = 6] = "PET_DRAG_END";
|
|
123
120
|
PointerEventType[PointerEventType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
124
121
|
})(PointerEventType || (exports.PointerEventType = PointerEventType = {}));
|
|
125
122
|
function pointerEventTypeFromJSON(object) {
|
|
@@ -136,15 +133,6 @@ function pointerEventTypeFromJSON(object) {
|
|
|
136
133
|
case 3:
|
|
137
134
|
case "PET_HOVER_LEAVE":
|
|
138
135
|
return PointerEventType.PET_HOVER_LEAVE;
|
|
139
|
-
case 4:
|
|
140
|
-
case "PET_DRAG_LOCKED":
|
|
141
|
-
return PointerEventType.PET_DRAG_LOCKED;
|
|
142
|
-
case 5:
|
|
143
|
-
case "PET_DRAG":
|
|
144
|
-
return PointerEventType.PET_DRAG;
|
|
145
|
-
case 6:
|
|
146
|
-
case "PET_DRAG_END":
|
|
147
|
-
return PointerEventType.PET_DRAG_END;
|
|
148
136
|
case -1:
|
|
149
137
|
case "UNRECOGNIZED":
|
|
150
138
|
default:
|
|
@@ -161,12 +149,6 @@ function pointerEventTypeToJSON(object) {
|
|
|
161
149
|
return "PET_HOVER_ENTER";
|
|
162
150
|
case PointerEventType.PET_HOVER_LEAVE:
|
|
163
151
|
return "PET_HOVER_LEAVE";
|
|
164
|
-
case PointerEventType.PET_DRAG_LOCKED:
|
|
165
|
-
return "PET_DRAG_LOCKED";
|
|
166
|
-
case PointerEventType.PET_DRAG:
|
|
167
|
-
return "PET_DRAG";
|
|
168
|
-
case PointerEventType.PET_DRAG_END:
|
|
169
|
-
return "PET_DRAG_END";
|
|
170
152
|
case PointerEventType.UNRECOGNIZED:
|
|
171
153
|
default:
|
|
172
154
|
return "UNRECOGNIZED";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input_action.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/input_action.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAsBpB,kDAiDC;AAED,8CAkCC;
|
|
1
|
+
{"version":3,"file":"input_action.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/input_action.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAsBpB,kDAiDC;AAED,8CAkCC;AAWD,4DAmBC;AAED,wDAcC;AAvJY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,WAgBX;AAhBD,WAAY,WAAW;IACrB,yDAAc,CAAA;IACd,yDAAc,CAAA;IACd,6DAAgB,CAAA;IAChB,iDAAU,CAAA;IACV,yDAAc,CAAA;IACd,2DAAe,CAAA;IACf,qDAAY,CAAA;IACZ,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,8DAAiB,CAAA;AACnB,CAAC,EAhBW,WAAW,2BAAX,WAAW,QAgBtB;AAED,SAAgB,mBAAmB,CAAC,MAAW;IAC7C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,WAAW,CAAC,UAAU,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,WAAW,CAAC,UAAU,CAAC;QAChC,KAAK,CAAC,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K,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,gBAAgB,CAAC,eAAe,CAAC;QAC1C,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,gBAAgB,CAAC,YAAY,CAAC;IACzC,CAAC;AACH,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAwB;IAC7D,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,gBAAgB,CAAC,MAAM;YAC1B,OAAO,QAAQ,CAAC;QAClB,KAAK,gBAAgB,CAAC,QAAQ;YAC5B,OAAO,UAAU,CAAC;QACpB,KAAK,gBAAgB,CAAC,eAAe;YACnC,OAAO,iBAAiB,CAAC;QAC3B,KAAK,gBAAgB,CAAC,eAAe;YACnC,OAAO,iBAAiB,CAAC;QAC3B,KAAK,gBAAgB,CAAC,YAAY,CAAC;QACnC;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -7,25 +7,6 @@ export declare const protobufPackage = "decentraland.sdk.components";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface PBGltfContainerLoadingState {
|
|
9
9
|
currentState: LoadingState;
|
|
10
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
|
11
|
-
nodePaths: string[];
|
|
12
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
|
13
|
-
meshNames: string[];
|
|
14
|
-
/**
|
|
15
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
|
16
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
|
17
|
-
*/
|
|
18
|
-
materialNames: string[];
|
|
19
|
-
/**
|
|
20
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
|
21
|
-
* sure all your materials are explicitly named.
|
|
22
|
-
*/
|
|
23
|
-
skinNames: string[];
|
|
24
|
-
/**
|
|
25
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
|
26
|
-
* your skins are explicitly named.
|
|
27
|
-
*/
|
|
28
|
-
animationNames: string[];
|
|
29
10
|
}
|
|
30
11
|
export declare namespace PBGltfContainerLoadingState {
|
|
31
12
|
function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -9,7 +9,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
9
9
|
const loading_state_gen_1 = require("./common/loading_state.gen");
|
|
10
10
|
exports.protobufPackage = "decentraland.sdk.components";
|
|
11
11
|
function createBasePBGltfContainerLoadingState() {
|
|
12
|
-
return { currentState: 0
|
|
12
|
+
return { currentState: 0 };
|
|
13
13
|
}
|
|
14
14
|
var PBGltfContainerLoadingState;
|
|
15
15
|
(function (PBGltfContainerLoadingState) {
|
|
@@ -17,21 +17,6 @@ var PBGltfContainerLoadingState;
|
|
|
17
17
|
if (message.currentState !== 0) {
|
|
18
18
|
writer.uint32(8).int32(message.currentState);
|
|
19
19
|
}
|
|
20
|
-
for (const v of message.nodePaths) {
|
|
21
|
-
writer.uint32(18).string(v);
|
|
22
|
-
}
|
|
23
|
-
for (const v of message.meshNames) {
|
|
24
|
-
writer.uint32(26).string(v);
|
|
25
|
-
}
|
|
26
|
-
for (const v of message.materialNames) {
|
|
27
|
-
writer.uint32(34).string(v);
|
|
28
|
-
}
|
|
29
|
-
for (const v of message.skinNames) {
|
|
30
|
-
writer.uint32(42).string(v);
|
|
31
|
-
}
|
|
32
|
-
for (const v of message.animationNames) {
|
|
33
|
-
writer.uint32(50).string(v);
|
|
34
|
-
}
|
|
35
20
|
return writer;
|
|
36
21
|
}
|
|
37
22
|
PBGltfContainerLoadingState.encode = encode;
|
|
@@ -48,36 +33,6 @@ var PBGltfContainerLoadingState;
|
|
|
48
33
|
}
|
|
49
34
|
message.currentState = reader.int32();
|
|
50
35
|
continue;
|
|
51
|
-
case 2:
|
|
52
|
-
if (tag !== 18) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.nodePaths.push(reader.string());
|
|
56
|
-
continue;
|
|
57
|
-
case 3:
|
|
58
|
-
if (tag !== 26) {
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
message.meshNames.push(reader.string());
|
|
62
|
-
continue;
|
|
63
|
-
case 4:
|
|
64
|
-
if (tag !== 34) {
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
message.materialNames.push(reader.string());
|
|
68
|
-
continue;
|
|
69
|
-
case 5:
|
|
70
|
-
if (tag !== 42) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
message.skinNames.push(reader.string());
|
|
74
|
-
continue;
|
|
75
|
-
case 6:
|
|
76
|
-
if (tag !== 50) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
message.animationNames.push(reader.string());
|
|
80
|
-
continue;
|
|
81
36
|
}
|
|
82
37
|
if ((tag & 7) === 4 || tag === 0) {
|
|
83
38
|
break;
|
|
@@ -88,49 +43,12 @@ var PBGltfContainerLoadingState;
|
|
|
88
43
|
}
|
|
89
44
|
PBGltfContainerLoadingState.decode = decode;
|
|
90
45
|
function fromJSON(object) {
|
|
91
|
-
return {
|
|
92
|
-
currentState: isSet(object.currentState) ? (0, loading_state_gen_1.loadingStateFromJSON)(object.currentState) : 0,
|
|
93
|
-
nodePaths: Array.isArray(object === null || object === void 0 ? void 0 : object.nodePaths) ? object.nodePaths.map((e) => String(e)) : [],
|
|
94
|
-
meshNames: Array.isArray(object === null || object === void 0 ? void 0 : object.meshNames) ? object.meshNames.map((e) => String(e)) : [],
|
|
95
|
-
materialNames: Array.isArray(object === null || object === void 0 ? void 0 : object.materialNames) ? object.materialNames.map((e) => String(e)) : [],
|
|
96
|
-
skinNames: Array.isArray(object === null || object === void 0 ? void 0 : object.skinNames) ? object.skinNames.map((e) => String(e)) : [],
|
|
97
|
-
animationNames: Array.isArray(object === null || object === void 0 ? void 0 : object.animationNames) ? object.animationNames.map((e) => String(e)) : [],
|
|
98
|
-
};
|
|
46
|
+
return { currentState: isSet(object.currentState) ? (0, loading_state_gen_1.loadingStateFromJSON)(object.currentState) : 0 };
|
|
99
47
|
}
|
|
100
48
|
PBGltfContainerLoadingState.fromJSON = fromJSON;
|
|
101
49
|
function toJSON(message) {
|
|
102
50
|
const obj = {};
|
|
103
51
|
message.currentState !== undefined && (obj.currentState = (0, loading_state_gen_1.loadingStateToJSON)(message.currentState));
|
|
104
|
-
if (message.nodePaths) {
|
|
105
|
-
obj.nodePaths = message.nodePaths.map((e) => e);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
obj.nodePaths = [];
|
|
109
|
-
}
|
|
110
|
-
if (message.meshNames) {
|
|
111
|
-
obj.meshNames = message.meshNames.map((e) => e);
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
obj.meshNames = [];
|
|
115
|
-
}
|
|
116
|
-
if (message.materialNames) {
|
|
117
|
-
obj.materialNames = message.materialNames.map((e) => e);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
obj.materialNames = [];
|
|
121
|
-
}
|
|
122
|
-
if (message.skinNames) {
|
|
123
|
-
obj.skinNames = message.skinNames.map((e) => e);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
obj.skinNames = [];
|
|
127
|
-
}
|
|
128
|
-
if (message.animationNames) {
|
|
129
|
-
obj.animationNames = message.animationNames.map((e) => e);
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
obj.animationNames = [];
|
|
133
|
-
}
|
|
134
52
|
return obj;
|
|
135
53
|
}
|
|
136
54
|
PBGltfContainerLoadingState.toJSON = toJSON;
|
|
@@ -139,14 +57,9 @@ var PBGltfContainerLoadingState;
|
|
|
139
57
|
}
|
|
140
58
|
PBGltfContainerLoadingState.create = create;
|
|
141
59
|
function fromPartial(object) {
|
|
142
|
-
var _a
|
|
60
|
+
var _a;
|
|
143
61
|
const message = createBasePBGltfContainerLoadingState();
|
|
144
62
|
message.currentState = (_a = object.currentState) !== null && _a !== void 0 ? _a : 0;
|
|
145
|
-
message.nodePaths = ((_b = object.nodePaths) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
|
|
146
|
-
message.meshNames = ((_c = object.meshNames) === null || _c === void 0 ? void 0 : _c.map((e) => e)) || [];
|
|
147
|
-
message.materialNames = ((_d = object.materialNames) === null || _d === void 0 ? void 0 : _d.map((e) => e)) || [];
|
|
148
|
-
message.skinNames = ((_e = object.skinNames) === null || _e === void 0 ? void 0 : _e.map((e) => e)) || [];
|
|
149
|
-
message.animationNames = ((_f = object.animationNames) === null || _f === void 0 ? void 0 : _f.map((e) => e)) || [];
|
|
150
63
|
return message;
|
|
151
64
|
}
|
|
152
65
|
PBGltfContainerLoadingState.fromPartial = fromPartial;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gltf_container_loading_state.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,kEAAoG;AAEvF,QAAA,eAAe,GAAG,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"gltf_container_loading_state.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,kEAAoG;AAEvF,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAU7D,SAAS,qCAAqC;IAC5C,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;AAC7B,CAAC;AAED,IAAiB,2BAA2B,CAsD3C;AAtDD,WAAiB,2BAA2B;IAC1C,SAAgB,MAAM,CAAC,OAAoC,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACnG,IAAI,OAAO,CAAC,YAAY,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,CAAC,M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M,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACtG,CAAC;IAFe,oCAAQ,WAEvB,CAAA;IAED,SAAgB,MAAM,CAAC,OAAoC;QACzD,MAAM,GAAG,GAAQ,EAAE,CAAC;QACpB,OAAO,CAAC,YAAY,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,YAAY,GAAG,IAAA,sCAAkB,EAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;QACpG,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,kCAAM,SAIrB,CAAA;IAED,SAAgB,MAAM,CACpB,IAAQ;QAER,OAAO,2BAA2B,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAC7D,CAAC;IAJe,kCAAM,SAIrB,CAAA;IAED,SAAgB,WAAW,CACzB,MAAS;;QAET,MAAM,OAAO,GAAG,qCAAqC,EAAE,CAAC;QACxD,OAAO,CAAC,YAAY,GAAG,MAAA,MAAM,CAAC,YAAY,mCAAI,CAAC,CAAC;QAChD,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,uCAAW,cAM1B,CAAA;AACH,CAAC,EAtDgB,2BAA2B,2CAA3B,2BAA2B,QAsD3C;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -20,14 +20,6 @@ export interface PBMaterial {
|
|
|
20
20
|
$case: "pbr";
|
|
21
21
|
pbr: PBMaterial_PbrMaterial;
|
|
22
22
|
} | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
|
25
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
|
26
|
-
* supported by the PbMaterial.
|
|
27
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
|
28
|
-
* field with data that reflects the gltf material once it is loaded.
|
|
29
|
-
*/
|
|
30
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
31
23
|
}
|
|
32
24
|
export interface PBMaterial_UnlitMaterial {
|
|
33
25
|
/** default = null */
|
|
@@ -73,10 +65,6 @@ export interface PBMaterial_PbrMaterial {
|
|
|
73
65
|
/** default = 1 */
|
|
74
66
|
directIntensity?: number | undefined;
|
|
75
67
|
}
|
|
76
|
-
export interface PBMaterial_GltfMaterial {
|
|
77
|
-
gltfSrc: string;
|
|
78
|
-
name: string;
|
|
79
|
-
}
|
|
80
68
|
export declare namespace PBMaterial {
|
|
81
69
|
function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
82
70
|
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
@@ -101,14 +89,6 @@ export declare namespace PBMaterial_PbrMaterial {
|
|
|
101
89
|
function create<I extends Exact<DeepPartial<PBMaterial_PbrMaterial>, I>>(base?: I): PBMaterial_PbrMaterial;
|
|
102
90
|
function fromPartial<I extends Exact<DeepPartial<PBMaterial_PbrMaterial>, I>>(object: I): PBMaterial_PbrMaterial;
|
|
103
91
|
}
|
|
104
|
-
export declare namespace PBMaterial_GltfMaterial {
|
|
105
|
-
function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
106
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
107
|
-
function fromJSON(object: any): PBMaterial_GltfMaterial;
|
|
108
|
-
function toJSON(message: PBMaterial_GltfMaterial): unknown;
|
|
109
|
-
function create<I extends Exact<DeepPartial<PBMaterial_GltfMaterial>, I>>(base?: I): PBMaterial_GltfMaterial;
|
|
110
|
-
function fromPartial<I extends Exact<DeepPartial<PBMaterial_GltfMaterial>, I>>(object: I): PBMaterial_GltfMaterial;
|
|
111
|
-
}
|
|
112
92
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
113
93
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
114
94
|
$case: string;
|