@dcl/playground-assets 7.2.4-5334700418.commit-a2ab16b → 7.2.4-5336980665.commit-96b8298

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/alpha.d.ts CHANGED
@@ -85,6 +85,11 @@ export declare namespace AppendValueOperation {
85
85
  export function read(buf: ByteBuffer): AppendValueMessage | null;
86
86
  }
87
87
 
88
+ /**
89
+ * Returns true if the given parcels array are connected
90
+ */
91
+ export declare function areConnected(parcels: Coords[]): boolean;
92
+
88
93
  /** @public */
89
94
  export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
90
95
 
@@ -1336,6 +1341,11 @@ export declare type CompositeRootType = {
1336
1341
  */
1337
1342
  export declare type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
1338
1343
 
1344
+ export declare type Coords = {
1345
+ x: number;
1346
+ y: number;
1347
+ };
1348
+
1339
1349
  /**
1340
1350
  * @public
1341
1351
  */
@@ -2255,6 +2265,11 @@ export declare interface ISchema<T = any> {
2255
2265
  jsonSchema: JsonSchemaExtended;
2256
2266
  }
2257
2267
 
2268
+ /**
2269
+ * Returns true if the given coords are equal
2270
+ */
2271
+ export declare function isEqual(p1: Coords, p2: Coords): boolean;
2272
+
2258
2273
  /**
2259
2274
  * @public
2260
2275
  */
package/dist/beta.d.ts CHANGED
@@ -85,6 +85,11 @@ export declare namespace AppendValueOperation {
85
85
  export function read(buf: ByteBuffer): AppendValueMessage | null;
86
86
  }
87
87
 
88
+ /**
89
+ * Returns true if the given parcels array are connected
90
+ */
91
+ export declare function areConnected(parcels: Coords[]): boolean;
92
+
88
93
  /** @public */
89
94
  export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
90
95
 
@@ -1336,6 +1341,11 @@ export declare type CompositeRootType = {
1336
1341
  */
1337
1342
  export declare type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
1338
1343
 
1344
+ export declare type Coords = {
1345
+ x: number;
1346
+ y: number;
1347
+ };
1348
+
1339
1349
  /**
1340
1350
  * @public
1341
1351
  */
@@ -2246,6 +2256,11 @@ export declare interface ISchema<T = any> {
2246
2256
  jsonSchema: JsonSchemaExtended;
2247
2257
  }
2248
2258
 
2259
+ /**
2260
+ * Returns true if the given coords are equal
2261
+ */
2262
+ export declare function isEqual(p1: Coords, p2: Coords): boolean;
2263
+
2249
2264
  /**
2250
2265
  * @public
2251
2266
  */
@@ -85,6 +85,11 @@ export declare namespace AppendValueOperation {
85
85
  export function read(buf: ByteBuffer): AppendValueMessage | null;
86
86
  }
87
87
 
88
+ /**
89
+ * Returns true if the given parcels array are connected
90
+ */
91
+ export declare function areConnected(parcels: Coords[]): boolean;
92
+
88
93
  /** @public */
89
94
  export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
90
95
 
@@ -1336,6 +1341,11 @@ export declare type CompositeRootType = {
1336
1341
  */
1337
1342
  export declare type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
1338
1343
 
1344
+ export declare type Coords = {
1345
+ x: number;
1346
+ y: number;
1347
+ };
1348
+
1339
1349
  /**
1340
1350
  * @public
1341
1351
  */
@@ -2246,6 +2256,11 @@ export declare interface ISchema<T = any> {
2246
2256
  jsonSchema: JsonSchemaExtended;
2247
2257
  }
2248
2258
 
2259
+ /**
2260
+ * Returns true if the given coords are equal
2261
+ */
2262
+ export declare function isEqual(p1: Coords, p2: Coords): boolean;
2263
+
2249
2264
  /**
2250
2265
  * @public
2251
2266
  */