ErrorCode.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. namespace Base
  2. {
  3. public enum ErrorCode
  4. {
  5. ERR_Success = 0,
  6. ERR_RpcProxyTimeout = 93,
  7. ERR_RpcProxySendBuffFull = 94,
  8. ERR_RpcProxyConnectFailed = 95,
  9. ERR_RpcProxyDisconnect = 96,
  10. ERR_RpcProxyParseResponseFailed = 97,
  11. ERR_ServerRpcTimeout = 98,
  12. ERR_DBError = 100,
  13. ERR_DBProxyTrace = 101,
  14. ERR_RpcPraseFailed = 103,
  15. ERR_ServerRpcTrace = 104,
  16. ERR_PlayerNotInGate = 105,
  17. ERR_DataTypeNotExists = 106,
  18. ERR_LoadJsonFailed = 107,
  19. ERR_BattleServerNotExists = 108,
  20. ERR_FreeBattleRoomNotMatch = 109,
  21. ERR_LoadPlayerDataFailed = 111,
  22. ERR_AccountPasswdMissMatch = 112,
  23. ERR_GenerateGuidFailed = 113,
  24. ERR_AssetNotEnough = 114,
  25. ERR_CreateBankJournalFailed = 115,
  26. ERR_LogoutTypeDisconnect = 116,
  27. ERR_LogoutTypeKillBySameAccount = 117,
  28. ERR_LogoutTypeNormalQuit = 118,
  29. ERR_NoFreeBattleServer = 119,
  30. ERR_CannotFindRpcHandler = 121,
  31. ERR_RpcHandlerTraceback = 122,
  32. ERR_PlayerIsLogouting = 123,
  33. ERR_PlayerIsInLogin = 124,
  34. ERR_PlayerNameNotValid = 125,
  35. ERR_PlayerNameTooLong = 126,
  36. ERR_PlayerNameExists = 127,
  37. ERR_PlayerNameAllDigit = 128,
  38. ERR_PlayerNameSensitive = 129,
  39. ERR_ClientVersionLow = 130,
  40. ERR_UnknowObject = 131,
  41. ERR_PlatinumNotEnough = 132,
  42. ERR_RemotePlayerMethodNotImpl = 133,
  43. ERR_GoldNotEnough = 134,
  44. ERR_FindMapConfigFailed = 199,
  45. ERR_FindMatchConfigFailed = 200,
  46. ERR_MatchConfigError = 201,
  47. ERR_FetchGateInfoFailed = 202,
  48. ERR_NotSuchLoginToken = 203,
  49. ERR_LoginTokenExpired = 204,
  50. ERR_TempAccountMustAlnum = 205,
  51. ERR_UseMatch = 206,
  52. ERR_MatchPlayerInWrongStatus = 207,
  53. ERR_FetchPlayerNameFailed = 208,
  54. ERR_GateTracebak = 209,
  55. ERR_RemoteClientNoResponse = 210,
  56. ERR_PlayerNotOnline = 211,
  57. ERR_MatchForbitPlayer = 212,
  58. ERR_StoneMounted = 213,
  59. ERR_StoneMountWrongType = 214,
  60. ERR_StoneMountWrongIdex = 215,
  61. ERR_DeckItemOverLimit = 216,
  62. ERR_BoxNotExist = 217,
  63. ERR_WrongRpcName = 500,
  64. ERR_RpcTraceback = 501,
  65. ERR_TableExistsError = 1050,
  66. ERR_MatchNoIdleBattle = 3000,
  67. ERR_MatchPlayerNotExists = 3001,
  68. ERR_MatchLoadScoreFailed = 3002,
  69. ERR_NotGroupOwner = 3003,
  70. ERR_MatchTurnOffByGM = 3004,
  71. ERR_MatchMustInGroup = 3005,
  72. ERR_MatchInWorkTime = 3006,
  73. ERR_MatchFriendNotEnougth = 3007,
  74. ERR_PlayerNoPet = 3008,
  75. ERR_MatchMustPlayXFirst = 3008,
  76. ERR_PlayerShopIdInvalid = 3009,
  77. ERR_FriendPlayerOffline = 4000,
  78. ERR_FriendPlayerNotExists = 4001,
  79. ERR_FriendAlreadyIsFriends = 4002,
  80. ERR_FriendNotFriends = 4003,
  81. ERR_FriendLoadDataFailed = 4004,
  82. ERR_FriendAddGroupFailedSameGroup = 4005,
  83. ERR_FriendDelGroupFailedGroupNotExists = 4006,
  84. ERR_FriendMoveGroupFailed = 4007,
  85. ERR_FriendCanNotAddSelf = 4008,
  86. ERR_FriendCanNotAddFriendInBlack = 4009,
  87. ERR_FriendAddFriendExists = 4010,
  88. ERR_FriendAddFailed = 4011,
  89. ERR_FriendCountExceedLimit = 4012,
  90. ERR_RoomCreateFail = 5000,
  91. ERR_RoomFull = 5001,
  92. ERR_RoomNotExist = 5002,
  93. ERR_RoomAlreadyStartGame = 5003,
  94. ERR_RoomPassNotCorrect = 5004,
  95. ERR_RoomNotMatch = 5005,
  96. ERR_RoomNotInFighting = 5006,
  97. ERR_RoomPlayerNotExists = 5007,
  98. ERR_RoomPlayerIsOnline = 5008,
  99. ERR_RoomPlayerAlreadyInRoom = 5009,
  100. ERR_RoomNotGroupOwner = 5010,
  101. ERR_RoomNotEnoughSlot = 5011,
  102. ERR_RoomNotRoomOwner = 5012,
  103. ERR_RoomPlayerNotInRoom = 5013,
  104. ERR_PickHeroFailed = 5020,
  105. ERR_PickHeroDisconnect = 5021,
  106. ERR_NotAllPlayerLoadingDone = 5022,
  107. ERR_PickHeroTraceback = 5023,
  108. ERR_NotAllPlayerConnectedBattle = 5024,
  109. ERR_SurrenderNotYet = 5030,
  110. ERR_SurrenderEnded = 5031,
  111. ERR_AccountAlreadyExist = 5032,
  112. ERR_AccountNotValid = 5033,
  113. ERR_PasswordNotValid = 5034,
  114. ERR_AccountNotExists = 5035,
  115. ERR_Password2NotSame = 5036,
  116. ERR_CheckCodeNotCorrect = 5037,
  117. ERR_PlayerNotExists = 5038,
  118. ERR_MailNotExists = 5040,
  119. ERR_MailTitleTooLong = 5041,
  120. ERR_MailContentTooLong = 5042,
  121. ERR_RedisError = 5043,
  122. ERR_CantBattleOb = 5044,
  123. ERR_AlreadyInOb = 5055,
  124. ERR_LoginBattleServerRoomGuidError = 5088,
  125. ERR_LoginBattleServerNoSuchPlayer = 5089,
  126. }
  127. }