@dcl/ecs 1.0.0-20220525093820.commit-c20b8cd → 1.0.0-20220601113849.commit-ab0b9fd
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/index.d.ts +1678 -2
- package/dist/index.js +5838 -18
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/package.json +9 -4
- package/dist/built-in-types/ArrayType.d.ts +0 -3
- package/dist/built-in-types/ArrayType.d.ts.map +0 -1
- package/dist/built-in-types/ArrayType.js +0 -23
- package/dist/built-in-types/ArrayType.js.map +0 -1
- package/dist/built-in-types/EcsType.d.ts +0 -6
- package/dist/built-in-types/EcsType.d.ts.map +0 -1
- package/dist/built-in-types/EcsType.js +0 -3
- package/dist/built-in-types/EcsType.js.map +0 -1
- package/dist/built-in-types/MapType.d.ts +0 -10
- package/dist/built-in-types/MapType.d.ts.map +0 -1
- package/dist/built-in-types/MapType.js +0 -24
- package/dist/built-in-types/MapType.js.map +0 -1
- package/dist/built-in-types/Optional.d.ts +0 -3
- package/dist/built-in-types/Optional.d.ts.map +0 -1
- package/dist/built-in-types/Optional.js +0 -24
- package/dist/built-in-types/Optional.js.map +0 -1
- package/dist/built-in-types/basic/Boolean.d.ts +0 -3
- package/dist/built-in-types/basic/Boolean.d.ts.map +0 -1
- package/dist/built-in-types/basic/Boolean.js +0 -12
- package/dist/built-in-types/basic/Boolean.js.map +0 -1
- package/dist/built-in-types/basic/Enum.d.ts +0 -3
- package/dist/built-in-types/basic/Enum.d.ts.map +0 -1
- package/dist/built-in-types/basic/Enum.js +0 -15
- package/dist/built-in-types/basic/Enum.js.map +0 -1
- package/dist/built-in-types/basic/Float.d.ts +0 -4
- package/dist/built-in-types/basic/Float.d.ts.map +0 -1
- package/dist/built-in-types/basic/Float.js +0 -20
- package/dist/built-in-types/basic/Float.js.map +0 -1
- package/dist/built-in-types/basic/Integer.d.ts +0 -6
- package/dist/built-in-types/basic/Integer.d.ts.map +0 -1
- package/dist/built-in-types/basic/Integer.js +0 -44
- package/dist/built-in-types/basic/Integer.js.map +0 -1
- package/dist/built-in-types/basic/String.d.ts +0 -4
- package/dist/built-in-types/basic/String.d.ts.map +0 -1
- package/dist/built-in-types/basic/String.js +0 -13
- package/dist/built-in-types/basic/String.js.map +0 -1
- package/dist/built-in-types/index.d.ts +0 -10
- package/dist/built-in-types/index.d.ts.map +0 -1
- package/dist/built-in-types/index.js +0 -26
- package/dist/built-in-types/index.js.map +0 -1
- package/dist/built-in-types/typing.d.ts +0 -17
- package/dist/built-in-types/typing.d.ts.map +0 -1
- package/dist/built-in-types/typing.js +0 -3
- package/dist/built-in-types/typing.js.map +0 -1
- package/dist/components/definitions/AudioSource.proto +0 -16
- package/dist/components/definitions/AudioStream.proto +0 -13
- package/dist/components/definitions/BoxShape.proto +0 -14
- package/dist/components/definitions/ConeShape.proto +0 -15
- package/dist/components/definitions/CylinderShape.proto +0 -15
- package/dist/components/definitions/PlaneShape.proto +0 -14
- package/dist/components/definitions/README.md +0 -0
- package/dist/components/definitions/SphereShape.proto +0 -13
- package/dist/components/definitions/Transform.md +0 -23
- package/dist/components/generated/AudioSource.d.ts +0 -5
- package/dist/components/generated/AudioSource.d.ts.map +0 -1
- package/dist/components/generated/AudioSource.js +0 -17
- package/dist/components/generated/AudioSource.js.map +0 -1
- package/dist/components/generated/AudioStream.d.ts +0 -5
- package/dist/components/generated/AudioStream.d.ts.map +0 -1
- package/dist/components/generated/AudioStream.js +0 -17
- package/dist/components/generated/AudioStream.js.map +0 -1
- package/dist/components/generated/BoxShape.d.ts +0 -5
- package/dist/components/generated/BoxShape.d.ts.map +0 -1
- package/dist/components/generated/BoxShape.js +0 -17
- package/dist/components/generated/BoxShape.js.map +0 -1
- package/dist/components/generated/ConeShape.d.ts +0 -5
- package/dist/components/generated/ConeShape.d.ts.map +0 -1
- package/dist/components/generated/ConeShape.js +0 -17
- package/dist/components/generated/ConeShape.js.map +0 -1
- package/dist/components/generated/CylinderShape.d.ts +0 -5
- package/dist/components/generated/CylinderShape.d.ts.map +0 -1
- package/dist/components/generated/CylinderShape.js +0 -17
- package/dist/components/generated/CylinderShape.js.map +0 -1
- package/dist/components/generated/PlaneShape.d.ts +0 -5
- package/dist/components/generated/PlaneShape.d.ts.map +0 -1
- package/dist/components/generated/PlaneShape.js +0 -17
- package/dist/components/generated/PlaneShape.js.map +0 -1
- package/dist/components/generated/SphereShape.d.ts +0 -5
- package/dist/components/generated/SphereShape.d.ts.map +0 -1
- package/dist/components/generated/SphereShape.js +0 -17
- package/dist/components/generated/SphereShape.js.map +0 -1
- package/dist/components/generated/index.d.ts +0 -11
- package/dist/components/generated/index.d.ts.map +0 -1
- package/dist/components/generated/index.js +0 -46
- package/dist/components/generated/index.js.map +0 -1
- package/dist/components/generated/pb/AudioSource.d.ts +0 -15
- package/dist/components/generated/pb/AudioSource.d.ts.map +0 -1
- package/dist/components/generated/pb/AudioSource.js +0 -95
- package/dist/components/generated/pb/AudioSource.js.map +0 -1
- package/dist/components/generated/pb/AudioStream.d.ts +0 -12
- package/dist/components/generated/pb/AudioStream.d.ts.map +0 -1
- package/dist/components/generated/pb/AudioStream.js +0 -70
- package/dist/components/generated/pb/AudioStream.js.map +0 -1
- package/dist/components/generated/pb/BoxShape.d.ts +0 -13
- package/dist/components/generated/pb/BoxShape.d.ts.map +0 -1
- package/dist/components/generated/pb/BoxShape.js +0 -91
- package/dist/components/generated/pb/BoxShape.js.map +0 -1
- package/dist/components/generated/pb/ConeShape.d.ts +0 -14
- package/dist/components/generated/pb/ConeShape.d.ts.map +0 -1
- package/dist/components/generated/pb/ConeShape.js +0 -88
- package/dist/components/generated/pb/ConeShape.js.map +0 -1
- package/dist/components/generated/pb/CylinderShape.d.ts +0 -14
- package/dist/components/generated/pb/CylinderShape.d.ts.map +0 -1
- package/dist/components/generated/pb/CylinderShape.js +0 -88
- package/dist/components/generated/pb/CylinderShape.js.map +0 -1
- package/dist/components/generated/pb/PlaneShape.d.ts +0 -13
- package/dist/components/generated/pb/PlaneShape.d.ts.map +0 -1
- package/dist/components/generated/pb/PlaneShape.js +0 -91
- package/dist/components/generated/pb/PlaneShape.js.map +0 -1
- package/dist/components/generated/pb/SphereShape.d.ts +0 -12
- package/dist/components/generated/pb/SphereShape.d.ts.map +0 -1
- package/dist/components/generated/pb/SphereShape.js +0 -70
- package/dist/components/generated/pb/SphereShape.js.map +0 -1
- package/dist/components/index.d.ts +0 -18
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -26
- package/dist/components/index.js.map +0 -1
- package/dist/components/legacy/Transform.d.ts +0 -13
- package/dist/components/legacy/Transform.d.ts.map +0 -1
- package/dist/components/legacy/Transform.js +0 -32
- package/dist/components/legacy/Transform.js.map +0 -1
- package/dist/components/legacy/index.d.ts +0 -17
- package/dist/components/legacy/index.d.ts.map +0 -1
- package/dist/components/legacy/index.js +0 -14
- package/dist/components/legacy/index.js.map +0 -1
- package/dist/components/legacy/types.d.ts +0 -52
- package/dist/components/legacy/types.d.ts.map +0 -1
- package/dist/components/legacy/types.js +0 -57
- package/dist/components/legacy/types.js.map +0 -1
- package/dist/components/types.d.ts +0 -4
- package/dist/components/types.d.ts.map +0 -1
- package/dist/components/types.js +0 -8
- package/dist/components/types.js.map +0 -1
- package/dist/ecs.api.json +0 -204
- package/dist/engine/component.d.ts +0 -26
- package/dist/engine/component.d.ts.map +0 -1
- package/dist/engine/component.js +0 -103
- package/dist/engine/component.js.map +0 -1
- package/dist/engine/entity-utils.d.ts +0 -8
- package/dist/engine/entity-utils.d.ts.map +0 -1
- package/dist/engine/entity-utils.js +0 -22
- package/dist/engine/entity-utils.js.map +0 -1
- package/dist/engine/entity.d.ts +0 -18
- package/dist/engine/entity.d.ts.map +0 -1
- package/dist/engine/entity.js +0 -80
- package/dist/engine/entity.js.map +0 -1
- package/dist/engine/index.d.ts +0 -28
- package/dist/engine/index.d.ts.map +0 -1
- package/dist/engine/index.js +0 -136
- package/dist/engine/index.js.map +0 -1
- package/dist/engine/types.d.ts +0 -28
- package/dist/engine/types.d.ts.map +0 -1
- package/dist/engine/types.js +0 -3
- package/dist/engine/types.js.map +0 -1
- package/dist/engine/utils.d.ts +0 -4
- package/dist/engine/utils.d.ts.map +0 -1
- package/dist/engine/utils.js +0 -17
- package/dist/engine/utils.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/serialization/ByteBuffer/index.d.ts +0 -128
- package/dist/serialization/ByteBuffer/index.d.ts.map +0 -1
- package/dist/serialization/ByteBuffer/index.js +0 -286
- package/dist/serialization/ByteBuffer/index.js.map +0 -1
- package/dist/serialization/crdt/componentOperation.d.ts +0 -26
- package/dist/serialization/crdt/componentOperation.d.ts.map +0 -1
- package/dist/serialization/crdt/componentOperation.js +0 -46
- package/dist/serialization/crdt/componentOperation.js.map +0 -1
- package/dist/serialization/wireMessage.d.ts +0 -40
- package/dist/serialization/wireMessage.d.ts.map +0 -1
- package/dist/serialization/wireMessage.js +0 -57
- package/dist/serialization/wireMessage.js.map +0 -1
- package/dist/systems/crdt/index.d.ts +0 -7
- package/dist/systems/crdt/index.d.ts.map +0 -1
- package/dist/systems/crdt/index.js +0 -155
- package/dist/systems/crdt/index.js.map +0 -1
- package/dist/systems/crdt/transport.d.ts +0 -9
- package/dist/systems/crdt/transport.d.ts.map +0 -1
- package/dist/systems/crdt/transport.js +0 -26
- package/dist/systems/crdt/transport.js.map +0 -1
- package/dist/systems/crdt/types.d.ts +0 -11
- package/dist/systems/crdt/types.d.ts.map +0 -1
- package/dist/systems/crdt/types.js +0 -3
- package/dist/systems/crdt/types.js.map +0 -1
- package/dist/systems/crdt/utils.d.ts +0 -12
- package/dist/systems/crdt/utils.d.ts.map +0 -1
- package/dist/systems/crdt/utils.js +0 -55
- package/dist/systems/crdt/utils.js.map +0 -1
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -1,88 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConeShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/ConeSh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,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACvB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,88 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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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G,GAAG,MAAM,CAAC,MAAM,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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,91 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;YAC5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AC,MAAM,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC;wBAC1C,OAAO,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE;4BACxB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;yBAClC;qBACF;yBAAM;wBACL,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;qBAClC;oBACD,MAAM;gBACR;oBACE,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;AAC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M,CAAC,IAAI,EAAE,CAAC;oBACzC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;oBAChC,MAAM;gBACR;oBACE,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACT;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { IEngine } from '../engine/types';
|
|
2
|
-
export * from './types';
|
|
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>>;
|
|
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>>;
|
|
11
|
-
Transform: import("../engine/component").ComponentDefinition<import("../built-in-types").EcsType<{
|
|
12
|
-
position: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
13
|
-
rotation: import("@dcl/ecs-math").Quaternion.MutableQuaternion;
|
|
14
|
-
scale: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
15
|
-
parent?: import("../engine/entity").Entity | undefined;
|
|
16
|
-
}>>;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/dist/components/index.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.defineSdkComponents = void 0;
|
|
18
|
-
const legacy_1 = require("./legacy");
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
20
|
-
function defineSdkComponents(engine) {
|
|
21
|
-
return {
|
|
22
|
-
...(0, legacy_1.defineLegacyComponents)(engine)
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
exports.defineSdkComponents = defineSdkComponents;
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
1
|
-
import { Quaternion, Vector3 } from '@dcl/ecs-math';
|
|
2
|
-
import { EcsType } from '../../built-in-types/EcsType';
|
|
3
|
-
import { Entity } from '../../engine/entity';
|
|
4
|
-
declare type Transform = {
|
|
5
|
-
position: Vector3.MutableVector3;
|
|
6
|
-
rotation: Quaternion.MutableQuaternion;
|
|
7
|
-
scale: Vector3.MutableVector3;
|
|
8
|
-
parent?: Entity;
|
|
9
|
-
};
|
|
10
|
-
export declare const TRANSFORM_LENGTH = 44;
|
|
11
|
-
export declare const Transform: EcsType<Transform>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=Transform.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transform.d.ts","sourceRoot":"","sources":["../../../src/components/legacy/Transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAG5C,aAAK,SAAS,GAAG;IACf,QAAQ,EAAE,OAAO,CAAC,cAAc,CAAA;IAChC,QAAQ,EAAE,UAAU,CAAC,iBAAiB,CAAA;IACtC,KAAK,EAAE,OAAO,CAAC,cAAc,CAAA;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAGlC,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,SAAS,CAqCxC,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Transform = exports.TRANSFORM_LENGTH = void 0;
|
|
4
|
-
const ecs_math_1 = require("@dcl/ecs-math");
|
|
5
|
-
exports.TRANSFORM_LENGTH = 44;
|
|
6
|
-
// This transform can be optimized with Float32Array for example
|
|
7
|
-
exports.Transform = {
|
|
8
|
-
serialize(value, builder) {
|
|
9
|
-
const ptr = builder.incrementWriteOffset(exports.TRANSFORM_LENGTH);
|
|
10
|
-
builder.setFloat32(ptr, value.position.x);
|
|
11
|
-
builder.setFloat32(ptr + 4, value.position.y);
|
|
12
|
-
builder.setFloat32(ptr + 8, value.position.z);
|
|
13
|
-
builder.setFloat32(ptr + 12, value.rotation.x);
|
|
14
|
-
builder.setFloat32(ptr + 16, value.rotation.y);
|
|
15
|
-
builder.setFloat32(ptr + 20, value.rotation.z);
|
|
16
|
-
builder.setFloat32(ptr + 24, value.rotation.w);
|
|
17
|
-
builder.setFloat32(ptr + 28, value.scale.x);
|
|
18
|
-
builder.setFloat32(ptr + 32, value.scale.y);
|
|
19
|
-
builder.setFloat32(ptr + 36, value.scale.z);
|
|
20
|
-
builder.setUint32(ptr + 40, value.parent || 0);
|
|
21
|
-
},
|
|
22
|
-
deserialize(reader) {
|
|
23
|
-
const ptr = reader.incrementReadOffset(exports.TRANSFORM_LENGTH);
|
|
24
|
-
return {
|
|
25
|
-
position: ecs_math_1.Vector3.create(reader.getFloat32(ptr), reader.getFloat32(ptr + 4), reader.getFloat32(ptr + 8)),
|
|
26
|
-
rotation: ecs_math_1.Quaternion.create(reader.getFloat32(ptr + 12), reader.getFloat32(ptr + 16), reader.getFloat32(ptr + 20), reader.getFloat32(ptr + 24)),
|
|
27
|
-
scale: ecs_math_1.Vector3.create(reader.getFloat32(ptr + 28), reader.getFloat32(ptr + 32), reader.getFloat32(ptr + 36)),
|
|
28
|
-
parent: reader.getUint32(ptr + 40)
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=Transform.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transform.js","sourceRoot":"","sources":["../../../src/components/legacy/Transform.ts"],"names":[],"mappings":";;;AAAA,4CAAmD;AAYtC,QAAA,gBAAgB,GAAG,EAAE,CAAA;AAElC,gEAAgE;AACnD,QAAA,SAAS,GAAuB;IAC3C,SAAS,CAAC,KAAgB,EAAE,OAAmB;QAC7C,MAAM,GAAG,GAAG,OAAO,CAAC,oBAAoB,CAAC,wBAAgB,CAAC,CAAA;QAC1D,OAAO,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QACzC,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC7C,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC7C,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC9C,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC9C,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC9C,OAAO,CAAC,UAAU,CAAC,GAAG,GAAG,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAC9C,OAAO,CAAC,UAAU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;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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>>;
|
|
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>>;
|
|
10
|
-
Transform: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<{
|
|
11
|
-
position: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
12
|
-
rotation: import("@dcl/ecs-math").Quaternion.MutableQuaternion;
|
|
13
|
-
scale: import("@dcl/ecs-math").Vector3.MutableVector3;
|
|
14
|
-
parent?: import("../../engine/entity").Entity | undefined;
|
|
15
|
-
}>>;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defineLegacyComponents = void 0;
|
|
4
|
-
const generated_1 = require("../generated");
|
|
5
|
-
const Transform_1 = require("./Transform");
|
|
6
|
-
const types_1 = require("./types");
|
|
7
|
-
function defineLegacyComponents({ defineComponent }) {
|
|
8
|
-
return {
|
|
9
|
-
Transform: defineComponent(types_1.LEGACY_COMPONENT_ID.TRANSFORM, Transform_1.Transform),
|
|
10
|
-
...(0, generated_1.defineProtocolBufferComponents)({ defineComponent })
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
exports.defineLegacyComponents = defineLegacyComponents;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export declare enum LEGACY_COMPONENT_ID {
|
|
5
|
-
TRANSFORM = 1,
|
|
6
|
-
UUID_CALLBACK = 8,
|
|
7
|
-
BOX_SHAPE = 16,
|
|
8
|
-
SPHERE_SHAPE = 17,
|
|
9
|
-
PLANE_SHAPE = 18,
|
|
10
|
-
CONE_SHAPE = 19,
|
|
11
|
-
CYLINDER_SHAPE = 20,
|
|
12
|
-
TEXT_SHAPE = 21,
|
|
13
|
-
NFT_SHAPE = 22,
|
|
14
|
-
UI_WORLD_SPACE_SHAPE = 23,
|
|
15
|
-
UI_SCREEN_SPACE_SHAPE = 24,
|
|
16
|
-
UI_CONTAINER_RECT = 25,
|
|
17
|
-
UI_CONTAINER_STACK = 26,
|
|
18
|
-
UI_TEXT_SHAPE = 27,
|
|
19
|
-
UI_INPUT_TEXT_SHAPE = 28,
|
|
20
|
-
UI_IMAGE_SHAPE = 29,
|
|
21
|
-
UI_SLIDER_SHAPE = 30,
|
|
22
|
-
CIRCLE_SHAPE = 31,
|
|
23
|
-
BILLBOARD = 32,
|
|
24
|
-
ANIMATION = 33,
|
|
25
|
-
FONT = 34,
|
|
26
|
-
UI_FULLSCREEN_SHAPE = 40,
|
|
27
|
-
UI_BUTTON_SHAPE = 41,
|
|
28
|
-
GLTF_SHAPE = 54,
|
|
29
|
-
OBJ_SHAPE = 55,
|
|
30
|
-
AVATAR_SHAPE = 56,
|
|
31
|
-
BASIC_MATERIAL = 64,
|
|
32
|
-
PBR_MATERIAL = 65,
|
|
33
|
-
HIGHLIGHT_ENTITY = 66,
|
|
34
|
-
/** @deprecated Sound has been deprecataed */
|
|
35
|
-
SOUND = 67,
|
|
36
|
-
TEXTURE = 68,
|
|
37
|
-
VIDEO_CLIP = 70,
|
|
38
|
-
VIDEO_TEXTURE = 71,
|
|
39
|
-
AVATAR_TEXTURE = 72,
|
|
40
|
-
AUDIO_CLIP = 200,
|
|
41
|
-
AUDIO_SOURCE = 201,
|
|
42
|
-
AUDIO_STREAM = 202,
|
|
43
|
-
GIZMOS = 203,
|
|
44
|
-
SMART_ITEM = 204,
|
|
45
|
-
AVATAR_MODIFIER_AREA = 205,
|
|
46
|
-
AVATAR_ATTACH = 206,
|
|
47
|
-
CAMERA_MODE_AREA = 207,
|
|
48
|
-
NAME = 300,
|
|
49
|
-
LOCKED_ON_EDIT = 301,
|
|
50
|
-
VISIBLE_ON_EDIT = 302
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/legacy/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,SAAS,IAAI;IACb,aAAa,IAAI;IACjB,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,WAAW,KAAK;IAChB,UAAU,KAAK;IACf,cAAc,KAAK;IACnB,UAAU,KAAK;IAEf,SAAS,KAAK;IACd,oBAAoB,KAAK;IACzB,qBAAqB,KAAK;IAC1B,iBAAiB,KAAK;IACtB,kBAAkB,KAAK;IACvB,aAAa,KAAK;IAClB,mBAAmB,KAAK;IACxB,cAAc,KAAK;IACnB,eAAe,KAAK;IACpB,YAAY,KAAK;IACjB,SAAS,KAAK;IAEd,SAAS,KAAK;IACd,IAAI,KAAK;IAET,mBAAmB,KAAK;IACxB,eAAe,KAAK;IAEpB,UAAU,KAAK;IACf,SAAS,KAAK;IACd,YAAY,KAAK;IAEjB,cAAc,KAAK;IACnB,YAAY,KAAK;IAEjB,gBAAgB,KAAK;IAErB,6CAA6C;IAC7C,KAAK,KAAK;IACV,OAAO,KAAK;IAEZ,UAAU,KAAK;IACf,aAAa,KAAK;IAElB,cAAc,KAAK;IAEnB,UAAU,MAAM;IAChB,YAAY,MAAM;IAClB,YAAY,MAAM;IAClB,MAAM,MAAM;IACZ,UAAU,MAAM;IAChB,oBAAoB,MAAM;IAC1B,aAAa,MAAM;IACnB,gBAAgB,MAAM;IAGtB,IAAI,MAAM;IACV,cAAc,MAAM;IACpB,eAAe,MAAM;CACtB"}
|