2022-08-30 23:51:07 +08:00

98 lines
1.7 KiB
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.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FunGame.Core.Api.Model.Enum
{
/// <summary>
/// 这里存放框架实现相关的State Type Result Method
/// 添加FunGame.Core.Api接口和实现时需要在这里同步添加InterfaceType和InterfaceMethod
/// </summary>
public static class CommonEnums
{
#region State
public enum StartMatch_State
{
Matching = 1,
Success = 2,
Enable = 3,
Cancel = 4
}
public enum CreateRoom_State
{
Creating = 1,
Success = 2
}
public enum RoomState
{
Created = 1,
Gaming = 2,
Close = 3,
Complete = 4
}
public enum OnlineState
{
Offline = 1,
Online = 2,
Matching = 3,
InRoom = 4,
Gaming = 5
}
#endregion
#region Type
public enum RoomType
{
Mix = 1,
Team = 2,
MixHasPass = 3,
TeamHasPass = 4
}
public enum InterfaceType
{
ServerInterface = 1
}
#endregion
#region Result
public enum MessageResult
{
OK = 1,
Cancel = 2,
Yes = 3,
No = 4,
Retry = 5
}
#endregion
#region Method
public enum WebHelperMethod
{
CreateSocket = 1,
CloseSocket = 2,
StartWebHelper = 3,
}
public enum InterfaceMethod
{
GetServerIP = 1
}
#endregion
}
}