48 lines
1.1 KiB
C#
Raw Permalink Normal View History

2025-06-07 17:43:34 +08:00
/// <summary>
/// FairyGUI事件常量管理
/// </summary>
public static class FGUIEventConst
{
/// <summary>
/// 服务器选择相关事件
/// </summary>
public static class Server
{
/// <summary>
/// 服务器被选择事件
/// </summary>
public const string SELECTED = "EVENT_SERVER_SELECTED";
}
/// <summary>
/// 登录相关事件
/// </summary>
public static class Login
{
/// <summary>
/// 登录成功事件
/// </summary>
public const string SUCCESS = "EVENT_LOGIN_SUCCESS";
/// <summary>
/// 登录失败事件
/// </summary>
public const string FAILED = "EVENT_LOGIN_FAILED";
}
/// <summary>
/// 界面通用事件
/// </summary>
public static class Common
{
/// <summary>
/// 界面打开事件
/// </summary>
public const string PANEL_OPEN = "EVENT_PANEL_OPEN";
/// <summary>
/// 界面关闭事件
/// </summary>
public const string PANEL_CLOSE = "EVENT_PANEL_CLOSE";
}
}