@dcl/playground-assets 7.0.6-3808797047.commit-ee7ea04 → 7.0.6-3808988484.commit-63d3e2c
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 +47 -12
- package/dist/beta.d.ts +47 -12
- package/dist/index.bundled.d.ts +47 -12
- package/dist/index.js +60 -77
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +47 -12
- package/etc/playground-assets.api.json +278 -13
- package/etc/playground-assets.api.md +48 -12
- package/package.json +3 -3
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
import _m0 from 'protobufjs/minimal';
|
|
8
8
|
|
|
9
|
+
// Warning: (ae-missing-release-tag) "AMOUNT_VERSION_AVAILABLE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
10
|
+
//
|
|
11
|
+
// @public (undocumented)
|
|
12
|
+
export const AMOUNT_VERSION_AVAILABLE: number;
|
|
13
|
+
|
|
9
14
|
// Warning: (ae-missing-release-tag) "Animator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
10
15
|
//
|
|
11
16
|
// @public (undocumented)
|
|
@@ -379,8 +384,8 @@ export type Color4Type = {
|
|
|
379
384
|
//
|
|
380
385
|
// @public (undocumented)
|
|
381
386
|
export type CommonProps = {
|
|
382
|
-
key
|
|
383
|
-
children
|
|
387
|
+
key?: Key;
|
|
388
|
+
children?: Children;
|
|
384
389
|
};
|
|
385
390
|
|
|
386
391
|
// @public (undocumented)
|
|
@@ -500,8 +505,17 @@ export type EngineEvent<T extends IEventNames = IEventNames, V = IEvents[T]> = {
|
|
|
500
505
|
data: Readonly<V>;
|
|
501
506
|
};
|
|
502
507
|
|
|
503
|
-
//
|
|
504
|
-
|
|
508
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
509
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
510
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
511
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
512
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
|
|
513
|
+
// Warning: (tsdoc-malformed-html-name) Invalid HTML element: A space is not allowed here
|
|
514
|
+
//
|
|
515
|
+
// @public
|
|
516
|
+
export type Entity = uint32 & {
|
|
517
|
+
__entity_type: '';
|
|
518
|
+
};
|
|
505
519
|
|
|
506
520
|
// Warning: (ae-missing-release-tag) "EntityComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
507
521
|
//
|
|
@@ -520,17 +534,20 @@ export type EntityComponents = {
|
|
|
520
534
|
//
|
|
521
535
|
// @public (undocumented)
|
|
522
536
|
export function EntityContainer(): {
|
|
523
|
-
generateEntity(
|
|
537
|
+
generateEntity(): Entity;
|
|
524
538
|
removeEntity(entity: Entity): boolean;
|
|
525
539
|
entityExists(entity: Entity): boolean;
|
|
526
540
|
getExistingEntities(): Set<Entity>;
|
|
541
|
+
entityVersion: (entity: Entity) => number;
|
|
542
|
+
entityNumber: (entity: Entity) => number;
|
|
543
|
+
entityId: (entityNumber: number, entityVersion: number) => Entity;
|
|
527
544
|
};
|
|
528
545
|
|
|
529
546
|
// @public (undocumented)
|
|
530
547
|
export type EntityPropTypes = {
|
|
531
548
|
uiTransform?: UiTransformProps;
|
|
532
549
|
uiBackground?: UiBackgroundProps;
|
|
533
|
-
} & Listeners
|
|
550
|
+
} & Listeners & Pick<CommonProps, 'key'>;
|
|
534
551
|
|
|
535
552
|
// @public
|
|
536
553
|
export const Epsilon = 0.000001;
|
|
@@ -951,6 +968,11 @@ export type MapResult<T extends Spec> = ToOptional<{
|
|
|
951
968
|
[K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
|
|
952
969
|
}>;
|
|
953
970
|
|
|
971
|
+
// Warning: (ae-missing-release-tag) "MASK_UPPER_16_ON_32" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
972
|
+
//
|
|
973
|
+
// @public (undocumented)
|
|
974
|
+
export const MASK_UPPER_16_ON_32 = 4294901760;
|
|
975
|
+
|
|
954
976
|
// Warning: (ae-missing-release-tag) "Material" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
955
977
|
//
|
|
956
978
|
// @public (undocumented)
|
|
@@ -1119,6 +1141,14 @@ export namespace Matrix {
|
|
|
1119
1141
|
export function Zero(): MutableMatrix;
|
|
1120
1142
|
}
|
|
1121
1143
|
|
|
1144
|
+
// @public (undocumented)
|
|
1145
|
+
export const MAX_ENTITY_NUMBER = 65535;
|
|
1146
|
+
|
|
1147
|
+
// Warning: (ae-missing-release-tag) "MAX_U16" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1148
|
+
//
|
|
1149
|
+
// @public (undocumented)
|
|
1150
|
+
export const MAX_U16 = 65535;
|
|
1151
|
+
|
|
1122
1152
|
// Warning: (ae-missing-release-tag) "MeshCollider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1123
1153
|
//
|
|
1124
1154
|
// @public (undocumented)
|
|
@@ -2401,12 +2431,12 @@ export type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
|
|
|
2401
2431
|
//
|
|
2402
2432
|
// @public (undocumented)
|
|
2403
2433
|
export const pointerEventsSystem: {
|
|
2404
|
-
removeOnClick(entity:
|
|
2405
|
-
removeOnPointerDown(entity:
|
|
2406
|
-
removeOnPointerUp(entity:
|
|
2407
|
-
onClick(entity:
|
|
2408
|
-
onPointerDown(entity:
|
|
2409
|
-
onPointerUp(entity:
|
|
2434
|
+
removeOnClick(entity: Entity): void;
|
|
2435
|
+
removeOnPointerDown(entity: Entity): void;
|
|
2436
|
+
removeOnPointerUp(entity: Entity): void;
|
|
2437
|
+
onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
2438
|
+
onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
2439
|
+
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
|
|
2410
2440
|
};
|
|
2411
2441
|
|
|
2412
2442
|
// Warning: (ae-missing-release-tag) "PointerEventType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -2605,6 +2635,9 @@ export type ReceiveMessage = {
|
|
|
2605
2635
|
messageBuffer: Uint8Array;
|
|
2606
2636
|
};
|
|
2607
2637
|
|
|
2638
|
+
// @public
|
|
2639
|
+
export const RESERVED_STATIC_ENTITIES = 512;
|
|
2640
|
+
|
|
2608
2641
|
// Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2609
2642
|
//
|
|
2610
2643
|
// @public (undocumented)
|
|
@@ -2914,6 +2947,9 @@ export type UiInputProps = PBUiInput & {
|
|
|
2914
2947
|
// @public (undocumented)
|
|
2915
2948
|
export const UiInputResult: ComponentDefinition<PBUiInputResult>;
|
|
2916
2949
|
|
|
2950
|
+
// @public
|
|
2951
|
+
export type uint32 = number;
|
|
2952
|
+
|
|
2917
2953
|
// @public (undocumented)
|
|
2918
2954
|
export const UiText: ComponentDefinition<PBUiText>;
|
|
2919
2955
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3808988484.commit-63d3e2c",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"author": "Decentraland",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dcl/sdk": "7.0.6-
|
|
20
|
+
"@dcl/sdk": "7.0.6-3808988484.commit-63d3e2c"
|
|
21
21
|
},
|
|
22
22
|
"minCliVersion": "3.12.3",
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
25
|
"etc"
|
|
26
26
|
],
|
|
27
|
-
"commit": "
|
|
27
|
+
"commit": "63d3e2c15a5a2d09285eca1b08d3832a12f75f13"
|
|
28
28
|
}
|