mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 20:19:34 +08:00
146 lines
2.0 KiB
C#
146 lines
2.0 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Security.Cryptography;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
|
||
namespace Milimoe.FunGame.Core.Entity.Enum
|
||
{
|
||
/**
|
||
* 这里存放框架实现相关的State Type Result Method
|
||
* 添加Milimoe.FunGame.Core.Api接口和实现时,需要在这里同步添加:InterfaceType、InterfaceMethod
|
||
*/
|
||
|
||
#region State
|
||
|
||
public enum StartMatch_State
|
||
{
|
||
Matching,
|
||
Success,
|
||
Enable,
|
||
Cancel
|
||
}
|
||
|
||
public enum CreateRoom_State
|
||
{
|
||
Creating,
|
||
Success
|
||
}
|
||
|
||
public enum RoomState
|
||
{
|
||
Created,
|
||
Gaming,
|
||
Close,
|
||
Complete
|
||
}
|
||
|
||
public enum OnlineState
|
||
{
|
||
Offline,
|
||
Online,
|
||
Matching,
|
||
InRoom,
|
||
Gaming
|
||
}
|
||
|
||
public enum ClientState
|
||
{
|
||
Online,
|
||
WaitConnect,
|
||
WaitLogin
|
||
}
|
||
|
||
#endregion
|
||
|
||
#region Type
|
||
|
||
public enum RoomType
|
||
{
|
||
Mix,
|
||
Team,
|
||
MixHasPass,
|
||
TeamHasPass
|
||
}
|
||
|
||
public enum MessageButtonType
|
||
{
|
||
OK,
|
||
OKCancel,
|
||
YesNo,
|
||
RetryCancel,
|
||
Input
|
||
}
|
||
|
||
public enum InterfaceType
|
||
{
|
||
IClient,
|
||
IServer
|
||
}
|
||
|
||
public enum LightType
|
||
{
|
||
Green,
|
||
Yellow,
|
||
Red
|
||
}
|
||
|
||
public enum SocketMessageType
|
||
{
|
||
Unknown,
|
||
GetNotice,
|
||
Login,
|
||
CheckLogin,
|
||
Logout,
|
||
Disconnect,
|
||
HeartBeat
|
||
}
|
||
|
||
public enum ErrorType
|
||
{
|
||
None,
|
||
IsNotIP,
|
||
IsNotPort,
|
||
WrongFormat
|
||
}
|
||
|
||
#endregion
|
||
|
||
#region Result
|
||
|
||
public enum MessageResult
|
||
{
|
||
OK,
|
||
Cancel,
|
||
Yes,
|
||
No,
|
||
Retry
|
||
}
|
||
|
||
#endregion
|
||
|
||
#region Method
|
||
|
||
public enum SocketHelperMethod
|
||
{
|
||
CreateSocket,
|
||
CloseSocket,
|
||
StartSocketHelper,
|
||
Login,
|
||
Logout,
|
||
Disconnect
|
||
}
|
||
|
||
public enum InterfaceMethod
|
||
{
|
||
RemoteServerIP,
|
||
DBConnection,
|
||
GetServerSettings
|
||
}
|
||
|
||
#endregion
|
||
|
||
}
|