mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 19:49:34 +08:00

* 添加大量新的枚举,添加缺少的枚举字符串,修改枚举转字符串方法的位置 * 添加StartGame和Gaming的SocketHandler方法 * 添加MainInvokeType.StartGame * 优化代码格式 * 添加默认的User.ToString() * 添加EndGame * 添加GameMode.GetTypeString * 添加GameMode.GetRoomType
49 lines
726 B
C#
49 lines
726 B
C#
/**
|
||
* 此文件保存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
|
||
}
|
||
}
|