123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- namespace ET
- {
- /// <summary>
- /// 1-11004 是SocketError请看SocketError定义
- ///-----------------------------------
- /// 100000-109999是Core层的错误
- /// 110000以下的错误请看ErrorCore.cs
- /// 这里配置逻辑层的错误码
- /// 110000 - 200000是抛异常的错误
- /// 200001以上不抛异常
- /// </summary>
- public static partial class ErrorCode
- {
- public const int ERR_Success = 0;
- /** 系统错误 **/
- public const int ERR_SystemError = 200002;
- /** 操作错误 **/
- public const int ERR_OperationError = 200003;
- /** 参数错误 **/
- public const int ERR_ParameterError = 200004;
- /** 登陆错误 **/
- public const int ERR_LoginError = 200005;
- /** 重复请求 **/
- public const int ERR_RequestRepeatedly = 200006;
- /** 请输入用户名和密码 **/
- public const int ERR_UserNameOrPasswordIsNull = 200007;
- /** 用户名或密码格式错误 **/
- public const int ERR_UserNameOrPasswordFormatError = 200008;
- /** 用户名或密码错误 **/
- public const int ERR_UserNameOrPasswordError = 200009;
- /** 已被永久封禁 **/
- public const int ERR_UserPermanentBan = 200010;
- /** 已被限时封禁 **/
- public const int ERR_UserBanTime = 200011;
- /** 请输入角色名 **/
- public const int ERR_PlayerNameIsNull = 200012;
- /** 该职业有误 **/
- public const int ERR_ProNotProper = 200013;
- /** 该性别有误 **/
- public const int ERR_SexNotProper = 200014;
- /** 创角失败 **/
- public const int ERR_CreatePlayerError = 200015;
- /** 该角色已经绑定 **/
- public const int ERR_PlayerIdIsBind = 200016;
- /** 选角出错 **/
- public const int ERR_BindPlayerError = 200017;
- /** 操作过快,请稍后重试 **/
- public const int ERR_OperationToFast = 200018;
- /** 场景不存在 **/
- public const int ERR_EnterMapError = 200019;
- /** 配置错误 **/
- public const int ERR_ConfigError = 200020;
- /** 账号已在其他地方登录 **/
- public const int ERR_AccountAlreadyLoggedInElsewhere = 200021;
- /** 角色已在其他地方登录 **/
- public const int ERR_PlayerAlreadyLoggedInElsewhere = 200022;
- /** 创建单位玩家有误 **/
- public const int ERR_CreateUnitPlayerError = 200023;
- /** 获取抖音roomInfo失败 **/
- public const int ERR_RoomInfoError = 200024;
- public enum EnterMap
- {
- MapNotExist = 210001,
- BattleSvrErr,
- }
- }
- }
|