mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 添加大量新的枚举,添加缺少的枚举字符串,修改枚举转字符串方法的位置 * 添加StartGame和Gaming的SocketHandler方法 * 添加MainInvokeType.StartGame * 优化代码格式 * 添加默认的User.ToString() * 添加EndGame * 添加GameMode.GetTypeString * 添加GameMode.GetRoomType
61 lines
859 B
C#
61 lines
859 B
C#
/**
|
||
* 此文件保存Result(结果)的枚举
|
||
*/
|
||
namespace Milimoe.FunGame.Core.Library.Constant
|
||
{
|
||
public enum MessageResult
|
||
{
|
||
OK,
|
||
Cancel,
|
||
Yes,
|
||
No,
|
||
Retry
|
||
}
|
||
|
||
public enum EventResult
|
||
{
|
||
Success,
|
||
Fail,
|
||
NoEventImplement
|
||
}
|
||
|
||
public enum SocketResult
|
||
{
|
||
Success,
|
||
Fail,
|
||
NotSent,
|
||
NotReceived
|
||
}
|
||
|
||
public enum RequestResult
|
||
{
|
||
Success,
|
||
Fail,
|
||
Missing
|
||
}
|
||
|
||
public enum ConnectResult
|
||
{
|
||
Success,
|
||
ConnectFailed,
|
||
CanNotConnect,
|
||
FindServerFailed
|
||
}
|
||
|
||
public enum SQLResult
|
||
{
|
||
Success,
|
||
Fail,
|
||
NotFound,
|
||
SQLError,
|
||
IsExist
|
||
}
|
||
|
||
public enum MailSendResult
|
||
{
|
||
Success,
|
||
Fail,
|
||
NotSend
|
||
}
|
||
}
|