目次

Wwise SDK 2018.1.11
ak.wwise.core.transport.stateChanged


Sent when the transport's state has changed.

Supported by

Graphical User Interface, Command-Line Interface.

Options

Name Type Description
transport * integer The ID of the watched transport.

(Required *)

Options Details


transport

description : The ID of the watched transport.
type : integer
minimum : 0
maximum : 4294967295


Publications Format

Name Type Description
transport * integer The ID of the watched transport.
state * string The state of the transport object.
Possible values : "playing", "stopped", "paused"
object * string The ID (GUID) of the object controlled by the transport object.
gameObject integer The game object used by the transport object.

(Required *)

Publications Format Details


transport

description : The ID of the watched transport.
type : integer
minimum : 0
maximum : 4294967295

state

type : string
description : The state of the transport object.
Possible values : "playing", "stopped", "paused"

object

description : The ID (GUID) of the object controlled by the transport object.
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$

gameObject

description : The game object used by the transport object.
type : integer
minimum : 0
maximum : 18446744073709551615



Detailed JSON Schema


Options :

{
"type": "object",
"properties": {
"transport": {
"description": "The ID of the watched transport.",
"type": "integer",
"minimum": 0,
"maximum": 4294967295
}
},
"required": [
"transport"
],
"additionalProperties": false
}


Publication schema :

{
"type": "object",
"properties": {
"transport": {
"description": "The ID of the watched transport.",
"type": "integer",
"minimum": 0,
"maximum": 4294967295
},
"state": {
"type": "string",
"description": "The state of the transport object.",
"enum": [
"playing",
"stopped",
"paused"
]
},
"object": {
"description": "The ID (GUID) of the object controlled by the transport object.",
"type": "string",
"pattern": *Must be a valid GUID*
},
"gameObject": {
"description": "The game object used by the transport object.",
"type": "integer",
"minimum": 0,
"maximum": 18446744073709551615
}
},
"required": [
"transport",
"state",
"object"
],
"additionalProperties": false
}

Document version : 1