116 lines
3.3 KiB
C#
116 lines
3.3 KiB
C#
/*
|
|
* auto generated by tools(注意:千万不要手动修改本文件)
|
|
* AudioConsts
|
|
*/
|
|
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace OCES.Audio
|
|
{
|
|
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
|
public class Cues
|
|
{
|
|
public static uint Play_sfx_ui_panel_common_open = 1;
|
|
public static uint Play_sfx_ui_panel_common_close = 2;
|
|
public static uint Play_sfx_ui_button_common = 3;
|
|
public static uint Play_sfx_anim_guide = 4;
|
|
public static uint Play_sfx_noice_common_positive = 5;
|
|
public static uint Play_sfx_noice_common_neutral = 6;
|
|
public static uint Play_sfx_noice_common_negative = 7;
|
|
public static uint Play_sfx_ui_labelSwitch = 8;
|
|
public static uint Play_sfx_anim_game_start = 9;
|
|
public static uint Play_sfx_anim_game_shoot = 10;
|
|
public static uint Play_sfx_anim_game_hit = 11;
|
|
public static uint Play_sfx_anim_coin_show = 12;
|
|
public static uint Play_sfx_anim_coin_fly = 13;
|
|
public static uint Play_sfx_anim_coin_land = 14;
|
|
public static uint Play_Bar = 52;
|
|
public static uint Play_Beat = 53;
|
|
public static uint Play_Grid = 54;
|
|
public static uint Play_au_coreplay_collect_handbag = 101;
|
|
public static uint Play_au_coreplay_win = 102;
|
|
public static uint Play_au_coreplay_pour_less = 103;
|
|
public static uint Play_au_coreplay_pour_mid = 104;
|
|
public static uint Play_au_coreplay_pour_more = 105;
|
|
} //public class Cues
|
|
|
|
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
|
|
public class NameDictionaries
|
|
{
|
|
public static readonly Dictionary<string, uint> NameToId = new()
|
|
{
|
|
{ "sfx_ui_panel_common_open", 1 },
|
|
{ "sfx_ui_panel_common_close", 2 },
|
|
{ "sfx_ui_button_common", 3 },
|
|
{ "sfx_anim_guide", 4 },
|
|
{ "sfx_noice_common_positive", 5 },
|
|
{ "sfx_noice_common_neutral", 6 },
|
|
{ "sfx_noice_common_negative", 7 },
|
|
{ "sfx_ui_labelSwitch", 8 },
|
|
{ "sfx_anim_game_start", 9 },
|
|
{ "sfx_anim_game_shoot_01", 10 },
|
|
{ "sfx_anim_game_shoot_02", 10 },
|
|
{ "sfx_anim_game_shoot_03", 10 },
|
|
{ "sfx_anim_game_hit", 11 },
|
|
{ "sfx_anim_coin_show", 12 },
|
|
{ "sfx_anim_coin_fly", 13 },
|
|
{ "sfx_anim_coin_land", 14 },
|
|
{ "Bar", 52 },
|
|
{ "Beat", 53 },
|
|
{ "Grid", 54 },
|
|
{ "au_coreplay_collect_handbag", 101 },
|
|
{ "au_coreplay_win", 102 },
|
|
{ "au_coreplay_pour_less_1", 103 },
|
|
{ "au_coreplay_pour_less_2", 103 },
|
|
{ "au_coreplay_pour_mid_1", 104 },
|
|
{ "au_coreplay_pour_mid_2", 104 },
|
|
{ "au_coreplay_pour_more_1", 105 },
|
|
{ "au_coreplay_pour_more_2", 105 },
|
|
};
|
|
|
|
public static readonly HashSet<string> AmbiguousNames = new()
|
|
{
|
|
};
|
|
|
|
public static readonly HashSet<string> SharedIdNames = new()
|
|
{
|
|
"sfx_anim_game_shoot_01",
|
|
"sfx_anim_game_shoot_02",
|
|
"sfx_anim_game_shoot_03",
|
|
"au_coreplay_pour_less_1",
|
|
"au_coreplay_pour_less_2",
|
|
"au_coreplay_pour_mid_1",
|
|
"au_coreplay_pour_mid_2",
|
|
"au_coreplay_pour_more_1",
|
|
"au_coreplay_pour_more_2",
|
|
};
|
|
} //public class NameDictionaries
|
|
|
|
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
|
|
public class Parameters
|
|
{
|
|
public static class EnumIds
|
|
{
|
|
public const uint GameStateId = 1;
|
|
|
|
|
|
public static void RegisterAllGameState()
|
|
{
|
|
StateGroupRegistry.Register<GameState>(1);
|
|
}
|
|
}
|
|
|
|
public enum GameState
|
|
{
|
|
Home, // 主界面
|
|
Game, // 关卡内
|
|
Win, // 胜利
|
|
Lose, // 失败
|
|
TestA,
|
|
TestB,
|
|
}
|
|
|
|
} //public class Parameters
|
|
}
|