@dcl/playground-assets 7.0.6-3808564125.commit-7a2650b → 7.0.6-3808892339.commit-e47ed81
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 +56 -21
- package/dist/beta.d.ts +56 -21
- package/dist/index.bundled.d.ts +56 -21
- package/dist/index.js +199 -203
- 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 +8 -2
- package/dist/playground-assets.d.ts +56 -21
- package/etc/playground-assets.api.json +265 -22
- package/etc/playground-assets.api.md +57 -21
- 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)
|
|
@@ -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,10 +534,13 @@ 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)
|
|
@@ -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)
|
|
@@ -1653,10 +1683,10 @@ export const PBGltfContainer: {
|
|
|
1653
1683
|
export interface PBMaterial {
|
|
1654
1684
|
// (undocumented)
|
|
1655
1685
|
material?: {
|
|
1656
|
-
$case:
|
|
1686
|
+
$case: "unlit";
|
|
1657
1687
|
unlit: PBMaterial_UnlitMaterial;
|
|
1658
1688
|
} | {
|
|
1659
|
-
$case:
|
|
1689
|
+
$case: "pbr";
|
|
1660
1690
|
pbr: PBMaterial_PbrMaterial;
|
|
1661
1691
|
};
|
|
1662
1692
|
}
|
|
@@ -1720,16 +1750,16 @@ export interface PBMeshCollider {
|
|
|
1720
1750
|
collisionMask?: number | undefined;
|
|
1721
1751
|
// (undocumented)
|
|
1722
1752
|
mesh?: {
|
|
1723
|
-
$case:
|
|
1753
|
+
$case: "box";
|
|
1724
1754
|
box: PBMeshCollider_BoxMesh;
|
|
1725
1755
|
} | {
|
|
1726
|
-
$case:
|
|
1756
|
+
$case: "sphere";
|
|
1727
1757
|
sphere: PBMeshCollider_SphereMesh;
|
|
1728
1758
|
} | {
|
|
1729
|
-
$case:
|
|
1759
|
+
$case: "cylinder";
|
|
1730
1760
|
cylinder: PBMeshCollider_CylinderMesh;
|
|
1731
1761
|
} | {
|
|
1732
|
-
$case:
|
|
1762
|
+
$case: "plane";
|
|
1733
1763
|
plane: PBMeshCollider_PlaneMesh;
|
|
1734
1764
|
};
|
|
1735
1765
|
}
|
|
@@ -1801,16 +1831,16 @@ export const PBMeshCollider_SphereMesh: {
|
|
|
1801
1831
|
export interface PBMeshRenderer {
|
|
1802
1832
|
// (undocumented)
|
|
1803
1833
|
mesh?: {
|
|
1804
|
-
$case:
|
|
1834
|
+
$case: "box";
|
|
1805
1835
|
box: PBMeshRenderer_BoxMesh;
|
|
1806
1836
|
} | {
|
|
1807
|
-
$case:
|
|
1837
|
+
$case: "sphere";
|
|
1808
1838
|
sphere: PBMeshRenderer_SphereMesh;
|
|
1809
1839
|
} | {
|
|
1810
|
-
$case:
|
|
1840
|
+
$case: "cylinder";
|
|
1811
1841
|
cylinder: PBMeshRenderer_CylinderMesh;
|
|
1812
1842
|
} | {
|
|
1813
|
-
$case:
|
|
1843
|
+
$case: "plane";
|
|
1814
1844
|
plane: PBMeshRenderer_PlaneMesh;
|
|
1815
1845
|
};
|
|
1816
1846
|
}
|
|
@@ -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)
|
|
@@ -2775,10 +2808,10 @@ export type TextureHelper = {
|
|
|
2775
2808
|
export interface TextureUnion {
|
|
2776
2809
|
// (undocumented)
|
|
2777
2810
|
tex?: {
|
|
2778
|
-
$case:
|
|
2811
|
+
$case: "texture";
|
|
2779
2812
|
texture: Texture;
|
|
2780
2813
|
} | {
|
|
2781
|
-
$case:
|
|
2814
|
+
$case: "avatarTexture";
|
|
2782
2815
|
avatarTexture: AvatarTexture;
|
|
2783
2816
|
};
|
|
2784
2817
|
}
|
|
@@ -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-3808892339.commit-e47ed81",
|
|
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-3808892339.commit-e47ed81"
|
|
21
21
|
},
|
|
22
22
|
"minCliVersion": "3.12.3",
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
25
|
"etc"
|
|
26
26
|
],
|
|
27
|
-
"commit": "
|
|
27
|
+
"commit": "e47ed813e0b5bd0e5fd6a0fd9e2eeb80783dab27"
|
|
28
28
|
}
|