@dcl/ecs 1.0.0-20220511175240.commit-459bc31 → 1.0.0-20220525093820.commit-c20b8cd
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/definitions/AudioSource.proto +16 -0
- package/dist/components/definitions/AudioStream.proto +13 -0
- package/dist/components/definitions/ConeShape.proto +15 -0
- package/dist/components/definitions/CylinderShape.proto +15 -0
- package/dist/components/definitions/PlaneShape.proto +14 -0
- package/dist/components/definitions/SphereShape.proto +13 -0
- package/dist/components/generated/AudioSource.d.ts +5 -0
- package/dist/components/generated/AudioSource.d.ts.map +1 -0
- package/dist/components/generated/AudioSource.js +17 -0
- package/dist/components/generated/AudioSource.js.map +1 -0
- package/dist/components/generated/AudioStream.d.ts +5 -0
- package/dist/components/generated/AudioStream.d.ts.map +1 -0
- package/dist/components/generated/AudioStream.js +17 -0
- package/dist/components/generated/AudioStream.js.map +1 -0
- package/dist/components/generated/ConeShape.d.ts +5 -0
- package/dist/components/generated/ConeShape.d.ts.map +1 -0
- package/dist/components/generated/ConeShape.js +17 -0
- package/dist/components/generated/ConeShape.js.map +1 -0
- package/dist/components/generated/CylinderShape.d.ts +5 -0
- package/dist/components/generated/CylinderShape.d.ts.map +1 -0
- package/dist/components/generated/CylinderShape.js +17 -0
- package/dist/components/generated/CylinderShape.js.map +1 -0
- package/dist/components/generated/PlaneShape.d.ts +5 -0
- package/dist/components/generated/PlaneShape.d.ts.map +1 -0
- package/dist/components/generated/PlaneShape.js +17 -0
- package/dist/components/generated/PlaneShape.js.map +1 -0
- package/dist/components/generated/SphereShape.d.ts +5 -0
- package/dist/components/generated/SphereShape.d.ts.map +1 -0
- package/dist/components/generated/SphereShape.js +17 -0
- package/dist/components/generated/SphereShape.js.map +1 -0
- package/dist/components/generated/index.d.ts +8 -2
- package/dist/components/generated/index.d.ts.map +1 -1
- package/dist/components/generated/index.js +13 -1
- package/dist/components/generated/index.js.map +1 -1
- package/dist/components/generated/pb/AudioSource.d.ts +15 -0
- package/dist/components/generated/pb/AudioSource.d.ts.map +1 -0
- package/dist/components/generated/pb/AudioSource.js +95 -0
- package/dist/components/generated/pb/AudioSource.js.map +1 -0
- package/dist/components/generated/pb/AudioStream.d.ts +12 -0
- package/dist/components/generated/pb/AudioStream.d.ts.map +1 -0
- package/dist/components/generated/pb/AudioStream.js +70 -0
- package/dist/components/generated/pb/AudioStream.js.map +1 -0
- package/dist/components/generated/pb/ConeShape.d.ts +14 -0
- package/dist/components/generated/pb/ConeShape.d.ts.map +1 -0
- package/dist/components/generated/pb/ConeShape.js +88 -0
- package/dist/components/generated/pb/ConeShape.js.map +1 -0
- package/dist/components/generated/pb/CylinderShape.d.ts +14 -0
- package/dist/components/generated/pb/CylinderShape.d.ts.map +1 -0
- package/dist/components/generated/pb/CylinderShape.js +88 -0
- package/dist/components/generated/pb/CylinderShape.js.map +1 -0
- package/dist/components/generated/pb/PlaneShape.d.ts +13 -0
- package/dist/components/generated/pb/PlaneShape.d.ts.map +1 -0
- package/dist/components/generated/pb/PlaneShape.js +91 -0
- package/dist/components/generated/pb/PlaneShape.js.map +1 -0
- package/dist/components/generated/pb/SphereShape.d.ts +12 -0
- package/dist/components/generated/pb/SphereShape.d.ts.map +1 -0
- package/dist/components/generated/pb/SphereShape.js +70 -0
- package/dist/components/generated/pb/SphereShape.js.map +1 -0
- package/dist/components/index.d.ts +8 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/legacy/index.d.ts +8 -2
- package/dist/components/legacy/index.d.ts.map +1 -1
- package/dist/components/legacy/index.js.map +1 -1
- package/dist/ecs.api.json +2 -216
- package/dist/engine/index.d.ts +2 -20
- package/dist/engine/index.d.ts.map +1 -1
- package/dist/engine/index.js +2 -5
- package/dist/engine/index.js.map +1 -1
- package/dist/engine/types.d.ts +18 -0
- package/dist/engine/types.d.ts.map +1 -1
- package/dist/engine/utils.d.ts.map +1 -1
- package/dist/engine/utils.js.map +1 -1
- package/dist/serialization/ByteBuffer/index.d.ts +12 -4
- package/dist/serialization/ByteBuffer/index.d.ts.map +1 -1
- package/dist/serialization/ByteBuffer/index.js +20 -6
- package/dist/serialization/ByteBuffer/index.js.map +1 -1
- package/dist/serialization/crdt/componentOperation.d.ts +3 -3
- package/dist/serialization/crdt/componentOperation.d.ts.map +1 -1
- package/dist/serialization/crdt/componentOperation.js +4 -4
- package/dist/serialization/crdt/componentOperation.js.map +1 -1
- package/dist/systems/crdt/index.d.ts +2 -7
- package/dist/systems/crdt/index.d.ts.map +1 -1
- package/dist/systems/crdt/index.js +116 -82
- package/dist/systems/crdt/index.js.map +1 -1
- package/dist/systems/crdt/transport.d.ts +8 -1
- package/dist/systems/crdt/transport.d.ts.map +1 -1
- package/dist/systems/crdt/transport.js +22 -4
- package/dist/systems/crdt/transport.js.map +1 -1
- package/dist/systems/crdt/types.d.ts +11 -0
- package/dist/systems/crdt/types.d.ts.map +1 -0
- package/dist/systems/crdt/types.js +3 -0
- package/dist/systems/crdt/types.js.map +1 -0
- package/dist/systems/crdt/utils.d.ts +2 -4
- package/dist/systems/crdt/utils.d.ts.map +1 -1
- package/dist/systems/crdt/utils.js +10 -9
- package/dist/systems/crdt/utils.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PBConeShape = exports.protobufPackage = void 0;
|
|
27
|
+
/* eslint-disable */
|
|
28
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
29
|
+
exports.protobufPackage = "decentraland.ecs";
|
|
30
|
+
function createBasePBConeShape() {
|
|
31
|
+
return {
|
|
32
|
+
withCollisions: false,
|
|
33
|
+
isPointerBlocker: false,
|
|
34
|
+
visible: false,
|
|
35
|
+
radiusTop: 0,
|
|
36
|
+
radiusBottom: 0,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.PBConeShape = {
|
|
40
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
41
|
+
if (message.withCollisions === true) {
|
|
42
|
+
writer.uint32(8).bool(message.withCollisions);
|
|
43
|
+
}
|
|
44
|
+
if (message.isPointerBlocker === true) {
|
|
45
|
+
writer.uint32(16).bool(message.isPointerBlocker);
|
|
46
|
+
}
|
|
47
|
+
if (message.visible === true) {
|
|
48
|
+
writer.uint32(24).bool(message.visible);
|
|
49
|
+
}
|
|
50
|
+
if (message.radiusTop !== 0) {
|
|
51
|
+
writer.uint32(37).float(message.radiusTop);
|
|
52
|
+
}
|
|
53
|
+
if (message.radiusBottom !== 0) {
|
|
54
|
+
writer.uint32(45).float(message.radiusBottom);
|
|
55
|
+
}
|
|
56
|
+
return writer;
|
|
57
|
+
},
|
|
58
|
+
decode(input, length) {
|
|
59
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
60
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
61
|
+
const message = createBasePBConeShape();
|
|
62
|
+
while (reader.pos < end) {
|
|
63
|
+
const tag = reader.uint32();
|
|
64
|
+
switch (tag >>> 3) {
|
|
65
|
+
case 1:
|
|
66
|
+
message.withCollisions = reader.bool();
|
|
67
|
+
break;
|
|
68
|
+
case 2:
|
|
69
|
+
message.isPointerBlocker = reader.bool();
|
|
70
|
+
break;
|
|
71
|
+
case 3:
|
|
72
|
+
message.visible = reader.bool();
|
|
73
|
+
break;
|
|
74
|
+
case 4:
|
|
75
|
+
message.radiusTop = reader.float();
|
|
76
|
+
break;
|
|
77
|
+
case 5:
|
|
78
|
+
message.radiusBottom = reader.float();
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
reader.skipType(tag & 7);
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=ConeShape.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConeShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/ConeShape.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,wDAA0C;AAE7B,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAUlD,SAAS,qBAAqB;IAC5B,OAAO;QACL,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,KAAK;QACvB,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,CAAC;KAChB,CAAC;AACJ,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,MAAM,CACJ,OAAoB,EACpB,SAAqB,GAAG,CAAC,MA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M,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACjB,KAAK,CAAC;oBACJ,OAAO,CAAC,cAAc,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;oBACvC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,gBAAgB,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;oBACzC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;oBAChC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBACnC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,YAAY,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBACtC,MAAM;gBACR;oBACE,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.ecs";
|
|
3
|
+
export interface PBCylinderShape {
|
|
4
|
+
withCollisions: boolean;
|
|
5
|
+
isPointerBlocker: boolean;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
radiusTop: number;
|
|
8
|
+
radiusBottom: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const PBCylinderShape: {
|
|
11
|
+
encode(message: PBCylinderShape, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBCylinderShape;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=CylinderShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CylinderShape.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/CylinderShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB;AAYD,eAAO,MAAM,eAAe;oBAEf,eAAe,WAChB,IAAI,MAAM,GACjB,IAAI,MAAM;kBAmBC,IAAI,MAAM,GAAG,UAAU,gCAAoB,eAAe;CA6BzE,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PBCylinderShape = exports.protobufPackage = void 0;
|
|
27
|
+
/* eslint-disable */
|
|
28
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
29
|
+
exports.protobufPackage = "decentraland.ecs";
|
|
30
|
+
function createBasePBCylinderShape() {
|
|
31
|
+
return {
|
|
32
|
+
withCollisions: false,
|
|
33
|
+
isPointerBlocker: false,
|
|
34
|
+
visible: false,
|
|
35
|
+
radiusTop: 0,
|
|
36
|
+
radiusBottom: 0,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.PBCylinderShape = {
|
|
40
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
41
|
+
if (message.withCollisions === true) {
|
|
42
|
+
writer.uint32(8).bool(message.withCollisions);
|
|
43
|
+
}
|
|
44
|
+
if (message.isPointerBlocker === true) {
|
|
45
|
+
writer.uint32(16).bool(message.isPointerBlocker);
|
|
46
|
+
}
|
|
47
|
+
if (message.visible === true) {
|
|
48
|
+
writer.uint32(24).bool(message.visible);
|
|
49
|
+
}
|
|
50
|
+
if (message.radiusTop !== 0) {
|
|
51
|
+
writer.uint32(37).float(message.radiusTop);
|
|
52
|
+
}
|
|
53
|
+
if (message.radiusBottom !== 0) {
|
|
54
|
+
writer.uint32(45).float(message.radiusBottom);
|
|
55
|
+
}
|
|
56
|
+
return writer;
|
|
57
|
+
},
|
|
58
|
+
decode(input, length) {
|
|
59
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
60
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
61
|
+
const message = createBasePBCylinderShape();
|
|
62
|
+
while (reader.pos < end) {
|
|
63
|
+
const tag = reader.uint32();
|
|
64
|
+
switch (tag >>> 3) {
|
|
65
|
+
case 1:
|
|
66
|
+
message.withCollisions = reader.bool();
|
|
67
|
+
break;
|
|
68
|
+
case 2:
|
|
69
|
+
message.isPointerBlocker = reader.bool();
|
|
70
|
+
break;
|
|
71
|
+
case 3:
|
|
72
|
+
message.visible = reader.bool();
|
|
73
|
+
break;
|
|
74
|
+
case 4:
|
|
75
|
+
message.radiusTop = reader.float();
|
|
76
|
+
break;
|
|
77
|
+
case 5:
|
|
78
|
+
message.radiusBottom = reader.float();
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
reader.skipType(tag & 7);
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=CylinderShape.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CylinderShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/CylinderShape.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,wDAA0C;AAE7B,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAUlD,SAAS,yBAAyB;IAChC,OAAO;QACL,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,KAAK;QACvB,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,CAAC;KAChB,CAAC;AACJ,CAAC;AAEY,QAAA,eAAe,GAAG;IAC7B,MAAM,CACJ,OAAwB,EACxB,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;SAC/C;QACD,IAAI,OAAO,CAAC,gBAAgB,KAAK,IAAI,EAAE;YACrC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SAClD;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,IA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;oBACJ,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBACnC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,YAAY,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBACtC,MAAM;gBACR;oBACE,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.ecs";
|
|
3
|
+
export interface PBPlaneShape {
|
|
4
|
+
withCollisions: boolean;
|
|
5
|
+
isPointerBlocker: boolean;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
uvs: number[];
|
|
8
|
+
}
|
|
9
|
+
export declare const PBPlaneShape: {
|
|
10
|
+
encode(message: PBPlaneShape, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBPlaneShape;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=PlaneShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlaneShape.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/PlaneShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf;AAWD,eAAO,MAAM,YAAY;oBAEZ,YAAY,WACb,IAAI,MAAM,GACjB,IAAI,MAAM;kBAkBC,IAAI,MAAM,GAAG,UAAU,gCAAoB,YAAY;CAiCtE,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PBPlaneShape = exports.protobufPackage = void 0;
|
|
27
|
+
/* eslint-disable */
|
|
28
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
29
|
+
exports.protobufPackage = "decentraland.ecs";
|
|
30
|
+
function createBasePBPlaneShape() {
|
|
31
|
+
return {
|
|
32
|
+
withCollisions: false,
|
|
33
|
+
isPointerBlocker: false,
|
|
34
|
+
visible: false,
|
|
35
|
+
uvs: [],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.PBPlaneShape = {
|
|
39
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
40
|
+
if (message.withCollisions === true) {
|
|
41
|
+
writer.uint32(8).bool(message.withCollisions);
|
|
42
|
+
}
|
|
43
|
+
if (message.isPointerBlocker === true) {
|
|
44
|
+
writer.uint32(16).bool(message.isPointerBlocker);
|
|
45
|
+
}
|
|
46
|
+
if (message.visible === true) {
|
|
47
|
+
writer.uint32(24).bool(message.visible);
|
|
48
|
+
}
|
|
49
|
+
writer.uint32(34).fork();
|
|
50
|
+
for (const v of message.uvs) {
|
|
51
|
+
writer.float(v);
|
|
52
|
+
}
|
|
53
|
+
writer.ldelim();
|
|
54
|
+
return writer;
|
|
55
|
+
},
|
|
56
|
+
decode(input, length) {
|
|
57
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
58
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
59
|
+
const message = createBasePBPlaneShape();
|
|
60
|
+
while (reader.pos < end) {
|
|
61
|
+
const tag = reader.uint32();
|
|
62
|
+
switch (tag >>> 3) {
|
|
63
|
+
case 1:
|
|
64
|
+
message.withCollisions = reader.bool();
|
|
65
|
+
break;
|
|
66
|
+
case 2:
|
|
67
|
+
message.isPointerBlocker = reader.bool();
|
|
68
|
+
break;
|
|
69
|
+
case 3:
|
|
70
|
+
message.visible = reader.bool();
|
|
71
|
+
break;
|
|
72
|
+
case 4:
|
|
73
|
+
if ((tag & 7) === 2) {
|
|
74
|
+
const end2 = reader.uint32() + reader.pos;
|
|
75
|
+
while (reader.pos < end2) {
|
|
76
|
+
message.uvs.push(reader.float());
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
message.uvs.push(reader.float());
|
|
81
|
+
}
|
|
82
|
+
break;
|
|
83
|
+
default:
|
|
84
|
+
reader.skipType(tag & 7);
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return message;
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=PlaneShape.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlaneShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/PlaneShape.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,wDAA0C;AAE7B,QAAA,eAAe,GAAG,kBAAkB,CAAC;AASlD,SAAS,sBAAsB;IAC7B,OAAO;QACL,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,KAAK;QACvB,OAAO,EAAE,KAAK;QACd,GAAG,EAAE,EAAE;KACR,CAAC;AACJ,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,MAAM,CACJ,OAAqB,EACrB,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;SAC/C;QACD,IAAI,OAAO,CAAC,gBAAgB,KAAK,IAAI,EAAE;YACrC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SAClD;QACD,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SACzC;QACD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACzB,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,GAAG,EAAE;YAC3B,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACjB;QACD,MAAM,CAAC,MAAM,EAAE,CAAC;QAChB,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;Q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ACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.ecs";
|
|
3
|
+
export interface PBSphereShape {
|
|
4
|
+
withCollisions: boolean;
|
|
5
|
+
isPointerBlocker: boolean;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const PBSphereShape: {
|
|
9
|
+
encode(message: PBSphereShape, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBSphereShape;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=SphereShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SphereShape.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/SphereShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAMD,eAAO,MAAM,aAAa;oBAEb,aAAa,WACd,IAAI,MAAM,GACjB,IAAI,MAAM;kBAaC,IAAI,MAAM,GAAG,UAAU,gCAAoB,aAAa;CAuBvE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PBSphereShape = exports.protobufPackage = void 0;
|
|
27
|
+
/* eslint-disable */
|
|
28
|
+
const _m0 = __importStar(require("protobufjs/minimal"));
|
|
29
|
+
exports.protobufPackage = "decentraland.ecs";
|
|
30
|
+
function createBasePBSphereShape() {
|
|
31
|
+
return { withCollisions: false, isPointerBlocker: false, visible: false };
|
|
32
|
+
}
|
|
33
|
+
exports.PBSphereShape = {
|
|
34
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
35
|
+
if (message.withCollisions === true) {
|
|
36
|
+
writer.uint32(8).bool(message.withCollisions);
|
|
37
|
+
}
|
|
38
|
+
if (message.isPointerBlocker === true) {
|
|
39
|
+
writer.uint32(16).bool(message.isPointerBlocker);
|
|
40
|
+
}
|
|
41
|
+
if (message.visible === true) {
|
|
42
|
+
writer.uint32(24).bool(message.visible);
|
|
43
|
+
}
|
|
44
|
+
return writer;
|
|
45
|
+
},
|
|
46
|
+
decode(input, length) {
|
|
47
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
48
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
49
|
+
const message = createBasePBSphereShape();
|
|
50
|
+
while (reader.pos < end) {
|
|
51
|
+
const tag = reader.uint32();
|
|
52
|
+
switch (tag >>> 3) {
|
|
53
|
+
case 1:
|
|
54
|
+
message.withCollisions = reader.bool();
|
|
55
|
+
break;
|
|
56
|
+
case 2:
|
|
57
|
+
message.isPointerBlocker = reader.bool();
|
|
58
|
+
break;
|
|
59
|
+
case 3:
|
|
60
|
+
message.visible = reader.bool();
|
|
61
|
+
break;
|
|
62
|
+
default:
|
|
63
|
+
reader.skipType(tag & 7);
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return message;
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=SphereShape.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SphereShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/SphereShape.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,wDAA0C;AAE7B,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAQlD,SAAS,uBAAuB;IAC9B,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC5E,CAAC;AAEY,QAAA,aAAa,GAAG;IAC3B,MAAM,CACJ,OAAsB,EACtB,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;SAC/C;QACD,IAAI,OAAO,CAAC,gBAAgB,KAAK,IAAI,EAAE;YACrC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC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
-
export declare function defineSdkComponents(engine: Pick<
|
|
3
|
+
export declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>): {
|
|
4
|
+
AudioSource: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/AudioSource").PBAudioSource>>;
|
|
5
|
+
AudioStream: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/AudioStream").PBAudioStream>>;
|
|
4
6
|
BoxShape: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/BoxShape").PBBoxShape>>;
|
|
7
|
+
ConeShape: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/ConeShape").PBConeShape>>;
|
|
8
|
+
CylinderShape: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/CylinderShape").PBCylinderShape>>;
|
|
9
|
+
PlaneShape: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/PlaneShape").PBPlaneShape>>;
|
|
10
|
+
SphereShape: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<import("./generated/pb/SphereShape").PBSphereShape>>;
|
|
5
11
|
Transform: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<{
|
|
6
12
|
position: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
7
13
|
rotation: import("@dcl/ecs-math").Quaternion.MutableQuaternion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,cAAc,SAAS,CAAA;AAEvB,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;EAI3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qCAAiD;AAGjD,0CAAuB;AAEvB,SAAgB,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qCAAiD;AAGjD,0CAAuB;AAEvB,SAAgB,mBAAmB,CAAC,MAAwC;IAC1E,OAAO;QACL,GAAG,IAAA,+BAAsB,EAAC,MAAM,CAAC;KAClC,CAAA;AACH,CAAC;AAJD,kDAIC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function defineLegacyComponents({ defineComponent }: Pick<
|
|
1
|
+
import type { IEngine } from '../../engine/types';
|
|
2
|
+
export declare function defineLegacyComponents({ defineComponent }: Pick<IEngine, 'defineComponent'>): {
|
|
3
|
+
AudioSource: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/AudioSource").PBAudioSource>>;
|
|
4
|
+
AudioStream: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/AudioStream").PBAudioStream>>;
|
|
3
5
|
BoxShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/BoxShape").PBBoxShape>>;
|
|
6
|
+
ConeShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/ConeShape").PBConeShape>>;
|
|
7
|
+
CylinderShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/CylinderShape").PBCylinderShape>>;
|
|
8
|
+
PlaneShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/PlaneShape").PBPlaneShape>>;
|
|
9
|
+
SphereShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("../generated/pb/SphereShape").PBSphereShape>>;
|
|
4
10
|
Transform: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<{
|
|
5
11
|
position: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
6
12
|
rotation: import("@dcl/ecs-math").Quaternion.MutableQuaternion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/legacy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/legacy/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAKjD,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EAChB,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;EAKlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/legacy/index.ts"],"names":[],"mappings":";;;AACA,4CAA6D;AAC7D,2CAA0D;AAC1D,mCAAmD;AAEnD,SAAgB,sBAAsB,CAAC,EACrC,eAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/legacy/index.ts"],"names":[],"mappings":";;;AACA,4CAA6D;AAC7D,2CAA0D;AAC1D,mCAAmD;AAEnD,SAAgB,sBAAsB,CAAC,EACrC,eAAe,EACkB;IACjC,OAAO;QACL,SAAS,EAAE,eAAe,CAAC,2BAAE,CAAC,SAAS,EAAE,qBAAe,CAAC;QACzD,GAAG,IAAA,0CAA8B,EAAC,EAAE,eAAe,EAAE,CAAC;KACvD,CAAA;AACH,CAAC;AAPD,wDAOC"}
|