@dcl/playground-assets 7.3.40-7698451743.commit-c9c61fe → 7.3.40-7717066166.commit-ece036d

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.
@@ -71,6 +71,15 @@ export const enum AvatarAnchorPointType {
71
71
  // @public (undocumented)
72
72
  export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
73
73
 
74
+ // @public (undocumented)
75
+ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
76
+
77
+ // @public (undocumented)
78
+ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
79
+
80
+ // @public (undocumented)
81
+ export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
82
+
74
83
  // @public (undocumented)
75
84
  export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
76
85
 
@@ -119,6 +128,7 @@ export interface BaseComponent<T> {
119
128
  get(entity: Entity): any;
120
129
  getCrdtUpdates(): Iterable<CrdtMessageBody>;
121
130
  has(entity: Entity): boolean;
131
+ onChange(entity: Entity, cb: (value: T | undefined) => void): void;
122
132
  // (undocumented)
123
133
  readonly schema: ISchema<T>;
124
134
  updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
@@ -514,6 +524,9 @@ export const componentDefinitionByName: {
514
524
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
515
525
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
516
526
  "core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
527
+ "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
528
+ "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
529
+ "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
517
530
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
518
531
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
519
532
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -526,6 +539,7 @@ export const componentDefinitionByName: {
526
539
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
527
540
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
528
541
  "core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
542
+ "core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
529
543
  "core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
530
544
  "core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
531
545
  "core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
@@ -720,6 +734,11 @@ export enum CrdtMessageType {
720
734
  // @public (undocumented)
721
735
  export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
722
736
 
737
+ // @public (undocumented)
738
+ export function createEntityContainer(opts?: {
739
+ reservedStaticEntities: number;
740
+ }): IEntityContainer;
741
+
723
742
  // Warning: (ae-missing-release-tag) "createEthereumProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
724
743
  //
725
744
  // @public (undocumented)
@@ -971,21 +990,6 @@ export type EntityComponents = {
971
990
  onMouseUp: Callback;
972
991
  };
973
992
 
974
- // Warning: (tsdoc-undefined-tag) The TSDoc tag "@intenral" is not defined in this configuration
975
- // Warning: (ae-missing-release-tag) "EntityContainer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
976
- //
977
- // @public (undocumented)
978
- export type EntityContainer = {
979
- generateEntity(networked?: boolean): Entity;
980
- removeEntity(entity: Entity): boolean;
981
- getEntityState(entity: Entity): EntityState;
982
- getExistingEntities(): Set<Entity>;
983
- releaseRemovedEntities(): Entity[];
984
- updateRemovedEntity(entity: Entity): boolean;
985
- updateUsedEntity(entity: Entity): boolean;
986
- setNetworkEntitiesRange(reservedLocalEntities: number, range: [number, number]): void;
987
- };
988
-
989
993
  // @public (undocumented)
990
994
  export enum EntityMappingMode {
991
995
  // (undocumented)
@@ -1173,10 +1177,23 @@ export interface IEngine {
1173
1177
 
1174
1178
  // @public (undocumented)
1175
1179
  export interface IEngineOptions {
1180
+ // (undocumented)
1181
+ entityContainer?: IEntityContainer;
1176
1182
  // (undocumented)
1177
1183
  onChangeFunction: OnChangeFunction;
1178
1184
  }
1179
1185
 
1186
+ // @public (undocumented)
1187
+ export type IEntityContainer = {
1188
+ generateEntity(networked?: boolean): Entity;
1189
+ removeEntity(entity: Entity): boolean;
1190
+ getEntityState(entity: Entity): EntityState;
1191
+ getExistingEntities(): Set<Entity>;
1192
+ releaseRemovedEntities(): Entity[];
1193
+ updateRemovedEntity(entity: Entity): boolean;
1194
+ updateUsedEntity(entity: Entity): boolean;
1195
+ };
1196
+
1180
1197
  // Warning: (ae-missing-release-tag) "IEventNames" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1181
1198
  //
1182
1199
  // @public (undocumented)
@@ -2191,6 +2208,61 @@ export namespace PBAvatarAttach {
2191
2208
  export function encode(message: PBAvatarAttach, writer?: _m0.Writer): _m0.Writer;
2192
2209
  }
2193
2210
 
2211
+ // @public (undocumented)
2212
+ export interface PBAvatarBase {
2213
+ // (undocumented)
2214
+ bodyShapeUrn: string;
2215
+ // (undocumented)
2216
+ eyesColor: PBColor3 | undefined;
2217
+ // (undocumented)
2218
+ hairColor: PBColor3 | undefined;
2219
+ // (undocumented)
2220
+ name: string;
2221
+ // (undocumented)
2222
+ skinColor: PBColor3 | undefined;
2223
+ }
2224
+
2225
+ // @public (undocumented)
2226
+ export namespace PBAvatarBase {
2227
+ // (undocumented)
2228
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
2229
+ // (undocumented)
2230
+ export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
2231
+ }
2232
+
2233
+ // @public (undocumented)
2234
+ export interface PBAvatarEmoteCommand {
2235
+ // (undocumented)
2236
+ emoteUrn: string;
2237
+ // (undocumented)
2238
+ loop: boolean;
2239
+ timestamp: number;
2240
+ }
2241
+
2242
+ // @public (undocumented)
2243
+ export namespace PBAvatarEmoteCommand {
2244
+ // (undocumented)
2245
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
2246
+ // (undocumented)
2247
+ export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
2248
+ }
2249
+
2250
+ // @public (undocumented)
2251
+ export interface PBAvatarEquippedData {
2252
+ // (undocumented)
2253
+ emoteUrns: string[];
2254
+ // (undocumented)
2255
+ wearableUrns: string[];
2256
+ }
2257
+
2258
+ // @public (undocumented)
2259
+ export namespace PBAvatarEquippedData {
2260
+ // (undocumented)
2261
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
2262
+ // (undocumented)
2263
+ export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2264
+ }
2265
+
2194
2266
  // @public (undocumented)
2195
2267
  export interface PBAvatarModifierArea {
2196
2268
  area: PBVector3 | undefined;
@@ -2584,6 +2656,21 @@ export namespace PBNftShape {
2584
2656
  export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
2585
2657
  }
2586
2658
 
2659
+ // @public (undocumented)
2660
+ export interface PBPlayerIdentityData {
2661
+ address: string;
2662
+ // (undocumented)
2663
+ isGuest: boolean;
2664
+ }
2665
+
2666
+ // @public (undocumented)
2667
+ export namespace PBPlayerIdentityData {
2668
+ // (undocumented)
2669
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
2670
+ // (undocumented)
2671
+ export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
2672
+ }
2673
+
2587
2674
  // @public (undocumented)
2588
2675
  export interface PBPointerEvents {
2589
2676
  pointerEvents: PBPointerEvents_Entry[];
@@ -3173,6 +3260,9 @@ export namespace Plane {
3173
3260
  export function transform(plane: ReadonlyPlane, transformation: Matrix.ReadonlyMatrix): MutablePlane;
3174
3261
  }
3175
3262
 
3263
+ // @public (undocumented)
3264
+ export const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
3265
+
3176
3266
  // @public (undocumented)
3177
3267
  export const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
3178
3268
 
@@ -3541,11 +3631,6 @@ export namespace Rect {
3541
3631
  // @public
3542
3632
  export function removeEntityWithChildren(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity' | 'defineComponent'>, entity: Entity): void;
3543
3633
 
3544
- // Warning: (ae-missing-release-tag) "RESERVED_LOCAL_ENTITIES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3545
- //
3546
- // @public (undocumented)
3547
- export const RESERVED_LOCAL_ENTITIES = 65535;
3548
-
3549
3634
  // Warning: (ae-missing-release-tag) "RESERVED_STATIC_ENTITIES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3550
3635
  //
3551
3636
  // @public
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.3.40-7698451743.commit-c9c61fe",
4
+ "version": "7.3.40-7717066166.commit-ece036d",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.3.40-7698451743.commit-c9c61fe",
8
- "@dcl/sdk": "7.3.40-7698451743.commit-c9c61fe"
7
+ "@dcl/js-runtime": "7.3.40-7717066166.commit-ece036d",
8
+ "@dcl/sdk": "7.3.40-7717066166.commit-ece036d"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "c9c61fe791438f55937546344bdd16b4f8f0cd6c"
35
+ "commit": "ece036db9e954a6f07bc175aa6f139d48680be87"
36
36
  }