@dcl/protocol 1.0.0-10170032882.commit-971bcef → 1.0.0-10251900388.commit-3efaea5
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/realm/about.gen.d.ts +4 -1
- package/out-js/decentraland/realm/about.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/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/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/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 -35
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +2 -188
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-ts/decentraland/realm/about.gen.ts +4 -1
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
- 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/ui_text.gen.ts +1 -40
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1 -212
- package/package.json +2 -2
- package/proto/decentraland/realm/about.proto +9 -4
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
- package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
- package/proto/decentraland/sdk/components/material.proto +0 -11
- 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/ui_text.proto +0 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +0 -21
- 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/gltf_node.proto +0 -42
- package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
|
@@ -4,7 +4,7 @@ import { CameraType } from "./common/camera_type.gen";
|
|
|
4
4
|
export declare const protobufPackage = "decentraland.sdk.components";
|
|
5
5
|
/**
|
|
6
6
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
|
7
|
-
* the player's camera mode (1st-person
|
|
7
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
|
8
8
|
*
|
|
9
9
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
|
10
10
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
@@ -14,38 +14,12 @@ export declare const protobufPackage = "decentraland.sdk.components";
|
|
|
14
14
|
*
|
|
15
15
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
16
16
|
* is actually a 3D volume.
|
|
17
|
-
*
|
|
18
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
|
19
17
|
*/
|
|
20
18
|
export interface PBCameraModeArea {
|
|
21
19
|
/** the 3D size of the region */
|
|
22
20
|
area: Vector3 | undefined;
|
|
23
21
|
/** the camera mode to enforce */
|
|
24
22
|
mode: CameraType;
|
|
25
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
26
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
27
|
-
useColliderRange?: boolean | undefined;
|
|
28
|
-
}
|
|
29
|
-
export interface CinematicSettings {
|
|
30
|
-
/** Entity that defines the cinematic camera transform. */
|
|
31
|
-
cameraEntity: number;
|
|
32
|
-
/**
|
|
33
|
-
* Position -> camera's position
|
|
34
|
-
* Rotation -> camera's direction
|
|
35
|
-
* scale.z -> zoom level
|
|
36
|
-
* scale.x and scale.y -> unused
|
|
37
|
-
*/
|
|
38
|
-
allowManualRotation?: boolean | undefined;
|
|
39
|
-
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
|
40
|
-
yawRange?: number | undefined;
|
|
41
|
-
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
|
42
|
-
pitchRange?: number | undefined;
|
|
43
|
-
/** note: cameras can never look up/down further than Vec3::Y */
|
|
44
|
-
rollRange?: number | undefined;
|
|
45
|
-
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
46
|
-
zoomMin?: number | undefined;
|
|
47
|
-
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
48
|
-
zoomMax?: number | undefined;
|
|
49
23
|
}
|
|
50
24
|
export declare namespace PBCameraModeArea {
|
|
51
25
|
function encode(message: PBCameraModeArea, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -55,14 +29,6 @@ export declare namespace PBCameraModeArea {
|
|
|
55
29
|
function create<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(base?: I): PBCameraModeArea;
|
|
56
30
|
function fromPartial<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(object: I): PBCameraModeArea;
|
|
57
31
|
}
|
|
58
|
-
export declare namespace CinematicSettings {
|
|
59
|
-
function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
60
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
61
|
-
function fromJSON(object: any): CinematicSettings;
|
|
62
|
-
function toJSON(message: CinematicSettings): unknown;
|
|
63
|
-
function create<I extends Exact<DeepPartial<CinematicSettings>, I>>(base?: I): CinematicSettings;
|
|
64
|
-
function fromPartial<I extends Exact<DeepPartial<CinematicSettings>, I>>(object: I): CinematicSettings;
|
|
65
|
-
}
|
|
66
32
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
67
33
|
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 {
|
|
68
34
|
$case: string;
|
|
@@ -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;AAwB7D,SAAS,0BAA0B;IACjC,OAAO,EAAE,IAAI,EA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,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"}
|
|
@@ -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;AAU7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: "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 */
|
|
@@ -71,10 +63,6 @@ export interface PBMaterial_PbrMaterial {
|
|
|
71
63
|
/** default = 1 */
|
|
72
64
|
directIntensity?: number | undefined;
|
|
73
65
|
}
|
|
74
|
-
export interface PBMaterial_GltfMaterial {
|
|
75
|
-
gltfSrc: string;
|
|
76
|
-
name: string;
|
|
77
|
-
}
|
|
78
66
|
export declare namespace PBMaterial {
|
|
79
67
|
function encode(message: PBMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
80
68
|
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
@@ -99,14 +87,6 @@ export declare namespace PBMaterial_PbrMaterial {
|
|
|
99
87
|
function create<I extends Exact<DeepPartial<PBMaterial_PbrMaterial>, I>>(base?: I): PBMaterial_PbrMaterial;
|
|
100
88
|
function fromPartial<I extends Exact<DeepPartial<PBMaterial_PbrMaterial>, I>>(object: I): PBMaterial_PbrMaterial;
|
|
101
89
|
}
|
|
102
|
-
export declare namespace PBMaterial_GltfMaterial {
|
|
103
|
-
function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
104
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
105
|
-
function fromJSON(object: any): PBMaterial_GltfMaterial;
|
|
106
|
-
function toJSON(message: PBMaterial_GltfMaterial): unknown;
|
|
107
|
-
function create<I extends Exact<DeepPartial<PBMaterial_GltfMaterial>, I>>(base?: I): PBMaterial_GltfMaterial;
|
|
108
|
-
function fromPartial<I extends Exact<DeepPartial<PBMaterial_GltfMaterial>, I>>(object: I): PBMaterial_GltfMaterial;
|
|
109
|
-
}
|
|
110
90
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
111
91
|
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 {
|
|
112
92
|
$case: string;
|