milimoe e7214c3fb9
添加新的枚举、字符常量和方法 (#59)
* 添加大量新的枚举,添加缺少的枚举字符串,修改枚举转字符串方法的位置

* 添加StartGame和Gaming的SocketHandler方法

* 添加MainInvokeType.StartGame

* 优化代码格式

* 添加默认的User.ToString()

* 添加EndGame

* 添加GameMode.GetTypeString

* 添加GameMode.GetRoomType
2023-11-23 00:43:34 +08:00

49 lines
726 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 此文件保存State状态的枚举
*/
namespace Milimoe.FunGame.Core.Library.Constant
{
public enum StartMatchState
{
Matching,
Success,
Enable,
Cancel
}
public enum RoomState
{
Created,
Closed,
Matching,
Gaming,
Complete
}
public enum SelectState
{
None,
SelectingOne,
SelectingMultiple,
SelectingRange,
SelectingLine
}
public enum OnlineState
{
Offline,
Online,
Matching,
InRoom,
Gaming
}
public enum ClientState
{
WaitConnect,
WaitLogin,
Online,
InRoom
}
}