架构
{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "所要执行的命令的 ID。如需查看命令列表,请参阅 \\ref globalcommandsids 章节。"
},
"objects": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^(StateGroup|SwitchGroup|SoundBank|GameParameter|Event|Effect|AudioDevice|Trigger|Attenuation|DialogueEvent|Bus|AuxBus|Conversion|ModulatorLfo|ModulatorEnvelope|ModulatorTime|Platform|Language|AcousticTexture|Global):[a-zA-Z0-9_]+$",
"description": "由类型或 Short ID 限定的对象名称,格式为 type:name 或 Global:shortId。仅支持采用全局唯一名称或 Short Id 的对象类型。例如:Event:Play_Sound_01, Global:245489792"
},
{
"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}\\}$",
"description": "以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。"
},
{
"type": "string",
"pattern": "^\\\\",
"description": "Wwise 对象的工程路径,包含类别和 Work Unit。例如:\\\\Actor-Mixer Hierarchy\\\\Default Work Unit\\\\New Sound SFX。"
}
]
},
"description": "此数组中包含一系列对象。每个对象都表示为对象的 ID (GUID)、名称或路径。有些命令可将多个对象作为参数。有关详细信息,请参阅相应命令。"
},
"platforms": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9()]*$",
"description": "对象的名称。"
},
{
"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}\\}$",
"description": "以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。"
}
]
},
"description": "此数组中包含一系列平台。每个平台都表示为 ID (GUID) 或唯一名称。有些命令可将多个平台作为参数。有关详细信息,请参阅相应命令。"
},
"value": {
"description": "要传给命令的值。有些命令可将值作为参数。有关详细信息,请参阅相应命令。\\n 属性的值。",
"anyOf": [
{
"type": "null",
"description": "空值。没有对对象的引用。"
},
{
"type": "string",
"description": "字符串值。"
},
{
"type": "number",
"description": "数字值。"
},
{
"type": "boolean",
"description": "布尔值。"
}
]
}
},
"required": [
"command"
],
"additionalProperties": false
}