@dcl/ecs 7.22.4-24475947109.commit-33014a1 → 7.22.4-24516040558.commit-1309a55
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/dist/components/generated/pb/decentraland/sdk/components/particle_system.gen.d.ts +14 -1
- package/dist/components/generated/pb/decentraland/sdk/components/particle_system.gen.js +42 -4
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/particle_system.gen.d.ts +14 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/particle_system.gen.js +43 -5
- package/package.json +2 -2
|
@@ -67,7 +67,7 @@ export interface PBParticleSystem {
|
|
|
67
67
|
/** --- Playback --- */
|
|
68
68
|
playbackState?: PBParticleSystem_PlaybackState | undefined;
|
|
69
69
|
/** --- Emission Bursts --- */
|
|
70
|
-
bursts
|
|
70
|
+
bursts?: PBParticleSystem_BurstConfiguration | undefined;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* @public
|
|
@@ -155,6 +155,12 @@ export interface PBParticleSystem_Box {
|
|
|
155
155
|
size?: Vector3 | undefined;
|
|
156
156
|
}
|
|
157
157
|
/** Emission burst configuration. */
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export interface PBParticleSystem_BurstConfiguration {
|
|
162
|
+
values: PBParticleSystem_Burst[];
|
|
163
|
+
}
|
|
158
164
|
/**
|
|
159
165
|
* @public
|
|
160
166
|
*/
|
|
@@ -219,6 +225,13 @@ export declare namespace PBParticleSystem_Box {
|
|
|
219
225
|
function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
|
|
220
226
|
function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
|
|
221
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare namespace PBParticleSystem_BurstConfiguration {
|
|
232
|
+
function encode(message: PBParticleSystem_BurstConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
233
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_BurstConfiguration;
|
|
234
|
+
}
|
|
222
235
|
/**
|
|
223
236
|
* @public
|
|
224
237
|
*/
|
|
@@ -65,7 +65,7 @@ function createBasePBParticleSystem() {
|
|
|
65
65
|
simulationSpace: undefined,
|
|
66
66
|
limitVelocity: undefined,
|
|
67
67
|
playbackState: undefined,
|
|
68
|
-
bursts:
|
|
68
|
+
bursts: undefined,
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
@@ -157,8 +157,8 @@ export var PBParticleSystem;
|
|
|
157
157
|
if (message.playbackState !== undefined) {
|
|
158
158
|
writer.uint32(176).int32(message.playbackState);
|
|
159
159
|
}
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
if (message.bursts !== undefined) {
|
|
161
|
+
PBParticleSystem_BurstConfiguration.encode(message.bursts, writer.uint32(234).fork()).ldelim();
|
|
162
162
|
}
|
|
163
163
|
return writer;
|
|
164
164
|
}
|
|
@@ -336,7 +336,7 @@ export var PBParticleSystem;
|
|
|
336
336
|
if (tag !== 234) {
|
|
337
337
|
break;
|
|
338
338
|
}
|
|
339
|
-
message.bursts.
|
|
339
|
+
message.bursts = PBParticleSystem_BurstConfiguration.decode(reader, reader.uint32());
|
|
340
340
|
continue;
|
|
341
341
|
}
|
|
342
342
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -603,6 +603,44 @@ export var PBParticleSystem_Box;
|
|
|
603
603
|
}
|
|
604
604
|
PBParticleSystem_Box.decode = decode;
|
|
605
605
|
})(PBParticleSystem_Box || (PBParticleSystem_Box = {}));
|
|
606
|
+
function createBasePBParticleSystem_BurstConfiguration() {
|
|
607
|
+
return { values: [] };
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
export var PBParticleSystem_BurstConfiguration;
|
|
613
|
+
(function (PBParticleSystem_BurstConfiguration) {
|
|
614
|
+
function encode(message, writer = _m0.Writer.create()) {
|
|
615
|
+
for (const v of message.values) {
|
|
616
|
+
PBParticleSystem_Burst.encode(v, writer.uint32(10).fork()).ldelim();
|
|
617
|
+
}
|
|
618
|
+
return writer;
|
|
619
|
+
}
|
|
620
|
+
PBParticleSystem_BurstConfiguration.encode = encode;
|
|
621
|
+
function decode(input, length) {
|
|
622
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
623
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
624
|
+
const message = createBasePBParticleSystem_BurstConfiguration();
|
|
625
|
+
while (reader.pos < end) {
|
|
626
|
+
const tag = reader.uint32();
|
|
627
|
+
switch (tag >>> 3) {
|
|
628
|
+
case 1:
|
|
629
|
+
if (tag !== 10) {
|
|
630
|
+
break;
|
|
631
|
+
}
|
|
632
|
+
message.values.push(PBParticleSystem_Burst.decode(reader, reader.uint32()));
|
|
633
|
+
continue;
|
|
634
|
+
}
|
|
635
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
reader.skipType(tag & 7);
|
|
639
|
+
}
|
|
640
|
+
return message;
|
|
641
|
+
}
|
|
642
|
+
PBParticleSystem_BurstConfiguration.decode = decode;
|
|
643
|
+
})(PBParticleSystem_BurstConfiguration || (PBParticleSystem_BurstConfiguration = {}));
|
|
606
644
|
function createBasePBParticleSystem_Burst() {
|
|
607
645
|
return { time: 0, count: 0, cycles: undefined, interval: undefined, probability: undefined };
|
|
608
646
|
}
|
package/dist-cjs/components/generated/pb/decentraland/sdk/components/particle_system.gen.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export interface PBParticleSystem {
|
|
|
67
67
|
/** --- Playback --- */
|
|
68
68
|
playbackState?: PBParticleSystem_PlaybackState | undefined;
|
|
69
69
|
/** --- Emission Bursts --- */
|
|
70
|
-
bursts
|
|
70
|
+
bursts?: PBParticleSystem_BurstConfiguration | undefined;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* @public
|
|
@@ -155,6 +155,12 @@ export interface PBParticleSystem_Box {
|
|
|
155
155
|
size?: Vector3 | undefined;
|
|
156
156
|
}
|
|
157
157
|
/** Emission burst configuration. */
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export interface PBParticleSystem_BurstConfiguration {
|
|
162
|
+
values: PBParticleSystem_Burst[];
|
|
163
|
+
}
|
|
158
164
|
/**
|
|
159
165
|
* @public
|
|
160
166
|
*/
|
|
@@ -219,6 +225,13 @@ export declare namespace PBParticleSystem_Box {
|
|
|
219
225
|
function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
|
|
220
226
|
function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
|
|
221
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare namespace PBParticleSystem_BurstConfiguration {
|
|
232
|
+
function encode(message: PBParticleSystem_BurstConfiguration, writer?: _m0.Writer): _m0.Writer;
|
|
233
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_BurstConfiguration;
|
|
234
|
+
}
|
|
222
235
|
/**
|
|
223
236
|
* @public
|
|
224
237
|
*/
|
|
@@ -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.PBParticleSystem_Burst = exports.PBParticleSystem_Box = exports.PBParticleSystem_Cone = exports.PBParticleSystem_Sphere = exports.PBParticleSystem_Point = exports.PBParticleSystem_LimitVelocity = exports.PBParticleSystem_SpriteSheetAnimation = exports.PBParticleSystem = exports.PBParticleSystem_SimulationSpace = exports.PBParticleSystem_PlaybackState = exports.PBParticleSystem_BlendMode = void 0;
|
|
6
|
+
exports.PBParticleSystem_Burst = exports.PBParticleSystem_BurstConfiguration = exports.PBParticleSystem_Box = exports.PBParticleSystem_Cone = exports.PBParticleSystem_Sphere = exports.PBParticleSystem_Point = exports.PBParticleSystem_LimitVelocity = exports.PBParticleSystem_SpriteSheetAnimation = exports.PBParticleSystem = exports.PBParticleSystem_SimulationSpace = exports.PBParticleSystem_PlaybackState = exports.PBParticleSystem_BlendMode = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
9
|
const colors_gen_1 = require("../../common/colors.gen");
|
|
@@ -71,7 +71,7 @@ function createBasePBParticleSystem() {
|
|
|
71
71
|
simulationSpace: undefined,
|
|
72
72
|
limitVelocity: undefined,
|
|
73
73
|
playbackState: undefined,
|
|
74
|
-
bursts:
|
|
74
|
+
bursts: undefined,
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
@@ -163,8 +163,8 @@ var PBParticleSystem;
|
|
|
163
163
|
if (message.playbackState !== undefined) {
|
|
164
164
|
writer.uint32(176).int32(message.playbackState);
|
|
165
165
|
}
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
if (message.bursts !== undefined) {
|
|
167
|
+
PBParticleSystem_BurstConfiguration.encode(message.bursts, writer.uint32(234).fork()).ldelim();
|
|
168
168
|
}
|
|
169
169
|
return writer;
|
|
170
170
|
}
|
|
@@ -342,7 +342,7 @@ var PBParticleSystem;
|
|
|
342
342
|
if (tag !== 234) {
|
|
343
343
|
break;
|
|
344
344
|
}
|
|
345
|
-
message.bursts.
|
|
345
|
+
message.bursts = PBParticleSystem_BurstConfiguration.decode(reader, reader.uint32());
|
|
346
346
|
continue;
|
|
347
347
|
}
|
|
348
348
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -609,6 +609,44 @@ var PBParticleSystem_Box;
|
|
|
609
609
|
}
|
|
610
610
|
PBParticleSystem_Box.decode = decode;
|
|
611
611
|
})(PBParticleSystem_Box = exports.PBParticleSystem_Box || (exports.PBParticleSystem_Box = {}));
|
|
612
|
+
function createBasePBParticleSystem_BurstConfiguration() {
|
|
613
|
+
return { values: [] };
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
var PBParticleSystem_BurstConfiguration;
|
|
619
|
+
(function (PBParticleSystem_BurstConfiguration) {
|
|
620
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
621
|
+
for (const v of message.values) {
|
|
622
|
+
PBParticleSystem_Burst.encode(v, writer.uint32(10).fork()).ldelim();
|
|
623
|
+
}
|
|
624
|
+
return writer;
|
|
625
|
+
}
|
|
626
|
+
PBParticleSystem_BurstConfiguration.encode = encode;
|
|
627
|
+
function decode(input, length) {
|
|
628
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
629
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
630
|
+
const message = createBasePBParticleSystem_BurstConfiguration();
|
|
631
|
+
while (reader.pos < end) {
|
|
632
|
+
const tag = reader.uint32();
|
|
633
|
+
switch (tag >>> 3) {
|
|
634
|
+
case 1:
|
|
635
|
+
if (tag !== 10) {
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
message.values.push(PBParticleSystem_Burst.decode(reader, reader.uint32()));
|
|
639
|
+
continue;
|
|
640
|
+
}
|
|
641
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
642
|
+
break;
|
|
643
|
+
}
|
|
644
|
+
reader.skipType(tag & 7);
|
|
645
|
+
}
|
|
646
|
+
return message;
|
|
647
|
+
}
|
|
648
|
+
PBParticleSystem_BurstConfiguration.decode = decode;
|
|
649
|
+
})(PBParticleSystem_BurstConfiguration = exports.PBParticleSystem_BurstConfiguration || (exports.PBParticleSystem_BurstConfiguration = {}));
|
|
612
650
|
function createBasePBParticleSystem_Burst() {
|
|
613
651
|
return { time: 0, count: 0, cycles: undefined, interval: undefined, probability: undefined };
|
|
614
652
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
3
|
"description": "Decentraland ECS",
|
|
4
|
-
"version": "7.22.4-
|
|
4
|
+
"version": "7.22.4-24516040558.commit-1309a55",
|
|
5
5
|
"author": "DCL",
|
|
6
6
|
"bugs": "https://github.com/decentraland/ecs/issues",
|
|
7
7
|
"files": [
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"dependencies": {},
|
|
35
35
|
"types": "./dist/index.d.ts",
|
|
36
36
|
"typings": "./dist/index.d.ts",
|
|
37
|
-
"commit": "
|
|
37
|
+
"commit": "1309a552442670f22b64ad4cea1d88136188ad2f"
|
|
38
38
|
}
|