@dcl/playground-assets 7.1.10-4896345180.commit-d9eebaf → 7.1.10-4897779046.commit-853bd22
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 +52 -0
- package/dist/beta.d.ts +52 -0
- package/dist/index.bundled.d.ts +52 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +52 -0
- package/etc/playground-assets.api.json +645 -1
- package/etc/playground-assets.api.md +54 -0
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -1159,6 +1159,7 @@ export declare const componentDefinitionByName: {
|
|
|
1159
1159
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1160
1160
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1161
1161
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1162
|
+
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
1162
1163
|
"core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
|
|
1163
1164
|
"core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
|
|
1164
1165
|
};
|
|
@@ -4297,6 +4298,19 @@ export declare interface PBVector3 {
|
|
|
4297
4298
|
z: number;
|
|
4298
4299
|
}
|
|
4299
4300
|
|
|
4301
|
+
/**
|
|
4302
|
+
* @public
|
|
4303
|
+
*/
|
|
4304
|
+
export declare interface PBVideoEvent {
|
|
4305
|
+
/** monotonic counter */
|
|
4306
|
+
timestamp: number;
|
|
4307
|
+
/** number of tick in which the event was produced, equals to EngineInfo.tick_number */
|
|
4308
|
+
tickNumber: number;
|
|
4309
|
+
currentOffset: number;
|
|
4310
|
+
videoLength: number;
|
|
4311
|
+
state: VideoState;
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4300
4314
|
/**
|
|
4301
4315
|
* @public
|
|
4302
4316
|
*/
|
|
@@ -6368,9 +6382,47 @@ export declare type Vector3Type = {
|
|
|
6368
6382
|
z: number;
|
|
6369
6383
|
};
|
|
6370
6384
|
|
|
6385
|
+
/** @public */
|
|
6386
|
+
export declare const VideoEvent: GrowOnlyValueSetComponentDefinition<PBVideoEvent>;
|
|
6387
|
+
|
|
6388
|
+
/**
|
|
6389
|
+
* @public
|
|
6390
|
+
*/
|
|
6391
|
+
export declare interface VideoEventsSystem {
|
|
6392
|
+
removeVideoEventsEntity(entity: Entity): void;
|
|
6393
|
+
registerVideoEventsEntity(entity: Entity, callback: VideoEventsSystemCallback): void;
|
|
6394
|
+
hasVideoEventsEntity(entity: Entity): boolean;
|
|
6395
|
+
}
|
|
6396
|
+
|
|
6397
|
+
/**
|
|
6398
|
+
* @alpha
|
|
6399
|
+
* @public
|
|
6400
|
+
* Register callback functions to a particular entity on video events.
|
|
6401
|
+
*/
|
|
6402
|
+
export declare const videoEventsSystem: VideoEventsSystem;
|
|
6403
|
+
|
|
6404
|
+
/**
|
|
6405
|
+
* @public
|
|
6406
|
+
*/
|
|
6407
|
+
export declare type VideoEventsSystemCallback = (event: DeepReadonlyObject<PBVideoEvent>) => void;
|
|
6408
|
+
|
|
6371
6409
|
/** @public */
|
|
6372
6410
|
export declare const VideoPlayer: LastWriteWinElementSetComponentDefinition<PBVideoPlayer>;
|
|
6373
6411
|
|
|
6412
|
+
/**
|
|
6413
|
+
* @public
|
|
6414
|
+
*/
|
|
6415
|
+
export declare const enum VideoState {
|
|
6416
|
+
VS_NONE = 0,
|
|
6417
|
+
VS_ERROR = 1,
|
|
6418
|
+
VS_LOADING = 2,
|
|
6419
|
+
VS_READY = 3,
|
|
6420
|
+
VS_PLAYING = 4,
|
|
6421
|
+
VS_BUFFERING = 5,
|
|
6422
|
+
VS_SEEKING = 6,
|
|
6423
|
+
VS_PAUSED = 7
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6374
6426
|
/**
|
|
6375
6427
|
* @public
|
|
6376
6428
|
*/
|
package/dist/beta.d.ts
CHANGED
|
@@ -1159,6 +1159,7 @@ export declare const componentDefinitionByName: {
|
|
|
1159
1159
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1160
1160
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1161
1161
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1162
|
+
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
1162
1163
|
"core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
|
|
1163
1164
|
"core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
|
|
1164
1165
|
};
|
|
@@ -4293,6 +4294,19 @@ export declare interface PBVector3 {
|
|
|
4293
4294
|
z: number;
|
|
4294
4295
|
}
|
|
4295
4296
|
|
|
4297
|
+
/**
|
|
4298
|
+
* @public
|
|
4299
|
+
*/
|
|
4300
|
+
export declare interface PBVideoEvent {
|
|
4301
|
+
/** monotonic counter */
|
|
4302
|
+
timestamp: number;
|
|
4303
|
+
/** number of tick in which the event was produced, equals to EngineInfo.tick_number */
|
|
4304
|
+
tickNumber: number;
|
|
4305
|
+
currentOffset: number;
|
|
4306
|
+
videoLength: number;
|
|
4307
|
+
state: VideoState;
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4296
4310
|
/**
|
|
4297
4311
|
* @public
|
|
4298
4312
|
*/
|
|
@@ -6364,9 +6378,47 @@ export declare type Vector3Type = {
|
|
|
6364
6378
|
z: number;
|
|
6365
6379
|
};
|
|
6366
6380
|
|
|
6381
|
+
/** @public */
|
|
6382
|
+
export declare const VideoEvent: GrowOnlyValueSetComponentDefinition<PBVideoEvent>;
|
|
6383
|
+
|
|
6384
|
+
/**
|
|
6385
|
+
* @public
|
|
6386
|
+
*/
|
|
6387
|
+
export declare interface VideoEventsSystem {
|
|
6388
|
+
removeVideoEventsEntity(entity: Entity): void;
|
|
6389
|
+
registerVideoEventsEntity(entity: Entity, callback: VideoEventsSystemCallback): void;
|
|
6390
|
+
hasVideoEventsEntity(entity: Entity): boolean;
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
/**
|
|
6394
|
+
* @alpha
|
|
6395
|
+
* @public
|
|
6396
|
+
* Register callback functions to a particular entity on video events.
|
|
6397
|
+
*/
|
|
6398
|
+
export declare const videoEventsSystem: VideoEventsSystem;
|
|
6399
|
+
|
|
6400
|
+
/**
|
|
6401
|
+
* @public
|
|
6402
|
+
*/
|
|
6403
|
+
export declare type VideoEventsSystemCallback = (event: DeepReadonlyObject<PBVideoEvent>) => void;
|
|
6404
|
+
|
|
6367
6405
|
/** @public */
|
|
6368
6406
|
export declare const VideoPlayer: LastWriteWinElementSetComponentDefinition<PBVideoPlayer>;
|
|
6369
6407
|
|
|
6408
|
+
/**
|
|
6409
|
+
* @public
|
|
6410
|
+
*/
|
|
6411
|
+
export declare const enum VideoState {
|
|
6412
|
+
VS_NONE = 0,
|
|
6413
|
+
VS_ERROR = 1,
|
|
6414
|
+
VS_LOADING = 2,
|
|
6415
|
+
VS_READY = 3,
|
|
6416
|
+
VS_PLAYING = 4,
|
|
6417
|
+
VS_BUFFERING = 5,
|
|
6418
|
+
VS_SEEKING = 6,
|
|
6419
|
+
VS_PAUSED = 7
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6370
6422
|
/**
|
|
6371
6423
|
* @public
|
|
6372
6424
|
*/
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1159,6 +1159,7 @@ export declare const componentDefinitionByName: {
|
|
|
1159
1159
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1160
1160
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1161
1161
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1162
|
+
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
1162
1163
|
"core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
|
|
1163
1164
|
"core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
|
|
1164
1165
|
};
|
|
@@ -4293,6 +4294,19 @@ export declare interface PBVector3 {
|
|
|
4293
4294
|
z: number;
|
|
4294
4295
|
}
|
|
4295
4296
|
|
|
4297
|
+
/**
|
|
4298
|
+
* @public
|
|
4299
|
+
*/
|
|
4300
|
+
export declare interface PBVideoEvent {
|
|
4301
|
+
/** monotonic counter */
|
|
4302
|
+
timestamp: number;
|
|
4303
|
+
/** number of tick in which the event was produced, equals to EngineInfo.tick_number */
|
|
4304
|
+
tickNumber: number;
|
|
4305
|
+
currentOffset: number;
|
|
4306
|
+
videoLength: number;
|
|
4307
|
+
state: VideoState;
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4296
4310
|
/**
|
|
4297
4311
|
* @public
|
|
4298
4312
|
*/
|
|
@@ -6364,9 +6378,47 @@ export declare type Vector3Type = {
|
|
|
6364
6378
|
z: number;
|
|
6365
6379
|
};
|
|
6366
6380
|
|
|
6381
|
+
/** @public */
|
|
6382
|
+
export declare const VideoEvent: GrowOnlyValueSetComponentDefinition<PBVideoEvent>;
|
|
6383
|
+
|
|
6384
|
+
/**
|
|
6385
|
+
* @public
|
|
6386
|
+
*/
|
|
6387
|
+
export declare interface VideoEventsSystem {
|
|
6388
|
+
removeVideoEventsEntity(entity: Entity): void;
|
|
6389
|
+
registerVideoEventsEntity(entity: Entity, callback: VideoEventsSystemCallback): void;
|
|
6390
|
+
hasVideoEventsEntity(entity: Entity): boolean;
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
/**
|
|
6394
|
+
* @alpha
|
|
6395
|
+
* @public
|
|
6396
|
+
* Register callback functions to a particular entity on video events.
|
|
6397
|
+
*/
|
|
6398
|
+
export declare const videoEventsSystem: VideoEventsSystem;
|
|
6399
|
+
|
|
6400
|
+
/**
|
|
6401
|
+
* @public
|
|
6402
|
+
*/
|
|
6403
|
+
export declare type VideoEventsSystemCallback = (event: DeepReadonlyObject<PBVideoEvent>) => void;
|
|
6404
|
+
|
|
6367
6405
|
/** @public */
|
|
6368
6406
|
export declare const VideoPlayer: LastWriteWinElementSetComponentDefinition<PBVideoPlayer>;
|
|
6369
6407
|
|
|
6408
|
+
/**
|
|
6409
|
+
* @public
|
|
6410
|
+
*/
|
|
6411
|
+
export declare const enum VideoState {
|
|
6412
|
+
VS_NONE = 0,
|
|
6413
|
+
VS_ERROR = 1,
|
|
6414
|
+
VS_LOADING = 2,
|
|
6415
|
+
VS_READY = 3,
|
|
6416
|
+
VS_PLAYING = 4,
|
|
6417
|
+
VS_BUFFERING = 5,
|
|
6418
|
+
VS_SEEKING = 6,
|
|
6419
|
+
VS_PAUSED = 7
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6370
6422
|
/**
|
|
6371
6423
|
* @public
|
|
6372
6424
|
*/
|