@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-20220601113849.commit-ab0b9fd",
|
|
4
4
|
"description": "Decentraland ECS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/decentraland/ecs#readme",
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
"@dcl/dcl-rollup": "^6.11.1-2420975861.commit-4673308",
|
|
24
25
|
"@dcl/eslint-config": "^1.0.3",
|
|
25
26
|
"@microsoft/api-extractor": "^7.23.1",
|
|
26
27
|
"@types/fs-extra": "^9.0.13",
|
|
@@ -36,10 +37,14 @@
|
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@dcl/crdt": "^1.0.0-20220412150438.commit-965dc72",
|
|
39
|
-
"@dcl/ecs-math": "^2.0.
|
|
40
|
+
"@dcl/ecs-math": "^2.0.1-20220526123120.commit-dab2aff"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
|
-
"dist"
|
|
43
|
+
"dist/index.js",
|
|
44
|
+
"dist/index.d.ts",
|
|
45
|
+
"dist/index.min.js",
|
|
46
|
+
"dist/index.min.js.map",
|
|
47
|
+
"proto-definitions"
|
|
43
48
|
],
|
|
44
|
-
"commit": "
|
|
49
|
+
"commit": "ab0b9fd502db7e7dac0a6030d418a0b45da6627d"
|
|
45
50
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayType.d.ts","sourceRoot":"","sources":["../../src/built-in-types/ArrayType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAiBhE"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ArrayType = void 0;
|
|
4
|
-
function ArrayType(type) {
|
|
5
|
-
return {
|
|
6
|
-
serialize(value, builder) {
|
|
7
|
-
builder.writeUint32(value.length);
|
|
8
|
-
for (const item of value) {
|
|
9
|
-
type.serialize(item, builder);
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
deserialize(reader) {
|
|
13
|
-
const newArray = [];
|
|
14
|
-
const length = reader.readUint32();
|
|
15
|
-
for (let index = 0; index < length; index++) {
|
|
16
|
-
newArray.push(type.deserialize(reader));
|
|
17
|
-
}
|
|
18
|
-
return newArray;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.ArrayType = ArrayType;
|
|
23
|
-
//# sourceMappingURL=ArrayType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayType.js","sourceRoot":"","sources":["../../src/built-in-types/ArrayType.ts"],"names":[],"mappings":";;;AAGA,SAAgB,SAAS,CAAI,IAAgB;IAC3C,OAAO;QACL,SAAS,CAAC,KAAe,EAAE,OAAmB;YAC5C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;YACjC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;gBACxB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;aAC9B;QACH,CAAC;QACD,WAAW,CAAC,MAAkB;YAC5B,MAAM,QAAQ,GAAa,EAAE,CAAA;YAC7B,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,EAAE,CAAA;YAClC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;gBAC3C,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;aACxC;YACD,OAAO,QAAQ,CAAA;QACjB,CAAC;KACF,CAAA;AACH,CAAC;AAjBD,8BAiBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EcsType.d.ts","sourceRoot":"","sources":["../../src/built-in-types/EcsType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,oBAAY,OAAO,CAAC,CAAC,GAAG,GAAG,IAAI;IAC7B,SAAS,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,GAAG,IAAI,CAAA;IAC9C,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,CAAC,CAAA;CACnC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EcsType.js","sourceRoot":"","sources":["../../src/built-in-types/EcsType.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EcsType } from './EcsType';
|
|
2
|
-
import { ToOptional } from './typing';
|
|
3
|
-
export interface Spec {
|
|
4
|
-
[key: string]: EcsType;
|
|
5
|
-
}
|
|
6
|
-
export declare type Result<T extends Spec> = ToOptional<{
|
|
7
|
-
[K in keyof T]: T[K] extends EcsType ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? Result<T[K]> : never;
|
|
8
|
-
}>;
|
|
9
|
-
export declare function MapType<T extends Spec>(spec: T): EcsType<Result<T>>;
|
|
10
|
-
//# sourceMappingURL=MapType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapType.d.ts","sourceRoot":"","sources":["../../src/built-in-types/MapType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAErC,MAAM,WAAW,IAAI;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,oBAAY,MAAM,CAAC,CAAC,SAAS,IAAI,IAAI,UAAU,CAAC;KAC7C,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,OAAO,GAChC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,GAC/B,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GACjB,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACZ,KAAK;CACV,CAAC,CAAA;AAEF,wBAAgB,OAAO,CAAC,CAAC,SAAS,IAAI,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAiBnE"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MapType = void 0;
|
|
4
|
-
function MapType(spec) {
|
|
5
|
-
return {
|
|
6
|
-
serialize(value, builder) {
|
|
7
|
-
for (const key in spec) {
|
|
8
|
-
// TODO: as any
|
|
9
|
-
spec[key].serialize(value[key], builder);
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
deserialize(reader) {
|
|
13
|
-
const newValue = {};
|
|
14
|
-
for (const key in spec) {
|
|
15
|
-
// TODO: as any
|
|
16
|
-
;
|
|
17
|
-
newValue[key] = spec[key].deserialize(reader);
|
|
18
|
-
}
|
|
19
|
-
return newValue;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
exports.MapType = MapType;
|
|
24
|
-
//# sourceMappingURL=MapType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapType.js","sourceRoot":"","sources":["../../src/built-in-types/MapType.ts"],"names":[],"mappings":";;;AAgBA,SAAgB,OAAO,CAAiB,IAAO;IAC7C,OAAO;QACL,SAAS,CAAC,KAAgB,EAAE,OAAmB;YAC7C,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;gBACtB,eAAe;gBACf,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,CAAE,KAAa,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAA;aAClD;QACH,CAAC;QACD,WAAW,CAAC,MAAkB;YAC5B,MAAM,QAAQ,GAAc,EAAS,CAAA;YACrC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;gBACtB,eAAe;gBACf,CAAC;gBAAC,QAAgB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;aACxD;YACD,OAAO,QAAQ,CAAA;QACjB,CAAC;KACF,CAAA;AACH,CAAC;AAjBD,0BAiBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Optional.d.ts","sourceRoot":"","sources":["../../src/built-in-types/Optional.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,wBAAgB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAiBpE"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Optional = void 0;
|
|
4
|
-
function Optional(spec) {
|
|
5
|
-
return {
|
|
6
|
-
serialize(value, builder) {
|
|
7
|
-
if (value) {
|
|
8
|
-
builder.writeInt8(1);
|
|
9
|
-
spec.serialize(value, builder);
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
builder.writeInt8(0);
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
deserialize(reader) {
|
|
16
|
-
const exists = reader.readInt8();
|
|
17
|
-
if (exists) {
|
|
18
|
-
return spec.deserialize(reader);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
exports.Optional = Optional;
|
|
24
|
-
//# sourceMappingURL=Optional.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Optional.js","sourceRoot":"","sources":["../../src/built-in-types/Optional.ts"],"names":[],"mappings":";;;AAGA,SAAgB,QAAQ,CAAI,IAAgB;IAC1C,OAAO;QACL,SAAS,CAAC,KAAoB,EAAE,OAAmB;YACjD,IAAI,KAAK,EAAE;gBACT,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;gBACpB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;aAC/B;iBAAM;gBACL,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;aACrB;QACH,CAAC;QACD,WAAW,CAAC,MAAkB;YAC5B,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAA;YAChC,IAAI,MAAM,EAAE;gBACV,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;aAChC;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAjBD,4BAiBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Boolean.d.ts","sourceRoot":"","sources":["../../../src/built-in-types/basic/Boolean.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,OAAO,CAOpC,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Boolean = void 0;
|
|
4
|
-
exports.Boolean = {
|
|
5
|
-
serialize(value, builder) {
|
|
6
|
-
builder.writeInt8(value ? 1 : 0);
|
|
7
|
-
},
|
|
8
|
-
deserialize(reader) {
|
|
9
|
-
return reader.readInt8() === 1;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=Boolean.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Boolean.js","sourceRoot":"","sources":["../../../src/built-in-types/basic/Boolean.ts"],"names":[],"mappings":";;;AAGa,QAAA,OAAO,GAAqB;IACvC,SAAS,CAAC,KAAc,EAAE,OAAmB;QAC3C,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAClC,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;IAChC,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Enum.d.ts","sourceRoot":"","sources":["../../../src/built-in-types/basic/Enum.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,wBAAgB,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAStD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Enum = void 0;
|
|
4
|
-
function Enum(type) {
|
|
5
|
-
return {
|
|
6
|
-
serialize(value, builder) {
|
|
7
|
-
type.serialize(value, builder);
|
|
8
|
-
},
|
|
9
|
-
deserialize(reader) {
|
|
10
|
-
return type.deserialize(reader);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
exports.Enum = Enum;
|
|
15
|
-
//# sourceMappingURL=Enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Enum.js","sourceRoot":"","sources":["../../../src/built-in-types/basic/Enum.ts"],"names":[],"mappings":";;;AAGA,SAAgB,IAAI,CAAI,IAAkB;IACxC,OAAO;QACL,SAAS,CAAC,KAAQ,EAAE,OAAmB;YACrC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAChC,CAAC;QACD,WAAW,CAAC,MAAkB;YAC5B,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;QACjC,CAAC;KACF,CAAA;AACH,CAAC;AATD,oBASC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Float.d.ts","sourceRoot":"","sources":["../../../src/built-in-types/basic/Float.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAOnC,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAOnC,CAAA"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Float64 = exports.Float32 = void 0;
|
|
4
|
-
exports.Float32 = {
|
|
5
|
-
serialize(value, builder) {
|
|
6
|
-
builder.writeFloat32(value);
|
|
7
|
-
},
|
|
8
|
-
deserialize(reader) {
|
|
9
|
-
return reader.readFloat32();
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.Float64 = {
|
|
13
|
-
serialize(value, builder) {
|
|
14
|
-
builder.writeFloat64(value);
|
|
15
|
-
},
|
|
16
|
-
deserialize(reader) {
|
|
17
|
-
return reader.readFloat64();
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=Float.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Float.js","sourceRoot":"","sources":["../../../src/built-in-types/basic/Float.ts"],"names":[],"mappings":";;;AAGa,QAAA,OAAO,GAAoB;IACtC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAC7B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,WAAW,EAAE,CAAA;IAC7B,CAAC;CACF,CAAA;AAEY,QAAA,OAAO,GAAoB;IACtC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAC7B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,WAAW,EAAE,CAAA;IAC7B,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Integer.d.ts","sourceRoot":"","sources":["../../../src/built-in-types/basic/Integer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAWpC,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAOjC,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAOjC,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAOjC,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,MAAM,CAOhC,CAAA"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Int8 = exports.Int16 = exports.Int32 = exports.Int64 = void 0;
|
|
4
|
-
// export const BigInt64: EcsType<bigint> = {
|
|
5
|
-
// serialize(value: bigint, builder: ByteBuffer): void {
|
|
6
|
-
// builder.writeInt64(value)
|
|
7
|
-
// },
|
|
8
|
-
// deserialize(reader: ByteBuffer): bigint {
|
|
9
|
-
// return reader.readInt64()
|
|
10
|
-
// }
|
|
11
|
-
// }
|
|
12
|
-
exports.Int64 = {
|
|
13
|
-
serialize(value, builder) {
|
|
14
|
-
builder.writeInt64(BigInt(value));
|
|
15
|
-
},
|
|
16
|
-
deserialize(reader) {
|
|
17
|
-
return Number(reader.readInt64());
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
exports.Int32 = {
|
|
21
|
-
serialize(value, builder) {
|
|
22
|
-
builder.writeInt32(value);
|
|
23
|
-
},
|
|
24
|
-
deserialize(reader) {
|
|
25
|
-
return reader.readInt32();
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
exports.Int16 = {
|
|
29
|
-
serialize(value, builder) {
|
|
30
|
-
builder.writeInt16(value);
|
|
31
|
-
},
|
|
32
|
-
deserialize(reader) {
|
|
33
|
-
return reader.readInt16();
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
exports.Int8 = {
|
|
37
|
-
serialize(value, builder) {
|
|
38
|
-
builder.writeInt8(value);
|
|
39
|
-
},
|
|
40
|
-
deserialize(reader) {
|
|
41
|
-
return reader.readInt8();
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=Integer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Integer.js","sourceRoot":"","sources":["../../../src/built-in-types/basic/Integer.ts"],"names":[],"mappings":";;;AAGA,6CAA6C;AAC7C,0DAA0D;AAC1D,gCAAgC;AAChC,OAAO;AACP,8CAA8C;AAC9C,gCAAgC;AAChC,MAAM;AACN,IAAI;AAES,QAAA,KAAK,GAAoB;IACpC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;IACnC,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,CAAA;IACnC,CAAC;CACF,CAAA;AAEY,QAAA,KAAK,GAAoB;IACpC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;IAC3B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,SAAS,EAAE,CAAA;IAC3B,CAAC;CACF,CAAA;AAEY,QAAA,KAAK,GAAoB;IACpC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;IAC3B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,SAAS,EAAE,CAAA;IAC3B,CAAC;CACF,CAAA;AAEY,QAAA,IAAI,GAAoB;IACnC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;IAC1B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAA;IAC1B,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../../../src/built-in-types/basic/String.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,MAAM,CAOtC,CAAA;AAED,eAAO,MAAM,MAAM,iBAAa,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.String = exports.FlatString = void 0;
|
|
4
|
-
exports.FlatString = {
|
|
5
|
-
serialize(value, builder) {
|
|
6
|
-
builder.writeBuffer(new TextEncoder().encode(value));
|
|
7
|
-
},
|
|
8
|
-
deserialize(reader) {
|
|
9
|
-
return new TextDecoder().decode(reader.readBuffer());
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.String = exports.FlatString;
|
|
13
|
-
//# sourceMappingURL=String.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"String.js","sourceRoot":"","sources":["../../../src/built-in-types/basic/String.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAoB;IACzC,SAAS,CAAC,KAAa,EAAE,OAAmB;QAC1C,OAAO,CAAC,WAAW,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;IACtD,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAA;IACtD,CAAC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,kBAAU,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './EcsType';
|
|
2
|
-
export * from './MapType';
|
|
3
|
-
export * from './ArrayType';
|
|
4
|
-
export * from './Optional';
|
|
5
|
-
export * from './basic/Integer';
|
|
6
|
-
export * from './basic/Float';
|
|
7
|
-
export * from './basic/String';
|
|
8
|
-
export * from './basic/Enum';
|
|
9
|
-
export * from './basic/Boolean';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/built-in-types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AAEzB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAE1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA"}
|
|
@@ -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
|
-
__exportStar(require("./EcsType"), exports);
|
|
18
|
-
__exportStar(require("./MapType"), exports);
|
|
19
|
-
__exportStar(require("./ArrayType"), exports);
|
|
20
|
-
__exportStar(require("./Optional"), exports);
|
|
21
|
-
__exportStar(require("./basic/Integer"), exports);
|
|
22
|
-
__exportStar(require("./basic/Float"), exports);
|
|
23
|
-
__exportStar(require("./basic/String"), exports);
|
|
24
|
-
__exportStar(require("./basic/Enum"), exports);
|
|
25
|
-
__exportStar(require("./basic/Boolean"), exports);
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/built-in-types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AAEzB,4CAAyB;AACzB,8CAA2B;AAC3B,6CAA0B;AAE1B,kDAA+B;AAC/B,gDAA6B;AAC7B,iDAA8B;AAC9B,+CAA4B;AAC5B,kDAA+B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/** Include property keys from T where the property is assignable to U */
|
|
2
|
-
declare type IncludeUndefined<T> = {
|
|
3
|
-
[P in keyof T]: undefined extends T[P] ? P : never;
|
|
4
|
-
}[keyof T];
|
|
5
|
-
/** Excludes property keys from T where the property is assignable to U */
|
|
6
|
-
declare type ExcludeUndefined<T> = {
|
|
7
|
-
[P in keyof T]: undefined extends T[P] ? never : P;
|
|
8
|
-
}[keyof T];
|
|
9
|
-
declare type OnlyOptionalUndefinedTypes<T> = {
|
|
10
|
-
[K in IncludeUndefined<T>]?: T[K];
|
|
11
|
-
};
|
|
12
|
-
declare type OnlyNonUndefinedTypes<T> = {
|
|
13
|
-
[K in ExcludeUndefined<T>]: T[K];
|
|
14
|
-
};
|
|
15
|
-
export declare type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=typing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typing.d.ts","sourceRoot":"","sources":["../../src/built-in-types/typing.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACxB,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK;CACnD,CAAC,MAAM,CAAC,CAAC,CAAA;AAEV,0EAA0E;AAC1E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACxB,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC;CACnD,CAAC,MAAM,CAAC,CAAC,CAAA;AAEV,aAAK,0BAA0B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAAE,CAAA;AAC1E,aAAK,qBAAqB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAA;AAEpE,oBAAY,UAAU,CAAC,CAAC,IAAI,0BAA0B,CAAC,CAAC,CAAC,GACvD,qBAAqB,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typing.js","sourceRoot":"","sources":["../../src/built-in-types/typing.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=20;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBAudioSource {
|
|
10
|
-
bool playing = 1;
|
|
11
|
-
float volume = 2;
|
|
12
|
-
bool loop = 3;
|
|
13
|
-
float pitch = 4;
|
|
14
|
-
int32 playedAtTimestamp = 5;
|
|
15
|
-
string audioClipUrl = 6;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=21;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBAudioStream {
|
|
10
|
-
bool playing = 1;
|
|
11
|
-
float volume = 2;
|
|
12
|
-
string url = 3;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=13;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBBoxShape {
|
|
10
|
-
bool with_collisions = 1;
|
|
11
|
-
bool is_pointer_blocker = 2;
|
|
12
|
-
bool visible = 3;
|
|
13
|
-
repeated float uvs = 4;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=16;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBConeShape {
|
|
10
|
-
bool with_collisions = 1;
|
|
11
|
-
bool is_pointer_blocker = 2;
|
|
12
|
-
bool visible = 3;
|
|
13
|
-
float radiusTop = 4;
|
|
14
|
-
float radiusBottom = 5;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=17;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBCylinderShape {
|
|
10
|
-
bool with_collisions = 1;
|
|
11
|
-
bool is_pointer_blocker = 2;
|
|
12
|
-
bool visible = 3;
|
|
13
|
-
float radiusTop = 4;
|
|
14
|
-
float radiusBottom = 5;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=14;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBPlaneShape {
|
|
10
|
-
bool with_collisions = 1;
|
|
11
|
-
bool is_pointer_blocker = 2;
|
|
12
|
-
bool visible = 3;
|
|
13
|
-
repeated float uvs = 4;
|
|
14
|
-
}
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
// ComponentDefinition.ComponentID=15;
|
|
4
|
-
// This parameter is processed by the tool
|
|
5
|
-
|
|
6
|
-
package decentraland.ecs;
|
|
7
|
-
option csharp_namespace = "DCL.ECSComponents";
|
|
8
|
-
|
|
9
|
-
message PBSphereShape {
|
|
10
|
-
bool with_collisions = 1;
|
|
11
|
-
bool is_pointer_blocker = 2;
|
|
12
|
-
bool visible = 3;
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Transform
|
|
3
|
-
|
|
4
|
-
```cpp
|
|
5
|
-
// Transform length = 44
|
|
6
|
-
struct Transform {
|
|
7
|
-
float positionX;
|
|
8
|
-
float positionY;
|
|
9
|
-
float positionZ;
|
|
10
|
-
|
|
11
|
-
float rotationX;
|
|
12
|
-
float rotationY;
|
|
13
|
-
float rotationZ;
|
|
14
|
-
float rotationW;
|
|
15
|
-
|
|
16
|
-
float scaleX;
|
|
17
|
-
float scaleY;
|
|
18
|
-
float scaleZ;
|
|
19
|
-
|
|
20
|
-
uint32_t parentEntity;
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
- Serialized in big-endian
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioSource.d.ts","sourceRoot":"","sources":["../../../src/components/generated/AudioSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhD,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,aAAa,CAU9C,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AudioSource = exports.COMPONENT_ID = void 0;
|
|
4
|
-
const AudioSource_1 = require("./pb/AudioSource");
|
|
5
|
-
exports.COMPONENT_ID = 20;
|
|
6
|
-
exports.AudioSource = {
|
|
7
|
-
serialize(value, builder) {
|
|
8
|
-
const writer = AudioSource_1.PBAudioSource.encode(value);
|
|
9
|
-
const buffer = new Uint8Array(writer.finish(), 0, writer.len);
|
|
10
|
-
builder.writeBuffer(buffer);
|
|
11
|
-
},
|
|
12
|
-
deserialize(reader) {
|
|
13
|
-
const buf = reader.readBuffer();
|
|
14
|
-
return AudioSource_1.PBAudioSource.decode(buf, buf.length);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=AudioSource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioSource.js","sourceRoot":"","sources":["../../../src/components/generated/AudioSource.ts"],"names":[],"mappings":";;;AAEA,kDAAgD;AAEnC,QAAA,YAAY,GAAG,EAAE,CAAA;AAEjB,QAAA,WAAW,GAA2B;IACjD,SAAS,CAAC,KAAoB,EAAE,OAAmB;QACjD,MAAM,MAAM,GAAG,2BAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAC1C,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;QAC7D,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7B,CAAC;IACD,WAAW,CAAC,MAAkB;QAC5B,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,EAAE,CAAA;QAC/B,OAAO,2BAAa,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC9C,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioStream.d.ts","sourceRoot":"","sources":["../../../src/components/generated/AudioStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhD,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,aAAa,CAU9C,CAAA"}
|