@dcl/playground-assets 7.0.4-3602972053.commit-32d0ee8 → 7.0.4-3620697800.commit-1ae2333
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/api-extractor.json +1 -1
- package/etc/playground-assets.api.json +8132 -4471
- package/etc/playground-assets.api.md +444 -3
- package/package.json +3 -3
- package/src/index.ts +11 -0
|
@@ -444,6 +444,14 @@ export function Container({ width, height, children }: ContainerPropTypes): Reac
|
|
|
444
444
|
// @public (undocumented)
|
|
445
445
|
export type ContainerPropTypes = Partial<CommonProps> & EntityPropTypes['uiTransform'];
|
|
446
446
|
|
|
447
|
+
// 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)
|
|
448
|
+
//
|
|
449
|
+
// @public (undocumented)
|
|
450
|
+
export function createEthereumProvider(): {
|
|
451
|
+
send(message: RPCSendableMessage, callback?: ((error: Error | null, result?: any) => void) | undefined): void;
|
|
452
|
+
sendAsync(message: RPCSendableMessage, callback: (error: Error | null, result?: any) => void): void;
|
|
453
|
+
};
|
|
454
|
+
|
|
447
455
|
// Warning: (ae-missing-release-tag) "createInputSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
448
456
|
//
|
|
449
457
|
// @public (undocumented)
|
|
@@ -520,6 +528,14 @@ export function Engine(): IEngine;
|
|
|
520
528
|
// @public (undocumented)
|
|
521
529
|
export const engine: IEngine;
|
|
522
530
|
|
|
531
|
+
// Warning: (ae-missing-release-tag) "EngineEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
532
|
+
//
|
|
533
|
+
// @public (undocumented)
|
|
534
|
+
export type EngineEvent<T extends IEventNames = IEventNames, V = IEvents[T]> = {
|
|
535
|
+
type: T;
|
|
536
|
+
data: Readonly<V>;
|
|
537
|
+
};
|
|
538
|
+
|
|
523
539
|
// @public (undocumented)
|
|
524
540
|
export type Entity = unknown;
|
|
525
541
|
|
|
@@ -585,11 +601,38 @@ export type FloatArray = number[];
|
|
|
585
601
|
// @public (undocumented)
|
|
586
602
|
export const enum Font {
|
|
587
603
|
// (undocumented)
|
|
588
|
-
|
|
589
|
-
// (undocumented)
|
|
590
|
-
F_SANS_SERIF = 1
|
|
604
|
+
F_SANS_SERIF = 0
|
|
591
605
|
}
|
|
592
606
|
|
|
607
|
+
// Warning: (ae-missing-release-tag) "GizmoDragEndEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
608
|
+
//
|
|
609
|
+
// @public (undocumented)
|
|
610
|
+
export type GizmoDragEndEvent = {
|
|
611
|
+
type: 'gizmoDragEnded';
|
|
612
|
+
transforms: Array<{
|
|
613
|
+
position: Vector3Type;
|
|
614
|
+
rotation: QuaternionType;
|
|
615
|
+
scale: Vector3Type;
|
|
616
|
+
entityId: unknown;
|
|
617
|
+
}>;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
// Warning: (ae-missing-release-tag) "GizmoSelectedEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
621
|
+
//
|
|
622
|
+
// @public (undocumented)
|
|
623
|
+
export type GizmoSelectedEvent = {
|
|
624
|
+
type: 'gizmoSelected';
|
|
625
|
+
gizmoType: 'MOVE' | 'ROTATE' | 'SCALE' | 'NONE';
|
|
626
|
+
entities: string[];
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
// Warning: (ae-missing-release-tag) "GlobalInputEventResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
630
|
+
//
|
|
631
|
+
// @public (undocumented)
|
|
632
|
+
export type GlobalInputEventResult = InputEventResult & {
|
|
633
|
+
type: 0 | 1;
|
|
634
|
+
};
|
|
635
|
+
|
|
593
636
|
// @public (undocumented)
|
|
594
637
|
export const GltfContainer: ComponentDefinition<typeof GltfContainerSchema>;
|
|
595
638
|
|
|
@@ -626,6 +669,189 @@ export type IEngine = {
|
|
|
626
669
|
// @public (undocumented)
|
|
627
670
|
export function IEnum<T>(type: ISchema<any>): ISchema<T>;
|
|
628
671
|
|
|
672
|
+
// 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)
|
|
673
|
+
//
|
|
674
|
+
// @public (undocumented)
|
|
675
|
+
export type IEventNames = keyof IEvents;
|
|
676
|
+
|
|
677
|
+
// Warning: (ae-missing-release-tag) "IEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
678
|
+
//
|
|
679
|
+
// @public (undocumented)
|
|
680
|
+
export interface IEvents {
|
|
681
|
+
// (undocumented)
|
|
682
|
+
actionButtonEvent: GlobalInputEventResult;
|
|
683
|
+
// (undocumented)
|
|
684
|
+
builderSceneStart: unknown;
|
|
685
|
+
// (undocumented)
|
|
686
|
+
builderSceneUnloaded: unknown;
|
|
687
|
+
// (undocumented)
|
|
688
|
+
cameraModeChanged: {
|
|
689
|
+
cameraMode: 0 | 1 | 2;
|
|
690
|
+
};
|
|
691
|
+
// (undocumented)
|
|
692
|
+
chatMessage: {
|
|
693
|
+
id: string;
|
|
694
|
+
sender: string;
|
|
695
|
+
message: string;
|
|
696
|
+
isCommand: boolean;
|
|
697
|
+
};
|
|
698
|
+
// (undocumented)
|
|
699
|
+
comms: {
|
|
700
|
+
sender: string;
|
|
701
|
+
message: string;
|
|
702
|
+
};
|
|
703
|
+
// (undocumented)
|
|
704
|
+
entitiesOutOfBoundaries: {
|
|
705
|
+
entities: string[];
|
|
706
|
+
};
|
|
707
|
+
// (undocumented)
|
|
708
|
+
entityBackInScene: {
|
|
709
|
+
entityId: unknown;
|
|
710
|
+
};
|
|
711
|
+
// (undocumented)
|
|
712
|
+
entityOutOfScene: {
|
|
713
|
+
entityId: unknown;
|
|
714
|
+
};
|
|
715
|
+
// (undocumented)
|
|
716
|
+
externalAction: {
|
|
717
|
+
type: string;
|
|
718
|
+
[key: string]: any;
|
|
719
|
+
};
|
|
720
|
+
// (undocumented)
|
|
721
|
+
gizmoEvent: GizmoDragEndEvent | GizmoSelectedEvent;
|
|
722
|
+
// (undocumented)
|
|
723
|
+
idleStateChanged: {
|
|
724
|
+
isIdle: boolean;
|
|
725
|
+
};
|
|
726
|
+
// (undocumented)
|
|
727
|
+
limitsExceeded: {
|
|
728
|
+
given: Record<string, number>;
|
|
729
|
+
limit: Record<string, number>;
|
|
730
|
+
};
|
|
731
|
+
// (undocumented)
|
|
732
|
+
metricsUpdate: {
|
|
733
|
+
given: Record<string, number>;
|
|
734
|
+
limit: Record<string, number>;
|
|
735
|
+
};
|
|
736
|
+
// (undocumented)
|
|
737
|
+
onAnimationEnd: {
|
|
738
|
+
clipName: string;
|
|
739
|
+
};
|
|
740
|
+
// (undocumented)
|
|
741
|
+
onBlur: {
|
|
742
|
+
entityId: unknown;
|
|
743
|
+
pointerId: number;
|
|
744
|
+
};
|
|
745
|
+
// (undocumented)
|
|
746
|
+
onChange: {
|
|
747
|
+
value?: any;
|
|
748
|
+
pointerId?: number;
|
|
749
|
+
};
|
|
750
|
+
// (undocumented)
|
|
751
|
+
onClick: {
|
|
752
|
+
entityId: unknown;
|
|
753
|
+
};
|
|
754
|
+
// (undocumented)
|
|
755
|
+
onEnter: unknown;
|
|
756
|
+
// (undocumented)
|
|
757
|
+
onEnterScene: {
|
|
758
|
+
userId: string;
|
|
759
|
+
};
|
|
760
|
+
// (undocumented)
|
|
761
|
+
onFocus: {
|
|
762
|
+
entityId: unknown;
|
|
763
|
+
pointerId: number;
|
|
764
|
+
};
|
|
765
|
+
// (undocumented)
|
|
766
|
+
onLeaveScene: {
|
|
767
|
+
userId: string;
|
|
768
|
+
};
|
|
769
|
+
// (undocumented)
|
|
770
|
+
onPointerLock: {
|
|
771
|
+
locked?: boolean;
|
|
772
|
+
};
|
|
773
|
+
// (undocumented)
|
|
774
|
+
onRealmChanged: {
|
|
775
|
+
domain: string;
|
|
776
|
+
room: string;
|
|
777
|
+
serverName: string;
|
|
778
|
+
displayName: string;
|
|
779
|
+
};
|
|
780
|
+
// (undocumented)
|
|
781
|
+
onTextSubmit: {
|
|
782
|
+
text: string;
|
|
783
|
+
};
|
|
784
|
+
// (undocumented)
|
|
785
|
+
playerClicked: {
|
|
786
|
+
userId: string;
|
|
787
|
+
ray: {
|
|
788
|
+
origin: Vector3Type;
|
|
789
|
+
direction: Vector3Type;
|
|
790
|
+
distance: number;
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
// (undocumented)
|
|
794
|
+
playerConnected: {
|
|
795
|
+
userId: string;
|
|
796
|
+
};
|
|
797
|
+
// (undocumented)
|
|
798
|
+
playerDisconnected: {
|
|
799
|
+
userId: string;
|
|
800
|
+
};
|
|
801
|
+
// (undocumented)
|
|
802
|
+
playerExpression: {
|
|
803
|
+
expressionId: string;
|
|
804
|
+
};
|
|
805
|
+
// (undocumented)
|
|
806
|
+
pointerDown: InputEventResult;
|
|
807
|
+
// (undocumented)
|
|
808
|
+
pointerEvent: GlobalInputEventResult;
|
|
809
|
+
// (undocumented)
|
|
810
|
+
pointerHoverEnter: unknown;
|
|
811
|
+
// (undocumented)
|
|
812
|
+
pointerHoverExit: unknown;
|
|
813
|
+
// (undocumented)
|
|
814
|
+
pointerUp: InputEventResult;
|
|
815
|
+
// (undocumented)
|
|
816
|
+
positionChanged: {
|
|
817
|
+
position: Vector3Type;
|
|
818
|
+
cameraPosition: Vector3Type;
|
|
819
|
+
playerHeight: number;
|
|
820
|
+
};
|
|
821
|
+
// (undocumented)
|
|
822
|
+
profileChanged: {
|
|
823
|
+
ethAddress: string;
|
|
824
|
+
version: number;
|
|
825
|
+
};
|
|
826
|
+
// (undocumented)
|
|
827
|
+
raycastResponse: RaycastResponsePayload<any>;
|
|
828
|
+
// (undocumented)
|
|
829
|
+
rotationChanged: {
|
|
830
|
+
rotation: Vector3Type;
|
|
831
|
+
quaternion: QuaternionType;
|
|
832
|
+
};
|
|
833
|
+
// (undocumented)
|
|
834
|
+
sceneStart: unknown;
|
|
835
|
+
// (undocumented)
|
|
836
|
+
stateEvent: {
|
|
837
|
+
type: string;
|
|
838
|
+
payload: any;
|
|
839
|
+
};
|
|
840
|
+
// (undocumented)
|
|
841
|
+
uuidEvent: {
|
|
842
|
+
uuid: string;
|
|
843
|
+
payload: any;
|
|
844
|
+
};
|
|
845
|
+
// (undocumented)
|
|
846
|
+
videoEvent: {
|
|
847
|
+
componentId: string;
|
|
848
|
+
videoClipId: string;
|
|
849
|
+
videoStatus: number;
|
|
850
|
+
currentOffset: number;
|
|
851
|
+
totalVideoLength: number;
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
|
|
629
855
|
// @public (undocumented)
|
|
630
856
|
export type IInputSystem = {
|
|
631
857
|
isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
|
|
@@ -677,6 +903,23 @@ export const enum InputAction {
|
|
|
677
903
|
IA_WALK = 9
|
|
678
904
|
}
|
|
679
905
|
|
|
906
|
+
// Warning: (ae-missing-release-tag) "InputEventResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
907
|
+
//
|
|
908
|
+
// @public (undocumented)
|
|
909
|
+
export type InputEventResult = {
|
|
910
|
+
origin: Vector3Type;
|
|
911
|
+
direction: Vector3Type;
|
|
912
|
+
buttonId: number;
|
|
913
|
+
hit?: {
|
|
914
|
+
length: number;
|
|
915
|
+
hitPoint: Vector3Type;
|
|
916
|
+
meshName: string;
|
|
917
|
+
normal: Vector3Type;
|
|
918
|
+
worldNormal: Vector3Type;
|
|
919
|
+
entityId: unknown;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
|
|
680
923
|
// Warning: (ae-missing-release-tag) "inputSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
681
924
|
//
|
|
682
925
|
// @public (undocumented)
|
|
@@ -944,6 +1187,17 @@ export const MeshRendererSchema: ISchema<PBMeshRenderer> & {
|
|
|
944
1187
|
COMPONENT_ID: number;
|
|
945
1188
|
};
|
|
946
1189
|
|
|
1190
|
+
// Warning: (ae-missing-release-tag) "MessageBus" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1191
|
+
//
|
|
1192
|
+
// @public (undocumented)
|
|
1193
|
+
export class MessageBus {
|
|
1194
|
+
constructor();
|
|
1195
|
+
// (undocumented)
|
|
1196
|
+
emit(message: string, payload: Record<any, any>): void;
|
|
1197
|
+
// (undocumented)
|
|
1198
|
+
on(message: string, callback: (value: any, sender: string) => void): Observer<IEvents['comms']>;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
947
1201
|
// Warning: (ae-missing-release-tag) "NftFrameType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
948
1202
|
//
|
|
949
1203
|
// @public (undocumented)
|
|
@@ -1006,6 +1260,107 @@ export const NftShapeSchema: ISchema<PBNftShape> & {
|
|
|
1006
1260
|
COMPONENT_ID: number;
|
|
1007
1261
|
};
|
|
1008
1262
|
|
|
1263
|
+
// Warning: (ae-missing-release-tag) "Observable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1264
|
+
//
|
|
1265
|
+
// @public (undocumented)
|
|
1266
|
+
export class Observable<T> {
|
|
1267
|
+
constructor(onObserverAdded?: (observer: Observer<T>) => void);
|
|
1268
|
+
// (undocumented)
|
|
1269
|
+
add(callback: (eventData: T, eventState: ObserverEventState) => void, mask?: number, insertFirst?: boolean, scope?: any, unregisterOnFirstCall?: boolean): null | Observer<T>;
|
|
1270
|
+
// (undocumented)
|
|
1271
|
+
addOnce(callback: (eventData: T, eventState: ObserverEventState) => void): null | Observer<T>;
|
|
1272
|
+
// (undocumented)
|
|
1273
|
+
clear(): void;
|
|
1274
|
+
// (undocumented)
|
|
1275
|
+
clone(): Observable<T>;
|
|
1276
|
+
// (undocumented)
|
|
1277
|
+
hasObservers(): boolean;
|
|
1278
|
+
// (undocumented)
|
|
1279
|
+
hasSpecificMask(mask?: number): boolean;
|
|
1280
|
+
// (undocumented)
|
|
1281
|
+
notifyObserver(observer: Observer<T>, eventData: T, mask?: number): void;
|
|
1282
|
+
// (undocumented)
|
|
1283
|
+
notifyObservers(eventData: T, mask?: number, target?: any, currentTarget?: any): boolean;
|
|
1284
|
+
// (undocumented)
|
|
1285
|
+
notifyObserversWithPromise(eventData: T, mask?: number, target?: any, currentTarget?: any): Promise<T>;
|
|
1286
|
+
// (undocumented)
|
|
1287
|
+
remove(observer: null | Observer<T>): boolean;
|
|
1288
|
+
// (undocumented)
|
|
1289
|
+
removeCallback(callback: (eventData: T, eventState: ObserverEventState) => void, scope?: any): boolean;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
// Warning: (ae-missing-release-tag) "Observer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1293
|
+
//
|
|
1294
|
+
// @public (undocumented)
|
|
1295
|
+
export class Observer<T> {
|
|
1296
|
+
constructor(callback: (eventData: T, eventState: ObserverEventState) => void, mask: number, scope?: any);
|
|
1297
|
+
// (undocumented)
|
|
1298
|
+
callback: (eventData: T, eventState: ObserverEventState) => void;
|
|
1299
|
+
// (undocumented)
|
|
1300
|
+
mask: number;
|
|
1301
|
+
// (undocumented)
|
|
1302
|
+
scope: any;
|
|
1303
|
+
// (undocumented)
|
|
1304
|
+
unregisterOnNextCall: boolean;
|
|
1305
|
+
// (undocumented)
|
|
1306
|
+
_willBeUnregistered: boolean;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
// Warning: (ae-missing-release-tag) "ObserverEventState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1310
|
+
//
|
|
1311
|
+
// @public (undocumented)
|
|
1312
|
+
export class ObserverEventState {
|
|
1313
|
+
constructor(mask: number, skipNextObservers?: boolean, target?: any, currentTarget?: any);
|
|
1314
|
+
// (undocumented)
|
|
1315
|
+
currentTarget?: any;
|
|
1316
|
+
// (undocumented)
|
|
1317
|
+
initalize(mask: number, skipNextObservers?: boolean, target?: any, currentTarget?: any): ObserverEventState;
|
|
1318
|
+
// (undocumented)
|
|
1319
|
+
lastReturnValue?: any;
|
|
1320
|
+
// (undocumented)
|
|
1321
|
+
mask: number;
|
|
1322
|
+
// (undocumented)
|
|
1323
|
+
skipNextObservers: boolean;
|
|
1324
|
+
// (undocumented)
|
|
1325
|
+
target?: any;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
// Warning: (ae-missing-release-tag) "onCommsMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1329
|
+
//
|
|
1330
|
+
// @public (undocumented)
|
|
1331
|
+
export const onCommsMessage: Observable<{
|
|
1332
|
+
sender: string;
|
|
1333
|
+
message: string;
|
|
1334
|
+
}>;
|
|
1335
|
+
|
|
1336
|
+
// Warning: (ae-missing-release-tag) "onEnterScene" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1337
|
+
//
|
|
1338
|
+
// @public (undocumented)
|
|
1339
|
+
export const onEnterScene: Observable<{
|
|
1340
|
+
userId: string;
|
|
1341
|
+
}>;
|
|
1342
|
+
|
|
1343
|
+
// Warning: (ae-missing-release-tag) "onEnterSceneObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1344
|
+
//
|
|
1345
|
+
// @public (undocumented)
|
|
1346
|
+
export const onEnterSceneObservable: Observable<{
|
|
1347
|
+
userId: string;
|
|
1348
|
+
}>;
|
|
1349
|
+
|
|
1350
|
+
// Warning: (ae-missing-release-tag) "onLeaveScene" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1351
|
+
//
|
|
1352
|
+
// @public (undocumented)
|
|
1353
|
+
export const onLeaveScene: Observable<{
|
|
1354
|
+
userId: string;
|
|
1355
|
+
}>;
|
|
1356
|
+
|
|
1357
|
+
// Warning: (ae-missing-release-tag) "onLeaveSceneObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1358
|
+
//
|
|
1359
|
+
// @public (undocumented)
|
|
1360
|
+
export const onLeaveSceneObservable: Observable<{
|
|
1361
|
+
userId: string;
|
|
1362
|
+
}>;
|
|
1363
|
+
|
|
1009
1364
|
// Warning: (ae-missing-release-tag) "OnlyNonUndefinedTypes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1010
1365
|
//
|
|
1011
1366
|
// @public (undocumented)
|
|
@@ -1020,11 +1375,78 @@ export type OnlyOptionalUndefinedTypes<T> = {
|
|
|
1020
1375
|
[K in IncludeUndefined<T>]?: T[K];
|
|
1021
1376
|
};
|
|
1022
1377
|
|
|
1378
|
+
// Warning: (ae-missing-release-tag) "onPlayerClickedObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1379
|
+
//
|
|
1380
|
+
// @public (undocumented)
|
|
1381
|
+
export const onPlayerClickedObservable: Observable<{
|
|
1382
|
+
userId: string;
|
|
1383
|
+
ray: {
|
|
1384
|
+
origin: Vector3Type;
|
|
1385
|
+
direction: Vector3Type;
|
|
1386
|
+
distance: number;
|
|
1387
|
+
};
|
|
1388
|
+
}>;
|
|
1389
|
+
|
|
1390
|
+
// Warning: (ae-missing-release-tag) "onPlayerConnectedObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1391
|
+
//
|
|
1392
|
+
// @public (undocumented)
|
|
1393
|
+
export const onPlayerConnectedObservable: Observable<{
|
|
1394
|
+
userId: string;
|
|
1395
|
+
}>;
|
|
1396
|
+
|
|
1397
|
+
// Warning: (ae-missing-release-tag) "onPlayerDisconnectedObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1398
|
+
//
|
|
1399
|
+
// @public (undocumented)
|
|
1400
|
+
export const onPlayerDisconnectedObservable: Observable<{
|
|
1401
|
+
userId: string;
|
|
1402
|
+
}>;
|
|
1403
|
+
|
|
1404
|
+
// Warning: (ae-missing-release-tag) "onPlayerExpressionObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1405
|
+
//
|
|
1406
|
+
// @public (undocumented)
|
|
1407
|
+
export const onPlayerExpressionObservable: Observable<{
|
|
1408
|
+
expressionId: string;
|
|
1409
|
+
}>;
|
|
1410
|
+
|
|
1411
|
+
// Warning: (ae-missing-release-tag) "onProfileChanged" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1412
|
+
//
|
|
1413
|
+
// @public (undocumented)
|
|
1414
|
+
export const onProfileChanged: Observable<{
|
|
1415
|
+
ethAddress: string;
|
|
1416
|
+
version: number;
|
|
1417
|
+
}>;
|
|
1418
|
+
|
|
1419
|
+
// Warning: (ae-missing-release-tag) "onRealmChangedObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1420
|
+
//
|
|
1421
|
+
// @public (undocumented)
|
|
1422
|
+
export const onRealmChangedObservable: Observable<{
|
|
1423
|
+
domain: string;
|
|
1424
|
+
room: string;
|
|
1425
|
+
serverName: string;
|
|
1426
|
+
displayName: string;
|
|
1427
|
+
}>;
|
|
1428
|
+
|
|
1429
|
+
// Warning: (ae-missing-release-tag) "onSceneReadyObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1430
|
+
//
|
|
1431
|
+
// @public (undocumented)
|
|
1432
|
+
export const onSceneReadyObservable: Observable<unknown>;
|
|
1433
|
+
|
|
1023
1434
|
// Warning: (ae-missing-release-tag) "onUpdate" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1024
1435
|
//
|
|
1025
1436
|
// @public (undocumented)
|
|
1026
1437
|
export function onUpdate(deltaTime: number): Promise<void>;
|
|
1027
1438
|
|
|
1439
|
+
// Warning: (ae-missing-release-tag) "onVideoEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1440
|
+
//
|
|
1441
|
+
// @public (undocumented)
|
|
1442
|
+
export const onVideoEvent: Observable<{
|
|
1443
|
+
componentId: string;
|
|
1444
|
+
videoClipId: string;
|
|
1445
|
+
videoStatus: number;
|
|
1446
|
+
currentOffset: number;
|
|
1447
|
+
totalVideoLength: number;
|
|
1448
|
+
}>;
|
|
1449
|
+
|
|
1028
1450
|
// Warning: (ae-missing-release-tag) "PBAnimationState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1029
1451
|
// Warning: (ae-missing-release-tag) "PBAnimationState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1030
1452
|
//
|
|
@@ -2102,6 +2524,15 @@ export const enum RaycastQueryType {
|
|
|
2102
2524
|
RQT_QUERY_ALL = 1
|
|
2103
2525
|
}
|
|
2104
2526
|
|
|
2527
|
+
// Warning: (ae-missing-release-tag) "RaycastResponsePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2528
|
+
//
|
|
2529
|
+
// @public (undocumented)
|
|
2530
|
+
export type RaycastResponsePayload<T> = {
|
|
2531
|
+
queryId: string;
|
|
2532
|
+
queryType: string;
|
|
2533
|
+
payload: T;
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2105
2536
|
// @public (undocumented)
|
|
2106
2537
|
export const RaycastResult: ComponentDefinition<typeof RaycastResultSchema>;
|
|
2107
2538
|
|
|
@@ -2177,6 +2608,16 @@ export type Result<T extends Spec> = ToOptional<{
|
|
|
2177
2608
|
[K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? Result<T[K]> : never;
|
|
2178
2609
|
}>;
|
|
2179
2610
|
|
|
2611
|
+
// 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)
|
|
2612
|
+
//
|
|
2613
|
+
// @public (undocumented)
|
|
2614
|
+
export type RPCSendableMessage = {
|
|
2615
|
+
jsonrpc: '2.0';
|
|
2616
|
+
id: number;
|
|
2617
|
+
method: string;
|
|
2618
|
+
params: any[];
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2180
2621
|
// @public
|
|
2181
2622
|
export namespace Scalar {
|
|
2182
2623
|
const TwoPi: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
|
-
"version": "7.0.4-
|
|
3
|
+
"version": "7.0.4-3620697800.commit-1ae2333",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"author": "Decentraland",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dcl/sdk": "7.0.4-
|
|
20
|
+
"@dcl/sdk": "7.0.4-3620697800.commit-1ae2333"
|
|
21
21
|
},
|
|
22
22
|
"minCliVersion": "3.12.3",
|
|
23
|
-
"commit": "
|
|
23
|
+
"commit": "1ae23330c8fb30af4bb3d28cf6f6e1c3de617327"
|
|
24
24
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
export * from '@dcl/sdk/math'
|
|
2
2
|
export * from '@dcl/sdk/ecs'
|
|
3
3
|
export * from '@dcl/sdk/react-ecs'
|
|
4
|
+
export * from '@dcl/sdk/messageBus'
|
|
5
|
+
export * from '@dcl/sdk/ethereum-provider'
|
|
4
6
|
|
|
7
|
+
// legacy
|
|
8
|
+
export * from '@dcl/sdk/observables'
|
|
9
|
+
export {
|
|
10
|
+
Observer,
|
|
11
|
+
Observable,
|
|
12
|
+
ObserverEventState
|
|
13
|
+
} from '@dcl/sdk/internal/Observable'
|
|
14
|
+
|
|
15
|
+
// react
|
|
5
16
|
import ReactEcs from '@dcl/sdk/react-ecs'
|
|
6
17
|
export { ReactEcs }
|
|
7
18
|
|