CutsceneLoadPayload
@zylem/game-lib / bridge / CutsceneLoadPayload
Interface: CutsceneLoadPayload
Defined in: packages/bridge/src/protocol.ts:319
Load (or replace) the cutscene the game previews. The definition is the
runtime CutsceneDefinition shape; it is carried untyped here so the
bridge does not depend on game-lib's schemas.
Properties
autoplay?
optionalautoplay?:boolean
Defined in: packages/bridge/src/protocol.ts:322
Start playing once loaded; otherwise the game waits for cutscene:play.
definition
definition:
Record<string,unknown>
Defined in: packages/bridge/src/protocol.ts:320
time?
optionaltime?:number
Defined in: packages/bridge/src/protocol.ts:324
Seconds to seek to after loading.