Files
AudioSystem/Assets/Scripts/OCES/Audio/Generated/AudioObjectDefinitions.cs
T
Oliver 813f4254c9 feat: add PlayOnTrigger for music-synced audio playback
- Add PlayOnTrigger method to AudioSystem for scheduling audio playback on music sync events (beat/bar/grid)
- Rename ButtonInvoker to SetStateBind for better clarity
- Update PlaySoundBind to support both direct playback and trigger-based playback with callback flags
- Add CallbackFlags enum (MusicSyncBeat, MusicSyncBar, MusicSyncGrid)
- Update Metronome demo to use new callback flag naming convention
- Add test audio file sfx_notice_test.wav
- Update scene UI to demonstrate PlayOnTrigger functionality
2026-04-16 14:39:58 +08:00

164 lines
4.5 KiB
C#

/* auto generated, do not modify */
using System.Collections.Generic;
namespace OCES.Audio
{
public static class AudioObjectDefinitions
{
public static readonly Dictionary<string, uint> NameToId = new()
{
{ "AnimCollision", 1 },
{ "AnimToWeapon", 2 },
{ "ArrowFire", 3 },
{ "BoxBeSelected", 4 },
{ "BoxCollision", 5 },
{ "BoxMove", 6 },
{ "BoxTouch", 7 },
{ "BoxToWeapon", 8 },
{ "ChangeColor", 9 },
{ "ClickButton", 10 },
{ "CoinFly", 11 },
{ "DamageByArrow", 12 },
{ "DamageByBullet", 13 },
{ "DamageByCannonBall", 14 },
{ "Defeat", 15 },
{ "DestroyBox", 16 },
{ "DevilAttackShield", 17 },
{ "DevilBeHit_01", 18 },
{ "DevilBeHit_02", 18 },
{ "DevilBeHit_03", 18 },
{ "DevilDie", 19 },
{ "DevilFire", 20 },
{ "DevilResurrection", 21 },
{ "DragonAttackShield", 22 },
{ "DragonBeHit", 23 },
{ "DragonDie", 24 },
{ "DragonFire", 25 },
{ "DragonResurrection", 26 },
{ "GhostAttackShield", 27 },
{ "GhostBeHit", 28 },
{ "GhostDie", 29 },
{ "GhostFire", 30 },
{ "GhostResurrection", 31 },
{ "GunFire", 32 },
{ "HorseMove", 33 },
{ "LevelBegins", 34 },
{ "PrincessDown", 35 },
{ "PrincessFear", 36 },
{ "ShieldBroken", 37 },
{ "ShieldUnderAttack", 38 },
{ "Spin", 39 },
{ "TigerMove", 40 },
{ "UnlockProp", 41 },
{ "UnlockTurret", 42 },
{ "Victory", 43 },
{ "WeaponExhausted", 44 },
{ "WeaponFire", 45 },
{ "au_stream", 46 },
{ "rain", 46 },
{ "Chinese Number 01", 48 },
{ "Chinese Number 02", 48 },
{ "Chinese Number 03", 48 },
{ "Chinese Number 04", 48 },
{ "Chinese Number 05", 48 },
{ "Chinese Number 06", 49 },
{ "Chinese Number 07", 49 },
{ "Chinese Number 08", 49 },
{ "Chinese Number 09", 49 },
{ "Chinese Number 10", 49 },
{ "Bar", 52 },
{ "Beat", 53 },
{ "Grid", 54 },
{ "NVDice", 55 },
{ "NVHeartbeats", 56 },
{ "au_sfx_notice_level_countDown_edge", 57 },
{ "au_sfx_notice_level_countDown_time", 58 },
{ "0,62", 59 },
{ "1,65", 59 },
{ "2,68", 59 },
{ "0,63", 60 },
{ "1,66", 60 },
{ "2,69", 60 },
{ "0,64", 61 },
{ "1,67", 61 },
{ "2,70", 61 },
{ "au_coreplay_choose_v120_a", 62 },
{ "au_coreplay_unchoose_v120_a", 63 },
{ "au_coreplay_clear_v120_a", 64 },
{ "au_sfx_ui_button_corePlay_choose_ice1", 65 },
{ "au_sfx_ui_button_corePlay_choose_ice2", 65 },
{ "au_sfx_ui_button_corePlay_choose_ice3", 65 },
{ "au_sfx_ui_button_corePlay_unchoose_ice1", 66 },
{ "au_sfx_ui_button_corePlay_unchoose_ice2", 66 },
{ "au_sfx_ui_button_corePlay_unchoose_ice3", 66 },
{ "au_sfx_ui_button_corePlay_clear_ice1", 67 },
{ "au_sfx_ui_button_corePlay_clear_ice2", 67 },
{ "au_sfx_ui_button_corePlay_clear_ice3", 67 },
{ "au_sfx_ui_button_corePlay_choose_cloud1", 68 },
{ "au_sfx_ui_button_corePlay_choose_cloud2", 68 },
{ "au_sfx_ui_button_corePlay_choose_cloud3", 68 },
{ "au_sfx_ui_button_corePlay_unchoose_cloud1", 69 },
{ "au_sfx_ui_button_corePlay_unchoose_cloud2", 69 },
{ "au_sfx_ui_button_corePlay_unchoose_cloud3", 69 },
{ "au_sfx_ui_button_corePlay_clear_cloud1", 70 },
{ "au_sfx_ui_button_corePlay_clear_cloud2", 70 },
{ "au_sfx_ui_button_corePlay_clear_cloud3", 70 },
{ "sfx_notice_test", 71 },
};
public static readonly HashSet<string> AmbiguousNames = new()
{
"DevilBeHit_01",
"DevilBeHit_02",
"DevilBeHit_03",
"Chinese Number 01",
};
public static readonly HashSet<string> SharedIdNames = new()
{
"DevilBeHit_01",
"DevilBeHit_02",
"DevilBeHit_03",
"au_stream",
"rain",
"Chinese Number 01",
"Chinese Number 02",
"Chinese Number 03",
"Chinese Number 04",
"Chinese Number 05",
"Chinese Number 06",
"Chinese Number 07",
"Chinese Number 08",
"Chinese Number 09",
"Chinese Number 10",
"0,62",
"1,65",
"2,68",
"0,63",
"1,66",
"2,69",
"0,64",
"1,67",
"2,70",
"au_sfx_ui_button_corePlay_choose_ice1",
"au_sfx_ui_button_corePlay_choose_ice2",
"au_sfx_ui_button_corePlay_choose_ice3",
"au_sfx_ui_button_corePlay_unchoose_ice1",
"au_sfx_ui_button_corePlay_unchoose_ice2",
"au_sfx_ui_button_corePlay_unchoose_ice3",
"au_sfx_ui_button_corePlay_clear_ice1",
"au_sfx_ui_button_corePlay_clear_ice2",
"au_sfx_ui_button_corePlay_clear_ice3",
"au_sfx_ui_button_corePlay_choose_cloud1",
"au_sfx_ui_button_corePlay_choose_cloud2",
"au_sfx_ui_button_corePlay_choose_cloud3",
"au_sfx_ui_button_corePlay_unchoose_cloud1",
"au_sfx_ui_button_corePlay_unchoose_cloud2",
"au_sfx_ui_button_corePlay_unchoose_cloud3",
"au_sfx_ui_button_corePlay_clear_cloud1",
"au_sfx_ui_button_corePlay_clear_cloud2",
"au_sfx_ui_button_corePlay_clear_cloud3",
};
}
}