@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.
@@ -505,6 +505,7 @@ export const componentDefinitionByName: {
505
505
  "core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
506
506
  "core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
507
507
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
508
+ "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
508
509
  "core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
509
510
  "core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
510
511
  };
@@ -2326,6 +2327,18 @@ export interface PBVector3 {
2326
2327
  z: number;
2327
2328
  }
2328
2329
 
2330
+ // @public (undocumented)
2331
+ export interface PBVideoEvent {
2332
+ // (undocumented)
2333
+ currentOffset: number;
2334
+ // (undocumented)
2335
+ state: VideoState;
2336
+ tickNumber: number;
2337
+ timestamp: number;
2338
+ // (undocumented)
2339
+ videoLength: number;
2340
+ }
2341
+
2329
2342
  // @public (undocumented)
2330
2343
  export interface PBVideoPlayer {
2331
2344
  loop?: boolean | undefined;
@@ -3172,9 +3185,50 @@ export type Vector3Type = {
3172
3185
  z: number;
3173
3186
  };
3174
3187
 
3188
+ // @public (undocumented)
3189
+ export const VideoEvent: GrowOnlyValueSetComponentDefinition<PBVideoEvent>;
3190
+
3191
+ // @public (undocumented)
3192
+ export interface VideoEventsSystem {
3193
+ // (undocumented)
3194
+ hasVideoEventsEntity(entity: Entity): boolean;
3195
+ // (undocumented)
3196
+ registerVideoEventsEntity(entity: Entity, callback: VideoEventsSystemCallback): void;
3197
+ // (undocumented)
3198
+ removeVideoEventsEntity(entity: Entity): void;
3199
+ }
3200
+
3201
+ // Warning: (ae-extra-release-tag) The doc comment should not contain more than one release tag
3202
+ //
3203
+ // @public
3204
+ export const videoEventsSystem: VideoEventsSystem;
3205
+
3206
+ // @public (undocumented)
3207
+ export type VideoEventsSystemCallback = (event: DeepReadonlyObject<PBVideoEvent>) => void;
3208
+
3175
3209
  // @public (undocumented)
3176
3210
  export const VideoPlayer: LastWriteWinElementSetComponentDefinition<PBVideoPlayer>;
3177
3211
 
3212
+ // @public (undocumented)
3213
+ export const enum VideoState {
3214
+ // (undocumented)
3215
+ VS_BUFFERING = 5,
3216
+ // (undocumented)
3217
+ VS_ERROR = 1,
3218
+ // (undocumented)
3219
+ VS_LOADING = 2,
3220
+ // (undocumented)
3221
+ VS_NONE = 0,
3222
+ // (undocumented)
3223
+ VS_PAUSED = 7,
3224
+ // (undocumented)
3225
+ VS_PLAYING = 4,
3226
+ // (undocumented)
3227
+ VS_READY = 3,
3228
+ // (undocumented)
3229
+ VS_SEEKING = 6
3230
+ }
3231
+
3178
3232
  // @public (undocumented)
3179
3233
  export interface VideoTexture {
3180
3234
  filterMode?: TextureFilterMode | undefined;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.1.10-4896345180.commit-d9eebaf",
4
+ "version": "7.1.10-4897779046.commit-853bd22",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.1.10-4896345180.commit-d9eebaf",
8
- "@dcl/sdk": "7.1.10-4896345180.commit-d9eebaf"
7
+ "@dcl/js-runtime": "7.1.10-4897779046.commit-853bd22",
8
+ "@dcl/sdk": "7.1.10-4897779046.commit-853bd22"
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": "d9eebafc8d639e411c44223414874e9d06423797"
35
+ "commit": "853bd22662d7996fa52755792237b79e2d465177"
36
36
  }