@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.
Files changed (194) hide show
  1. package/dist/index.d.ts +1678 -2
  2. package/dist/index.js +5838 -18
  3. package/dist/index.min.js +1 -0
  4. package/dist/index.min.js.map +1 -0
  5. package/package.json +9 -4
  6. package/dist/built-in-types/ArrayType.d.ts +0 -3
  7. package/dist/built-in-types/ArrayType.d.ts.map +0 -1
  8. package/dist/built-in-types/ArrayType.js +0 -23
  9. package/dist/built-in-types/ArrayType.js.map +0 -1
  10. package/dist/built-in-types/EcsType.d.ts +0 -6
  11. package/dist/built-in-types/EcsType.d.ts.map +0 -1
  12. package/dist/built-in-types/EcsType.js +0 -3
  13. package/dist/built-in-types/EcsType.js.map +0 -1
  14. package/dist/built-in-types/MapType.d.ts +0 -10
  15. package/dist/built-in-types/MapType.d.ts.map +0 -1
  16. package/dist/built-in-types/MapType.js +0 -24
  17. package/dist/built-in-types/MapType.js.map +0 -1
  18. package/dist/built-in-types/Optional.d.ts +0 -3
  19. package/dist/built-in-types/Optional.d.ts.map +0 -1
  20. package/dist/built-in-types/Optional.js +0 -24
  21. package/dist/built-in-types/Optional.js.map +0 -1
  22. package/dist/built-in-types/basic/Boolean.d.ts +0 -3
  23. package/dist/built-in-types/basic/Boolean.d.ts.map +0 -1
  24. package/dist/built-in-types/basic/Boolean.js +0 -12
  25. package/dist/built-in-types/basic/Boolean.js.map +0 -1
  26. package/dist/built-in-types/basic/Enum.d.ts +0 -3
  27. package/dist/built-in-types/basic/Enum.d.ts.map +0 -1
  28. package/dist/built-in-types/basic/Enum.js +0 -15
  29. package/dist/built-in-types/basic/Enum.js.map +0 -1
  30. package/dist/built-in-types/basic/Float.d.ts +0 -4
  31. package/dist/built-in-types/basic/Float.d.ts.map +0 -1
  32. package/dist/built-in-types/basic/Float.js +0 -20
  33. package/dist/built-in-types/basic/Float.js.map +0 -1
  34. package/dist/built-in-types/basic/Integer.d.ts +0 -6
  35. package/dist/built-in-types/basic/Integer.d.ts.map +0 -1
  36. package/dist/built-in-types/basic/Integer.js +0 -44
  37. package/dist/built-in-types/basic/Integer.js.map +0 -1
  38. package/dist/built-in-types/basic/String.d.ts +0 -4
  39. package/dist/built-in-types/basic/String.d.ts.map +0 -1
  40. package/dist/built-in-types/basic/String.js +0 -13
  41. package/dist/built-in-types/basic/String.js.map +0 -1
  42. package/dist/built-in-types/index.d.ts +0 -10
  43. package/dist/built-in-types/index.d.ts.map +0 -1
  44. package/dist/built-in-types/index.js +0 -26
  45. package/dist/built-in-types/index.js.map +0 -1
  46. package/dist/built-in-types/typing.d.ts +0 -17
  47. package/dist/built-in-types/typing.d.ts.map +0 -1
  48. package/dist/built-in-types/typing.js +0 -3
  49. package/dist/built-in-types/typing.js.map +0 -1
  50. package/dist/components/definitions/AudioSource.proto +0 -16
  51. package/dist/components/definitions/AudioStream.proto +0 -13
  52. package/dist/components/definitions/BoxShape.proto +0 -14
  53. package/dist/components/definitions/ConeShape.proto +0 -15
  54. package/dist/components/definitions/CylinderShape.proto +0 -15
  55. package/dist/components/definitions/PlaneShape.proto +0 -14
  56. package/dist/components/definitions/README.md +0 -0
  57. package/dist/components/definitions/SphereShape.proto +0 -13
  58. package/dist/components/definitions/Transform.md +0 -23
  59. package/dist/components/generated/AudioSource.d.ts +0 -5
  60. package/dist/components/generated/AudioSource.d.ts.map +0 -1
  61. package/dist/components/generated/AudioSource.js +0 -17
  62. package/dist/components/generated/AudioSource.js.map +0 -1
  63. package/dist/components/generated/AudioStream.d.ts +0 -5
  64. package/dist/components/generated/AudioStream.d.ts.map +0 -1
  65. package/dist/components/generated/AudioStream.js +0 -17
  66. package/dist/components/generated/AudioStream.js.map +0 -1
  67. package/dist/components/generated/BoxShape.d.ts +0 -5
  68. package/dist/components/generated/BoxShape.d.ts.map +0 -1
  69. package/dist/components/generated/BoxShape.js +0 -17
  70. package/dist/components/generated/BoxShape.js.map +0 -1
  71. package/dist/components/generated/ConeShape.d.ts +0 -5
  72. package/dist/components/generated/ConeShape.d.ts.map +0 -1
  73. package/dist/components/generated/ConeShape.js +0 -17
  74. package/dist/components/generated/ConeShape.js.map +0 -1
  75. package/dist/components/generated/CylinderShape.d.ts +0 -5
  76. package/dist/components/generated/CylinderShape.d.ts.map +0 -1
  77. package/dist/components/generated/CylinderShape.js +0 -17
  78. package/dist/components/generated/CylinderShape.js.map +0 -1
  79. package/dist/components/generated/PlaneShape.d.ts +0 -5
  80. package/dist/components/generated/PlaneShape.d.ts.map +0 -1
  81. package/dist/components/generated/PlaneShape.js +0 -17
  82. package/dist/components/generated/PlaneShape.js.map +0 -1
  83. package/dist/components/generated/SphereShape.d.ts +0 -5
  84. package/dist/components/generated/SphereShape.d.ts.map +0 -1
  85. package/dist/components/generated/SphereShape.js +0 -17
  86. package/dist/components/generated/SphereShape.js.map +0 -1
  87. package/dist/components/generated/index.d.ts +0 -11
  88. package/dist/components/generated/index.d.ts.map +0 -1
  89. package/dist/components/generated/index.js +0 -46
  90. package/dist/components/generated/index.js.map +0 -1
  91. package/dist/components/generated/pb/AudioSource.d.ts +0 -15
  92. package/dist/components/generated/pb/AudioSource.d.ts.map +0 -1
  93. package/dist/components/generated/pb/AudioSource.js +0 -95
  94. package/dist/components/generated/pb/AudioSource.js.map +0 -1
  95. package/dist/components/generated/pb/AudioStream.d.ts +0 -12
  96. package/dist/components/generated/pb/AudioStream.d.ts.map +0 -1
  97. package/dist/components/generated/pb/AudioStream.js +0 -70
  98. package/dist/components/generated/pb/AudioStream.js.map +0 -1
  99. package/dist/components/generated/pb/BoxShape.d.ts +0 -13
  100. package/dist/components/generated/pb/BoxShape.d.ts.map +0 -1
  101. package/dist/components/generated/pb/BoxShape.js +0 -91
  102. package/dist/components/generated/pb/BoxShape.js.map +0 -1
  103. package/dist/components/generated/pb/ConeShape.d.ts +0 -14
  104. package/dist/components/generated/pb/ConeShape.d.ts.map +0 -1
  105. package/dist/components/generated/pb/ConeShape.js +0 -88
  106. package/dist/components/generated/pb/ConeShape.js.map +0 -1
  107. package/dist/components/generated/pb/CylinderShape.d.ts +0 -14
  108. package/dist/components/generated/pb/CylinderShape.d.ts.map +0 -1
  109. package/dist/components/generated/pb/CylinderShape.js +0 -88
  110. package/dist/components/generated/pb/CylinderShape.js.map +0 -1
  111. package/dist/components/generated/pb/PlaneShape.d.ts +0 -13
  112. package/dist/components/generated/pb/PlaneShape.d.ts.map +0 -1
  113. package/dist/components/generated/pb/PlaneShape.js +0 -91
  114. package/dist/components/generated/pb/PlaneShape.js.map +0 -1
  115. package/dist/components/generated/pb/SphereShape.d.ts +0 -12
  116. package/dist/components/generated/pb/SphereShape.d.ts.map +0 -1
  117. package/dist/components/generated/pb/SphereShape.js +0 -70
  118. package/dist/components/generated/pb/SphereShape.js.map +0 -1
  119. package/dist/components/index.d.ts +0 -18
  120. package/dist/components/index.d.ts.map +0 -1
  121. package/dist/components/index.js +0 -26
  122. package/dist/components/index.js.map +0 -1
  123. package/dist/components/legacy/Transform.d.ts +0 -13
  124. package/dist/components/legacy/Transform.d.ts.map +0 -1
  125. package/dist/components/legacy/Transform.js +0 -32
  126. package/dist/components/legacy/Transform.js.map +0 -1
  127. package/dist/components/legacy/index.d.ts +0 -17
  128. package/dist/components/legacy/index.d.ts.map +0 -1
  129. package/dist/components/legacy/index.js +0 -14
  130. package/dist/components/legacy/index.js.map +0 -1
  131. package/dist/components/legacy/types.d.ts +0 -52
  132. package/dist/components/legacy/types.d.ts.map +0 -1
  133. package/dist/components/legacy/types.js +0 -57
  134. package/dist/components/legacy/types.js.map +0 -1
  135. package/dist/components/types.d.ts +0 -4
  136. package/dist/components/types.d.ts.map +0 -1
  137. package/dist/components/types.js +0 -8
  138. package/dist/components/types.js.map +0 -1
  139. package/dist/ecs.api.json +0 -204
  140. package/dist/engine/component.d.ts +0 -26
  141. package/dist/engine/component.d.ts.map +0 -1
  142. package/dist/engine/component.js +0 -103
  143. package/dist/engine/component.js.map +0 -1
  144. package/dist/engine/entity-utils.d.ts +0 -8
  145. package/dist/engine/entity-utils.d.ts.map +0 -1
  146. package/dist/engine/entity-utils.js +0 -22
  147. package/dist/engine/entity-utils.js.map +0 -1
  148. package/dist/engine/entity.d.ts +0 -18
  149. package/dist/engine/entity.d.ts.map +0 -1
  150. package/dist/engine/entity.js +0 -80
  151. package/dist/engine/entity.js.map +0 -1
  152. package/dist/engine/index.d.ts +0 -28
  153. package/dist/engine/index.d.ts.map +0 -1
  154. package/dist/engine/index.js +0 -136
  155. package/dist/engine/index.js.map +0 -1
  156. package/dist/engine/types.d.ts +0 -28
  157. package/dist/engine/types.d.ts.map +0 -1
  158. package/dist/engine/types.js +0 -3
  159. package/dist/engine/types.js.map +0 -1
  160. package/dist/engine/utils.d.ts +0 -4
  161. package/dist/engine/utils.d.ts.map +0 -1
  162. package/dist/engine/utils.js +0 -17
  163. package/dist/engine/utils.js.map +0 -1
  164. package/dist/index.d.ts.map +0 -1
  165. package/dist/index.js.map +0 -1
  166. package/dist/serialization/ByteBuffer/index.d.ts +0 -128
  167. package/dist/serialization/ByteBuffer/index.d.ts.map +0 -1
  168. package/dist/serialization/ByteBuffer/index.js +0 -286
  169. package/dist/serialization/ByteBuffer/index.js.map +0 -1
  170. package/dist/serialization/crdt/componentOperation.d.ts +0 -26
  171. package/dist/serialization/crdt/componentOperation.d.ts.map +0 -1
  172. package/dist/serialization/crdt/componentOperation.js +0 -46
  173. package/dist/serialization/crdt/componentOperation.js.map +0 -1
  174. package/dist/serialization/wireMessage.d.ts +0 -40
  175. package/dist/serialization/wireMessage.d.ts.map +0 -1
  176. package/dist/serialization/wireMessage.js +0 -57
  177. package/dist/serialization/wireMessage.js.map +0 -1
  178. package/dist/systems/crdt/index.d.ts +0 -7
  179. package/dist/systems/crdt/index.d.ts.map +0 -1
  180. package/dist/systems/crdt/index.js +0 -155
  181. package/dist/systems/crdt/index.js.map +0 -1
  182. package/dist/systems/crdt/transport.d.ts +0 -9
  183. package/dist/systems/crdt/transport.d.ts.map +0 -1
  184. package/dist/systems/crdt/transport.js +0 -26
  185. package/dist/systems/crdt/transport.js.map +0 -1
  186. package/dist/systems/crdt/types.d.ts +0 -11
  187. package/dist/systems/crdt/types.d.ts.map +0 -1
  188. package/dist/systems/crdt/types.js +0 -3
  189. package/dist/systems/crdt/types.js.map +0 -1
  190. package/dist/systems/crdt/utils.d.ts +0 -12
  191. package/dist/systems/crdt/utils.d.ts.map +0 -1
  192. package/dist/systems/crdt/utils.js +0 -55
  193. package/dist/systems/crdt/utils.js.map +0 -1
  194. package/dist/tsdoc-metadata.json +0 -11
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AudioStream = exports.COMPONENT_ID = void 0;
4
- const AudioStream_1 = require("./pb/AudioStream");
5
- exports.COMPONENT_ID = 21;
6
- exports.AudioStream = {
7
- serialize(value, builder) {
8
- const writer = AudioStream_1.PBAudioStream.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 AudioStream_1.PBAudioStream.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=AudioStream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioStream.js","sourceRoot":"","sources":["../../../src/components/generated/AudioStream.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,5 +0,0 @@
1
- import { EcsType } from '../../built-in-types/EcsType';
2
- import { PBBoxShape } from './pb/BoxShape';
3
- export declare const COMPONENT_ID = 13;
4
- export declare const BoxShape: EcsType<PBBoxShape>;
5
- //# sourceMappingURL=BoxShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxShape.d.ts","sourceRoot":"","sources":["../../../src/components/generated/BoxShape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,UAAU,CAUxC,CAAA"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BoxShape = exports.COMPONENT_ID = void 0;
4
- const BoxShape_1 = require("./pb/BoxShape");
5
- exports.COMPONENT_ID = 13;
6
- exports.BoxShape = {
7
- serialize(value, builder) {
8
- const writer = BoxShape_1.PBBoxShape.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 BoxShape_1.PBBoxShape.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=BoxShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxShape.js","sourceRoot":"","sources":["../../../src/components/generated/BoxShape.ts"],"names":[],"mappings":";;;AAEA,4CAA0C;AAE7B,QAAA,YAAY,GAAG,EAAE,CAAA;AAEjB,QAAA,QAAQ,GAAwB;IAC3C,SAAS,CAAC,KAAiB,EAAE,OAAmB;QAC9C,MAAM,MAAM,GAAG,qBAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QACvC,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,qBAAU,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3C,CAAC;CACF,CAAA"}
@@ -1,5 +0,0 @@
1
- import { EcsType } from '../../built-in-types/EcsType';
2
- import { PBConeShape } from './pb/ConeShape';
3
- export declare const COMPONENT_ID = 16;
4
- export declare const ConeShape: EcsType<PBConeShape>;
5
- //# sourceMappingURL=ConeShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConeShape.d.ts","sourceRoot":"","sources":["../../../src/components/generated/ConeShape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,WAAW,CAU1C,CAAA"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConeShape = exports.COMPONENT_ID = void 0;
4
- const ConeShape_1 = require("./pb/ConeShape");
5
- exports.COMPONENT_ID = 16;
6
- exports.ConeShape = {
7
- serialize(value, builder) {
8
- const writer = ConeShape_1.PBConeShape.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 ConeShape_1.PBConeShape.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=ConeShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConeShape.js","sourceRoot":"","sources":["../../../src/components/generated/ConeShape.ts"],"names":[],"mappings":";;;AAEA,8CAA4C;AAE/B,QAAA,YAAY,GAAG,EAAE,CAAA;AAEjB,QAAA,SAAS,GAAyB;IAC7C,SAAS,CAAC,KAAkB,EAAE,OAAmB;QAC/C,MAAM,MAAM,GAAG,uBAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QACxC,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,uBAAW,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC5C,CAAC;CACF,CAAA"}
@@ -1,5 +0,0 @@
1
- import { EcsType } from '../../built-in-types/EcsType';
2
- import { PBCylinderShape } from './pb/CylinderShape';
3
- export declare const COMPONENT_ID = 17;
4
- export declare const CylinderShape: EcsType<PBCylinderShape>;
5
- //# sourceMappingURL=CylinderShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CylinderShape.d.ts","sourceRoot":"","sources":["../../../src/components/generated/CylinderShape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,eAAe,CAUlD,CAAA"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CylinderShape = exports.COMPONENT_ID = void 0;
4
- const CylinderShape_1 = require("./pb/CylinderShape");
5
- exports.COMPONENT_ID = 17;
6
- exports.CylinderShape = {
7
- serialize(value, builder) {
8
- const writer = CylinderShape_1.PBCylinderShape.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 CylinderShape_1.PBCylinderShape.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=CylinderShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CylinderShape.js","sourceRoot":"","sources":["../../../src/components/generated/CylinderShape.ts"],"names":[],"mappings":";;;AAEA,sDAAoD;AAEvC,QAAA,YAAY,GAAG,EAAE,CAAA;AAEjB,QAAA,aAAa,GAA6B;IACrD,SAAS,CAAC,KAAsB,EAAE,OAAmB;QACnD,MAAM,MAAM,GAAG,+BAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QAC5C,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,+BAAe,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAChD,CAAC;CACF,CAAA"}
@@ -1,5 +0,0 @@
1
- import { EcsType } from '../../built-in-types/EcsType';
2
- import { PBPlaneShape } from './pb/PlaneShape';
3
- export declare const COMPONENT_ID = 14;
4
- export declare const PlaneShape: EcsType<PBPlaneShape>;
5
- //# sourceMappingURL=PlaneShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlaneShape.d.ts","sourceRoot":"","sources":["../../../src/components/generated/PlaneShape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,eAAO,MAAM,YAAY,KAAK,CAAA;AAE9B,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,YAAY,CAU5C,CAAA"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlaneShape = exports.COMPONENT_ID = void 0;
4
- const PlaneShape_1 = require("./pb/PlaneShape");
5
- exports.COMPONENT_ID = 14;
6
- exports.PlaneShape = {
7
- serialize(value, builder) {
8
- const writer = PlaneShape_1.PBPlaneShape.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 PlaneShape_1.PBPlaneShape.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=PlaneShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlaneShape.js","sourceRoot":"","sources":["../../../src/components/generated/PlaneShape.ts"],"names":[],"mappings":";;;AAEA,gDAA8C;AAEjC,QAAA,YAAY,GAAG,EAAE,CAAA;AAEjB,QAAA,UAAU,GAA0B;IAC/C,SAAS,CAAC,KAAmB,EAAE,OAAmB;QAChD,MAAM,MAAM,GAAG,yBAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QACzC,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,yBAAY,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC7C,CAAC;CACF,CAAA"}
@@ -1,5 +0,0 @@
1
- import { EcsType } from '../../built-in-types/EcsType';
2
- import { PBSphereShape } from './pb/SphereShape';
3
- export declare const COMPONENT_ID = 15;
4
- export declare const SphereShape: EcsType<PBSphereShape>;
5
- //# sourceMappingURL=SphereShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SphereShape.d.ts","sourceRoot":"","sources":["../../../src/components/generated/SphereShape.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.SphereShape = exports.COMPONENT_ID = void 0;
4
- const SphereShape_1 = require("./pb/SphereShape");
5
- exports.COMPONENT_ID = 15;
6
- exports.SphereShape = {
7
- serialize(value, builder) {
8
- const writer = SphereShape_1.PBSphereShape.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 SphereShape_1.PBSphereShape.decode(buf, buf.length);
15
- }
16
- };
17
- //# sourceMappingURL=SphereShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SphereShape.js","sourceRoot":"","sources":["../../../src/components/generated/SphereShape.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,11 +0,0 @@
1
- import type { IEngine } from '../../engine/types';
2
- export declare function defineProtocolBufferComponents({ defineComponent }: Pick<IEngine, 'defineComponent'>): {
3
- AudioSource: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/AudioSource").PBAudioSource>>;
4
- AudioStream: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/AudioStream").PBAudioStream>>;
5
- BoxShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/BoxShape").PBBoxShape>>;
6
- ConeShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/ConeShape").PBConeShape>>;
7
- CylinderShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/CylinderShape").PBCylinderShape>>;
8
- PlaneShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/PlaneShape").PBPlaneShape>>;
9
- SphereShape: import("../../engine/component").ComponentDefinition<import("../../built-in-types").EcsType<import("./pb/SphereShape").PBSphereShape>>;
10
- };
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/generated/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD,wBAAgB,8BAA8B,CAAC,EAC7C,eAAe,EAChB,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC;;;;;;;;EAsBlC"}
@@ -1,46 +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.defineProtocolBufferComponents = void 0;
27
- const AudioSource = __importStar(require("./AudioSource"));
28
- const AudioStream = __importStar(require("./AudioStream"));
29
- const BoxShape = __importStar(require("./BoxShape"));
30
- const ConeShape = __importStar(require("./ConeShape"));
31
- const CylinderShape = __importStar(require("./CylinderShape"));
32
- const PlaneShape = __importStar(require("./PlaneShape"));
33
- const SphereShape = __importStar(require("./SphereShape"));
34
- function defineProtocolBufferComponents({ defineComponent }) {
35
- return {
36
- AudioSource: defineComponent(AudioSource.COMPONENT_ID, AudioSource.AudioSource),
37
- AudioStream: defineComponent(AudioStream.COMPONENT_ID, AudioStream.AudioStream),
38
- BoxShape: defineComponent(BoxShape.COMPONENT_ID, BoxShape.BoxShape),
39
- ConeShape: defineComponent(ConeShape.COMPONENT_ID, ConeShape.ConeShape),
40
- CylinderShape: defineComponent(CylinderShape.COMPONENT_ID, CylinderShape.CylinderShape),
41
- PlaneShape: defineComponent(PlaneShape.COMPONENT_ID, PlaneShape.PlaneShape),
42
- SphereShape: defineComponent(SphereShape.COMPONENT_ID, SphereShape.SphereShape)
43
- };
44
- }
45
- exports.defineProtocolBufferComponents = defineProtocolBufferComponents;
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA4C;AAC5C,2DAA4C;AAC5C,qDAAsC;AACtC,uDAAwC;AACxC,+DAAgD;AAChD,yDAA0C;AAC1C,2DAA4C;AAG5C,SAAgB,8BAA8B,CAAC,EAC7C,eAAe,EACkB;IACjC,OAAO;QACL,WAAW,EAAE,eAAe,CAC1B,WAAW,CAAC,YAAY,EACxB,WAAW,CAAC,WAAW,CACxB;QACD,WAAW,EAAE,eAAe,CAC1B,WAAW,CAAC,YAAY,EACxB,WAAW,CAAC,WAAW,CACxB;QACD,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC;QACnE,SAAS,EAAE,eAAe,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,CAAC,SAAS,CAAC;QACvE,aAAa,EAAE,eAAe,CAC5B,aAAa,CAAC,YAAY,EAC1B,aAAa,CAAC,aAAa,CAC5B;QACD,UAAU,EAAE,eAAe,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,UAAU,CAAC;QAC3E,WAAW,EAAE,eAAe,CAC1B,WAAW,CAAC,YAAY,EACxB,WAAW,CAAC,WAAW,CACxB;KACF,CAAA;AACH,CAAC;AAxBD,wEAwBC"}
@@ -1,15 +0,0 @@
1
- import * as _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "decentraland.ecs";
3
- export interface PBAudioSource {
4
- playing: boolean;
5
- volume: number;
6
- loop: boolean;
7
- pitch: number;
8
- playedAtTimestamp: number;
9
- audioClipUrl: string;
10
- }
11
- export declare const PBAudioSource: {
12
- encode(message: PBAudioSource, writer?: _m0.Writer): _m0.Writer;
13
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBAudioSource;
14
- };
15
- //# sourceMappingURL=AudioSource.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioSource.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/AudioSource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAaD,eAAO,MAAM,aAAa;oBAEb,aAAa,WACd,IAAI,MAAM,GACjB,IAAI,MAAM;kBAsBC,IAAI,MAAM,GAAG,UAAU,gCAAoB,aAAa;CAgCvE,CAAC"}
@@ -1,95 +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.PBAudioSource = exports.protobufPackage = void 0;
27
- /* eslint-disable */
28
- const _m0 = __importStar(require("protobufjs/minimal"));
29
- exports.protobufPackage = "decentraland.ecs";
30
- function createBasePBAudioSource() {
31
- return {
32
- playing: false,
33
- volume: 0,
34
- loop: false,
35
- pitch: 0,
36
- playedAtTimestamp: 0,
37
- audioClipUrl: "",
38
- };
39
- }
40
- exports.PBAudioSource = {
41
- encode(message, writer = _m0.Writer.create()) {
42
- if (message.playing === true) {
43
- writer.uint32(8).bool(message.playing);
44
- }
45
- if (message.volume !== 0) {
46
- writer.uint32(21).float(message.volume);
47
- }
48
- if (message.loop === true) {
49
- writer.uint32(24).bool(message.loop);
50
- }
51
- if (message.pitch !== 0) {
52
- writer.uint32(37).float(message.pitch);
53
- }
54
- if (message.playedAtTimestamp !== 0) {
55
- writer.uint32(40).int32(message.playedAtTimestamp);
56
- }
57
- if (message.audioClipUrl !== "") {
58
- writer.uint32(50).string(message.audioClipUrl);
59
- }
60
- return writer;
61
- },
62
- decode(input, length) {
63
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
64
- let end = length === undefined ? reader.len : reader.pos + length;
65
- const message = createBasePBAudioSource();
66
- while (reader.pos < end) {
67
- const tag = reader.uint32();
68
- switch (tag >>> 3) {
69
- case 1:
70
- message.playing = reader.bool();
71
- break;
72
- case 2:
73
- message.volume = reader.float();
74
- break;
75
- case 3:
76
- message.loop = reader.bool();
77
- break;
78
- case 4:
79
- message.pitch = reader.float();
80
- break;
81
- case 5:
82
- message.playedAtTimestamp = reader.int32();
83
- break;
84
- case 6:
85
- message.audioClipUrl = reader.string();
86
- break;
87
- default:
88
- reader.skipType(tag & 7);
89
- break;
90
- }
91
- }
92
- return message;
93
- },
94
- };
95
- //# sourceMappingURL=AudioSource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioSource.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/AudioSource.ts"],"names":[],"mappings":"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"}
@@ -1,12 +0,0 @@
1
- import * as _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "decentraland.ecs";
3
- export interface PBAudioStream {
4
- playing: boolean;
5
- volume: number;
6
- url: string;
7
- }
8
- export declare const PBAudioStream: {
9
- encode(message: PBAudioStream, writer?: _m0.Writer): _m0.Writer;
10
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBAudioStream;
11
- };
12
- //# sourceMappingURL=AudioStream.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioStream.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/AudioStream.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;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.PBAudioStream = exports.protobufPackage = void 0;
27
- /* eslint-disable */
28
- const _m0 = __importStar(require("protobufjs/minimal"));
29
- exports.protobufPackage = "decentraland.ecs";
30
- function createBasePBAudioStream() {
31
- return { playing: false, volume: 0, url: "" };
32
- }
33
- exports.PBAudioStream = {
34
- encode(message, writer = _m0.Writer.create()) {
35
- if (message.playing === true) {
36
- writer.uint32(8).bool(message.playing);
37
- }
38
- if (message.volume !== 0) {
39
- writer.uint32(21).float(message.volume);
40
- }
41
- if (message.url !== "") {
42
- writer.uint32(26).string(message.url);
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 = createBasePBAudioStream();
50
- while (reader.pos < end) {
51
- const tag = reader.uint32();
52
- switch (tag >>> 3) {
53
- case 1:
54
- message.playing = reader.bool();
55
- break;
56
- case 2:
57
- message.volume = reader.float();
58
- break;
59
- case 3:
60
- message.url = reader.string();
61
- break;
62
- default:
63
- reader.skipType(tag & 7);
64
- break;
65
- }
66
- }
67
- return message;
68
- },
69
- };
70
- //# sourceMappingURL=AudioStream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AudioStream.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/AudioStream.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,wDAA0C;AAE7B,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAQlD,SAAS,uBAAuB;IAC9B,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAChD,CAAC;AAEY,QAAA,aAAa,GAAG;IAC3B,MAAM,CACJ,OAAsB,EACtB,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAExC,IAAI,OAAO,CAAC,OAAO,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SACxC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACxB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;SACzC;QACD,IAAI,OAAO,CAAC,GAAG,KAAK,EAAE,EAAE;YACtB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;SACvC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,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,uBAAuB,EAAE,CAAC;QAC1C,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,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;oBAChC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBAChC,MAAM;gBACR,KAAK,CAAC;oBACJ,OAAO,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;oBAC9B,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 PBBoxShape {
4
- withCollisions: boolean;
5
- isPointerBlocker: boolean;
6
- visible: boolean;
7
- uvs: number[];
8
- }
9
- export declare const PBBoxShape: {
10
- encode(message: PBBoxShape, writer?: _m0.Writer): _m0.Writer;
11
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBBoxShape;
12
- };
13
- //# sourceMappingURL=BoxShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxShape.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/BoxShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf;AAWD,eAAO,MAAM,UAAU;oBAEV,UAAU,WACX,IAAI,MAAM,GACjB,IAAI,MAAM;kBAkBC,IAAI,MAAM,GAAG,UAAU,gCAAoB,UAAU;CAiCpE,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.PBBoxShape = exports.protobufPackage = void 0;
27
- /* eslint-disable */
28
- const _m0 = __importStar(require("protobufjs/minimal"));
29
- exports.protobufPackage = "decentraland.ecs";
30
- function createBasePBBoxShape() {
31
- return {
32
- withCollisions: false,
33
- isPointerBlocker: false,
34
- visible: false,
35
- uvs: [],
36
- };
37
- }
38
- exports.PBBoxShape = {
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 = createBasePBBoxShape();
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=BoxShape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BoxShape.js","sourceRoot":"","sources":["../../../../src/components/generated/pb/BoxShape.ts"],"names":[],"mappings":"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"}
@@ -1,14 +0,0 @@
1
- import * as _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "decentraland.ecs";
3
- export interface PBConeShape {
4
- withCollisions: boolean;
5
- isPointerBlocker: boolean;
6
- visible: boolean;
7
- radiusTop: number;
8
- radiusBottom: number;
9
- }
10
- export declare const PBConeShape: {
11
- encode(message: PBConeShape, writer?: _m0.Writer): _m0.Writer;
12
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PBConeShape;
13
- };
14
- //# sourceMappingURL=ConeShape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConeShape.d.ts","sourceRoot":"","sources":["../../../../src/components/generated/pb/ConeShape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,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,WAAW;oBAEX,WAAW,WACZ,IAAI,MAAM,GACjB,IAAI,MAAM;kBAmBC,IAAI,MAAM,GAAG,UAAU,gCAAoB,WAAW;CA6BrE,CAAC"}