status_code.go 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. package code
  2. // 基础状态码
  3. const (
  4. OK int32 = 0 // is ok
  5. Error int32 = 1 // error
  6. )
  7. // 内部错误码
  8. const (
  9. PIDError int32 = 100 // pid错误
  10. DataNotFound int32 = 101 // 数据未找到
  11. DBError int32 = 102 // db error
  12. UIDGetError int32 = 103 // 玩家id传入错误
  13. RecordNotFound int32 = 104 // 记录未找到
  14. DataMarshalError int32 = 105 // 数据序列化错误
  15. RequestParamsError int32 = 106 // 请求参数错误
  16. RouteNotFound int32 = 107 // 路由未找到
  17. RouteTypeError int32 = 108 // 路由请求类型错误
  18. RouteIsDisabled int32 = 109 // 路由已禁用
  19. )
  20. // 节点错误码
  21. const (
  22. NodeIsMaxOfOnlineUser int32 = 201 // 游戏服已经达到最大人数
  23. NodeIsClosed int32 = 202 // 游戏服已关闭,请留意开服公告
  24. NodeIsMaintain int32 = 203 // 游戏已维护中,请留意开服公告
  25. NodeChangeStateError int32 = 204 // 修改游戏服状态错误
  26. NodeRateLimiter int32 = 205 // 请求频率太快,请稍后再试
  27. NodeRequestError int32 = 206 // 节点请求错误
  28. NodeLeagueNotFound int32 = 207 // 联盟节点未找到
  29. NodeMapNotFound int32 = 208 // 地图节点未找到
  30. NodeMapIsMaintain int32 = 209 // 地图维护中
  31. NodeMapIsClosed int32 = 210 // 地图已关闭
  32. NodeMapChangeStateError int32 = 211 // 修改地图状态错误
  33. NodeGameNodeIDIsEmpty int32 = 212 // 游戏节点ID为空
  34. NodeMapNodeIDIsEmpty int32 = 213 // 地图节点ID为空
  35. )
  36. // 业务通用错误码
  37. const (
  38. TimesLimit int32 = 302 // 次数不足
  39. LevelLimit int32 = 303 // 最大等级
  40. IllegalString int32 = 304 // 非法字符串
  41. StringLengthOutOfRange int32 = 305 // 字符串长度超出范围
  42. EmptyString int32 = 306 // 空字符串
  43. DuplicateName int32 = 307 // 重名
  44. RankNotExists int32 = 308 // 排行榜不存在
  45. RewardAlreadyClaim int32 = 309 // 奖励已领取
  46. DuplicateRequest int32 = 310 // 重复的请求
  47. PlayerDetailNotFound int32 = 311 // 玩家信息不存在
  48. OperationTooFast int32 = 314 // 操作太快
  49. IllegalArgument int32 = 315 // 非法参数
  50. OperationNotSupportYet int32 = 316 // 暂不支持该操作
  51. )
  52. // TODO 业务专用错误码往下面排
  53. // 错误码 = (100 + 模块号) * 1000 + 错误号
  54. // 错误号 = 子模块号 * 100 + 序列号
  55. // 配置不存在专用
  56. const (
  57. ConfigNotFound_LordLevel int32 = 10101 // 配置不存在:主角等级
  58. ConfigNotFound_Hero int32 = 10201 // 配置不存在:英雄
  59. ConfigNotFound_HeroStar int32 = 10202 // 配置不存在:英雄星级
  60. ConfigNotFound_HeroTeam int32 = 10203 // 配置不存在:英雄队伍
  61. ConfigNotFound_Item int32 = 10301 // 道具不存在配置中
  62. ConfigNotFound_ItemCraft int32 = 10302 // 道具合成配置不存在
  63. ConfigNotFound_ItemPool int32 = 10303 // 道具池配置不存在
  64. ConfigNotFound_ItemChest int32 = 10304 // 配置不存在:宝箱
  65. ConfigNotFound_Medicine int32 = 10305 // 配置不存在:药品
  66. ConfigNotFound_DropPool int32 = 10306 // 配置不存在:掉落池
  67. ConfigNotFound_FacilityQueue int32 = 10401 // 配置不存在:建筑队列
  68. ConfigNotFound_FacilityLevel int32 = 10402 // 配置不存在:建筑等级
  69. ConfigNotFound_Recruit int32 = 10501 // 配置不存在:招募
  70. ConfigNotFound_MapMarch int32 = 10601 // 配置不存在:地图行军
  71. ConfigNotFound_MapBuild int32 = 10602 // 配置不存在:地图建筑
  72. ConfigNotFound_MapMarchState int32 = 10603 // 配置不存在:地图行军状态
  73. ConfigNotFound_MapBuildUpgrade int32 = 10604 // 配置不存在:地图建筑升级
  74. ConfigNotFound_MapAreaState int32 = 10605 // 配置不存在:地图州
  75. ConfigNotFound_Quest int32 = 10701 // 任务配置未找到
  76. ConfigNotFound_QuestGroup int32 = 10702 // 任务组配置未找到
  77. ConfigNotFound_Mail int32 = 10801 // 邮件配置未找到
  78. ConfigNotFound_Equip int32 = 10901 // 装备配置不存在
  79. ConfigNotFound_EquipLevel int32 = 10902 // 装备等级配置不存在
  80. ConfigNotFound_EquipQuality int32 = 10903 // 装备品质配置未找到
  81. ConfigNotFound_EquipQualityDown int32 = 10904 // 装备降品配置未找到
  82. ConfigNotFound_EquipAttrBase int32 = 10905 // 装备基础属性配置不存在
  83. ConfigNotFound_EquipAttrExtra int32 = 10906 // 装备附加属性配置不存在
  84. ConfigNotFound_SkillPool int32 = 11001 // 技能池配置不存在
  85. ConfigNotExist_SkillLevel int32 = 11002 // 技能等级配置不存在
  86. ConfigNotExist_Conscript int32 = 11101 // 士兵等级配置不存在
  87. ConfigNotExist_ConscriptType int32 = 11102 // 士兵兵种配置不存在
  88. ConfigNotExist_ConscriptUp int32 = 11103 // 升级士兵配置不存在
  89. ConfigNotFound_Chapter int32 = 11201 // 探险配置不存在
  90. ConfigNotFound_ChapterReward int32 = 11202 // 探险奖励配置不存在
  91. ConfigNotFound_ChapterLevel int32 = 11301 // 关卡配置不存在
  92. ConfigNotFound_Shop int32 = 11401 // 商店配置不存在
  93. ConfigNotFound_ShopGoods int32 = 11402 // 商品库配置不存在
  94. ConfigNotFound_LeagueStorage int32 = 11501 // 联盟仓库配置不存在
  95. ConfigNotFound_ExchangeGoods int32 = 11601 // 交易所商品配置不存在
  96. ConfigNotFound_ExchangeSlot int32 = 11602 // 交易所货柜配置不存在
  97. ConfigNotFound_MapCastle int32 = 10606 // 配置不存在:地图城池
  98. ConfigNotFound_SeasonQuest int32 = 12801 // 配置不存在:赛季霸业任务
  99. ConfigNotFound_VipLevel int32 = 11701 // VIP等级配置不存在
  100. )
  101. // 账号错误码
  102. const (
  103. AccountInputParamsError int32 = 100000 // 传入参数错误
  104. AccountNameLenError int32 = 100001 // 帐号名长度错误
  105. AccountPasswordLenShort int32 = 100002 // 密码长度错误
  106. AccountNameIsExist int32 = 100003 // 注册失败,帐号名已存在
  107. AccountUnmarshalError int32 = 100004 // token序列化错误
  108. AccountTokenValidateError int32 = 100005 // token验证错误
  109. AccountTokenIsExpired int32 = 100006 // token已经过期
  110. AccountSDKAuthFail int32 = 100007 // 平台帐号验证失败
  111. AccountLoginSDKResponseError int32 = 100008 // 帐号登录sdk返回错误
  112. AccountLoginSignError int32 = 100009 // 帐号登录错误0x000 (签名验证错误)
  113. AccountLoginPIDError int32 = 100010 // 帐号登录错误0x001 (sdk_id)
  114. AccountLoginSDKNotFound int32 = 100011 // 帐号登录错误0x002 (sdkConfig)
  115. AccountLoginParamsError int32 = 100012 // 帐号登录错误0x003 (登录时客户端传入的参数错误)
  116. AccountLoginResponseError int32 = 100013 // 帐号登录错误0x004 (登录时sdk返回的错误)
  117. AccountLoginBindUserError int32 = 100014 // 登录时绑定用户Id失败
  118. AccountLoginServerError int32 = 100015 // 登录时指定的游戏服务不可用
  119. AccountLoginErrorKicked int32 = 100016 // 登录时异常
  120. AccountLoginTimeout int32 = 100017 // 登录超时,请重新登录 (游戏服重启了,需重新登录)
  121. )
  122. const (
  123. PlayerNotLogin int32 = 101000 // 玩家未登录
  124. PlayerDuplicateLogin int32 = 101001 // 玩家重复登录 (踢下线)
  125. PlayerHasLoggedIn int32 = 101002 // 玩家已经登录
  126. PlayerCreateFail int32 = 101003 // 创建玩家失败 (db异常)
  127. PlayerNotFound int32 = 101004 // 玩家未找到
  128. PlayerLoginServerError int32 = 101005 // 玩家登录游戏服错误
  129. PlayerNameLengthShort int32 = 101006 // 昵称长度不能小于2个字
  130. PlayerNameLengthLong int32 = 101007 // 昵称长度不能大于8个字
  131. PlayerIDError int32 = 101008 // 玩家ID错误
  132. PlayerNameIllegal int32 = 101009 // 昵称仅可使用中文数字字母
  133. PlayerNameInMaskWord int32 = 101010 // 昵称中带有敏感字符
  134. PlayerOrderCreateFail int32 = 101013 // 创建订单失败
  135. PlayerOrderIdError int32 = 101014 // 订单ID错误
  136. )
  137. // 英雄错误码
  138. const (
  139. HeroIDNotFound int32 = 102001 // 英雄id未找到
  140. HeroNotExist int32 = 102002 // 不存在该英雄
  141. HeroCapacityLimit int32 = 102003 // 英雄容量上限
  142. HeroCannotRecruit int32 = 102004 // 英雄无法招募
  143. HeroCannotReborn int32 = 102005 // 英雄无法重生
  144. HeroIsBusy int32 = 102006 // 英雄很忙
  145. HeroAttrPointLack int32 = 102007 // 英雄属性点不足
  146. HeroNotInTeam int32 = 102008 // 英雄不在阵型上
  147. HeroStarLimit int32 = 102009 // 英雄进阶上限
  148. HeroStarMismatch int32 = 102010 // 英雄进阶不匹配
  149. HeroEnergyLack int32 = 102011 // 英雄体力不足
  150. HeroResetFail int32 = 102012 // 英雄属性无需重置
  151. HeroSkillStudyFail int32 = 102013 // 英雄技能学习失败
  152. HeroEquipNotWear int32 = 102014 // 英雄未穿戴装备
  153. HeroNotWearThisEquip int32 = 102015 // 英雄未穿戴该装备
  154. HeroEnergyOverflow int32 = 102016 // 英雄体力超出上限,无法使用
  155. HeroStarNotEnough int32 = 102017 // 升星英雄不足
  156. HeroRecoveryHpError int32 = 102018 // 英雄恢复生命值错误
  157. HeroNotNeedRecovery int32 = 102019 // 暂无可治疗英雄
  158. )
  159. // 队伍状态码 // TODO 需要更新
  160. const (
  161. TeamNotUnlock int32 = 102020 // 部队未解锁
  162. TeamIndexError int32 = 102021 // 部队索引位置错误
  163. TeamIndexNotUnlock int32 = 102022 // 部队位置未解锁
  164. TeamIndexHasHero int32 = 102023 // 阵型索引位置已有英雄
  165. TeamIsBusy int32 = 102024 // 部队正忙
  166. TeamArmExceed int32 = 102025 // 部队超出兵力上限
  167. TeamCostExceed int32 = 102026 // 部队超出统御上限
  168. TeamIndexNotChange int32 = 102027 // 部队位置无变化
  169. TeamLineupIndexError int32 = 102028 // 阵型索引位置错误
  170. TeamMemberLimit int32 = 102029 // 队伍成员上限
  171. TeamTroopsNumError int32 = 102030 // 补兵数量错误
  172. TeamHeroAlreadyUp int32 = 102031 // 当前英雄已上阵
  173. TeamAlreadySameHero int32 = 102032 // 上阵相同英雄
  174. TeamIsEmpty int32 = 102033 // 队伍无人上阵
  175. TeamLineupTypeError int32 = 102034 // 阵容类型错误
  176. TeamLineupNotUnlock int32 = 102035 // 阵容队伍未解锁
  177. TeamNotNeedAddTroops int32 = 102036 // 当前兵力已满
  178. TeamNotCommander int32 = 102037 // 当前队伍没有上阵主将
  179. TeamHeroIniury int32 = 102038 // 队伍英雄已重伤
  180. TeamMemberNotExist int32 = 102039 // 队伍成员不存在
  181. TeamOutsideConscripting int32 = 102040 // 成员已在征兵中
  182. TeamOutsideNotExist int32 = 102041 // 不存在征兵或征兵已完成
  183. TeamOutsideTroops int32 = 102042 // 当前队伍正在城外征兵中 无法使用补兵药
  184. )
  185. // 道具错误码
  186. const (
  187. ItemDataNotFound int32 = 103000 // 道具数据未找到
  188. ItemIdNotExist int32 = 103001 // 道具不存在背包中
  189. ItemUseTypeError int32 = 103003 // 道具使用类型错误 (类型没有实现或配置错误)
  190. ItemUseSelectIDError int32 = 103004 // 道具使用选择id错误
  191. ItemUseNumError int32 = 103005 // 道具使用数量错误
  192. ItemNotEnough int32 = 103006 // 道具数量不够
  193. ItemCanNotUse int32 = 103007 // 道具不能使用
  194. ItemNotForSell int32 = 103008 // 道具不可出售
  195. ItemNumError int32 = 103009 // 道具数量错误
  196. ItemUseFail int32 = 103010 // 道具使用失败
  197. ItemDecreaseFail int32 = 103011 // 道具扣除失败
  198. ItemUseSelectIdError int32 = 103012 // 使用时选择的道具id错误
  199. ItemAddFail int32 = 103013 // 道具添加失败
  200. ItemGoldNotEnough int32 = 103014 // 金币不足
  201. ItemCraftSelf int32 = 103016 // 不能合成当前道具
  202. ItemUseNumLimit int32 = 103018 // 使用次数已达上限
  203. ItemTypeError int32 = 103019 // 道具类型错误
  204. ItemAddOnceNumLimit int32 = 103020 // 道具单次添加数量超过上限
  205. ItemCraftEmpty int32 = 103021 // 合成不能为空
  206. ItemCraftNotCan int32 = 103022 // 当前道具不能合成
  207. ItemCraftNotExist int32 = 103023 // 合成消耗不存在
  208. ItemUseOnceLimit int32 = 103024 // 超出单次使用数量上限
  209. )
  210. // 货币错误码
  211. const (
  212. CurrencyNumError int32 = 104001 // 货币数量错误
  213. CurrencyTypeError int32 = 104002 // 货币类型错误
  214. CurrencyNotEnough int32 = 104003 // 货币数量不够
  215. LeagueCurrencyNotSupport int32 = 104004 // 联盟货币不支持
  216. )
  217. // 任务错误码
  218. const (
  219. QuestFinish int32 = 105004 // 任务已经结束
  220. QuestNotFound int32 = 105006 // 任务未找到
  221. QuestNotFinished int32 = 105007 // 任务未完成不能领取
  222. QuestGroupRewardNotExist int32 = 105008 // 任务组不存在章节奖励
  223. )
  224. // 邮件错误码
  225. const (
  226. MailDataNotFound int32 = 106001 // 邮件数据未找到
  227. MailRequestDataError int32 = 106002 // 邮件请求参数错误
  228. MailTypeError int32 = 106003 // 邮件类型错误
  229. MailCollectFail int32 = 106004 // 邮件收藏失败
  230. MailToPlayerError int32 = 106005 // 邮件接收玩家信息错误
  231. MailToPlayerNotEmpty int32 = 106006 // 邮件接收玩家不能为空
  232. MailToPlayerNumLimitExceeded int32 = 106007 // 邮件接收玩家数量超过上限
  233. MailFromPlayerError int32 = 106008 // 邮件发送玩家错误
  234. MailTitleError int32 = 106009 // 邮件标题长度不符
  235. MailContentError int32 = 106011 // 邮件内容长度不符
  236. MailContentTooLong int32 = 106012 // 邮件内容过长
  237. MailRewardHadTake int32 = 106013 // 邮件奖励已经被领取
  238. MailNotRead int32 = 106015 // 邮件未读取,不能删除
  239. MailNotClaim int32 = 106016 // 邮件奖励未领取,不能删除
  240. MailRewardEmpty int32 = 106017 // 暂无可领取邮件
  241. MailNumLimit int32 = 106018 // 邮件数量已达上限
  242. MailDelFail int32 = 106019 // 邮件删除失败
  243. MailReadFail int32 = 106020 // 暂无可读取邮件
  244. MailNotCanTop int32 = 106021 // 当前邮件暂不支持置顶
  245. MailDecreeNoCanDel int32 = 106022 // 法令邮件不能删除
  246. MailAlreadyDel int32 = 106023 // 邮件已删除
  247. MailDelNotExist int32 = 106024 // 暂无可删除邮件
  248. )
  249. // 资产错误码
  250. const (
  251. AssetTypeError int32 = 107001 // 资产类型错误
  252. AssetIsEmpty int32 = 107002 // 资源为空(检查配置)
  253. )
  254. // 聊天室错误码
  255. const (
  256. ChatGetListTooFast int32 = 108001 // 获取历史聊天记录请求太快
  257. ChatSendTypeError int32 = 108002 // 聊天室发送类型错误
  258. ChatEmojiError int32 = 108003 // 聊天室表情包错误
  259. ChatSendTextTooFast int32 = 108004 // 发送消息频率太快
  260. ChatSendTextIsEmpty int32 = 108005 // 聊天室不允许发空消息
  261. ChatChannelNotAvailable int32 = 108006 // 聊天室频道不可用
  262. ChatRoomAddFail int32 = 108007 // 聊天组添加失败
  263. ChatGroupNameIsEmpty int32 = 108008 // 群组名称不能为空
  264. ChatSendTextTooLong int32 = 108009 // 聊天发送消息太长
  265. ChatTextIllegal int32 = 108010 // 聊天内容不可用(只能是数字、字符、中文)
  266. ChatGroupNameTooLong int32 = 108011 // 聊天群组名称太长
  267. ChatGroupNameIllegal int32 = 108012 // 聊天群组名称包含非法字符
  268. ChatGroupInviteNotFriend int32 = 108013 // 聊天群组只能邀请好友
  269. ChatGroupMemberLimit int32 = 108014 // 聊天群组人数超过限制
  270. ChatGroupCreateLimit int32 = 108015 // 聊天群组创建数量超过限制
  271. ChatGroupNotFound int32 = 108016 // 聊天群组不存在
  272. ChatGroupPermissionDenied int32 = 108017 // 群组权限不足
  273. ChatGroupInviteNotFound int32 = 108018 // 群组邀请不存在,或者已被删除
  274. ChatGroupHaveCountLimit int32 = 108019 // 拥有的群数量达到限制
  275. ChatSendLvNotEnough int32 = 108020 // 等级不足,不能发言
  276. ChatPrivateBlackList int32 = 108021 // 在黑名单中,不能私聊
  277. ChatGroupCreateLvNotEnough int32 = 108022 // 领主等级不足,不能创建群组
  278. FriendAddLvNotEnough int32 = 108101 // 领主等级不足,无法添加好友
  279. FriendNumLimit int32 = 108102 // 好友已满,无法再添加好友
  280. FriendRepeatAdd int32 = 108103 // 该玩家已经是你的好友
  281. FriendNotFound int32 = 108104 // 好友不存在
  282. FriendInviteNotFound int32 = 108105 // 好友邀请不存在,或者已被删除
  283. FriendAddSelf int32 = 108106 // 不能添加自己
  284. FriendApplyRepeatAdd int32 = 108107 // 已向对方提交申请
  285. FriendBlackListed int32 = 108108 // 在黑名单中,不能添加好友
  286. FriendRefuseAdd int32 = 108109 // 该玩家不接受好友申请
  287. FriendAddSendSuccess int32 = 108110 // 申请已发送,请等待对方回复
  288. FriendTargetLvNotEnough int32 = 108111 // 对方领主等级不足
  289. FriendTargetInBlackList int32 = 108112 // 对方在黑名单中
  290. FriendTargetNumLimit int32 = 108113 // 对方好友数量达到上限
  291. FriendAddSuccess int32 = 108114 // 添加好友成功
  292. BlackListNotFound int32 = 108201 // 玩家不在黑名单中
  293. BlackListRepeatAdd int32 = 108202 // 玩家已经在黑名单中,不需要重复拉黑
  294. BlackListNumLimit int32 = 108203 // 黑名单数量已经达到上限
  295. ComplaintContentEmpty int32 = 108301 // 举报内容不能为空
  296. ComplaintContextIllegal int32 = 108302 // 举报内容包含非法字符
  297. ComplaintTooFast int32 = 108303 // 举报过于频繁
  298. ComplaintContentTooLong int32 = 108304 // 举报内容过长
  299. )
  300. // 活动错误码
  301. const (
  302. ActivityNotFound int32 = 109001 // 活动未找到
  303. ActivityRequestNotFound int32 = 109002 // 活动请求对象未找到
  304. ActivityUnmarshalDataError int32 = 109003 // 解析活动数据错误
  305. ActivityMarshalDataError int32 = 109004 // 编码活动数据错误
  306. ActivityNotOpen int32 = 109005 // 活动未开启
  307. ActivityQuestNotFound int32 = 109006 // 活动任务未找到
  308. ActivityQuestStateWrong int32 = 109007 // 活动任务状态不对
  309. )
  310. // 战斗错误码
  311. const (
  312. BattleValidateFail int32 = 110001 // 战斗校验失败
  313. BattleTeamEmpty int32 = 110002 // 出战队伍为空
  314. BattleFightNoMatch int32 = 110003 // 出战英雄不匹配
  315. BattleFighterIsDead int32 = 110004 // 战斗武将已阵亡
  316. )
  317. // 装备错误码
  318. const (
  319. EquipNotFound int32 = 111002 // 装备不存在
  320. EquipEnhanceFail int32 = 111003 // 装备强化失败
  321. EquipGUIDHasWear int32 = 111004 // 装备GUID已穿戴
  322. EquipBindHeroError int32 = 111005 // 武器与绑定的英雄错误
  323. EquipPlayerLevelNotEnough int32 = 111007 // 装备强化,玩家等级不够
  324. EquipCostGoldNotEnough int32 = 111008 // 装备强化,扣除金币不够
  325. EquipCostItemNotEnough int32 = 111009 // 装备强化,扣除道具不够
  326. EquipQualityError int32 = 111010 // 装备品质错误
  327. EquipQualityIsMax int32 = 111011 // 装备品质已达到最高
  328. EquipQualityConditionError int32 = 111013 // 装备品质提升被合并的条件错误
  329. EquipQualityBeMergeIsWear int32 = 111014 // 装备品质,被合并的装备正在穿戴中
  330. EquipGUIDError int32 = 111015 // 装备guid错误
  331. EquipDecreaseError int32 = 111016 // 装备guid删除错误
  332. EquipQualityNotDown int32 = 111018 // 装备不能降品
  333. EquipCannotStrong int32 = 111019 // 装备未穿戴不能强化
  334. EquipLevelNotEnough int32 = 111020 // 装备等级不足
  335. EquipNoSpecialSkill int32 = 111021 // 装备没有专属技能
  336. EquipSpecialSkillIsUnlock int32 = 111022 // 装备专属技能已解锁
  337. EquipLevelMax int32 = 111025 // 装备等级到最大等级
  338. )
  339. // 充值错误码
  340. const (
  341. PayChargeIDError int32 = 112001 // 充值项id错误
  342. PayChargeTypeError int32 = 112002 // 充值项类型错误
  343. PayChargeParamsError int32 = 112003 // 充值项参数错误
  344. PayChargeLimit int32 = 112004 // 充值限购
  345. )
  346. // GM 错误码
  347. const (
  348. GMEnableClose int32 = 113001 // 后台添加道具开关关闭
  349. GMItemTypeError int32 = 113002 // 后台添加道具传进来的道具类型非法
  350. )
  351. // 技能错误码
  352. const (
  353. SkillNotExists int32 = 115000 // 技能不存在
  354. SkillStudyFull int32 = 115002 // 技能学习已满
  355. SkillAlreadyStudy int32 = 115003 // 技能已学习
  356. SkillIndexWrong int32 = 115004 // 技能位置出错
  357. SkillLevelLimit int32 = 115005 // 技能等级限制
  358. SkillEvolveLimit int32 = 115006 // 技能已达最大阶级
  359. SkillMismatch int32 = 115007 // 技能不匹配
  360. SkillUpCostError int32 = 115009 // 技能升级消耗错误
  361. SkillNotUnlock int32 = 115010 // 技能未解锁
  362. SkillLevelMax int32 = 115011 // 技能已达最大等级
  363. )
  364. // 城建错误码
  365. const (
  366. FacilityNotUnlock int32 = 116000 // 建筑未解锁
  367. FacilityIsUpgrading int32 = 116001 // 建筑正在升级
  368. FacilityQueueFull int32 = 116002 // 建筑队列已满
  369. FacilityLevelLimit int32 = 116003 // 建筑已达最大等级
  370. FacilityNotInQueue int32 = 116004 // 建筑没有在升级队列中
  371. FacilityQueueRepeatUnlock int32 = 116005 // 建筑队列已经解锁,不需要重复解锁
  372. FacilityUpLordLevelNotEnough int32 = 116006 // 领主等级不够,不能升级
  373. FacilityQueueUnlockOrder int32 = 116007 // 建筑队列须按顺序解锁
  374. FacilityUpPreConditionNotMet int32 = 116008 // 建筑升级前置条件未满足
  375. ConscriptNumLimit int32 = 116100 // 征兵数量上限
  376. ConscriptNoAction int32 = 116101 // 征兵未进行
  377. ConscriptNumLack int32 = 116102 // 征兵数量不足
  378. ConscriptNotSame int32 = 116105 // 征兵兵种不一致
  379. ConscriptLevelLimit int32 = 116106 // 征兵等级未解锁
  380. ConscriptHandling int32 = 116107 // 征兵中
  381. ConscriptUpgradeHandling int32 = 116108 // 征兵升级中
  382. ConscriptMaxLevel int32 = 116110 // 当前士兵已达最大等级
  383. ConscriptUpCostEmpty int32 = 116111 // 升级消耗不存在
  384. ConscriptUpNumLack int32 = 116112 // 升级数量不足
  385. ConscriptNotUp int32 = 116113 // 当前暂无升级士兵
  386. )
  387. // 联盟错误码
  388. const (
  389. LeagueAlreadyJoin int32 = 117000 // 已经加入联盟
  390. LeagueCreateLevelNotEnough int32 = 117001 // 等级不满足要求
  391. LeagueJoinFail int32 = 117002 // 创建联盟失败
  392. LeagueNameEmpty int32 = 117003 // 请输入联盟名称
  393. LeagueNameLimit int32 = 117004 // 联盟名称过长
  394. LeagueAbbNameEmpty int32 = 117005 // 请输入联盟简称
  395. LeagueAbbNameLimit int32 = 117006 // 联盟简称过长
  396. LeagueNameHasSpecial int32 = 117007 // 名字包含特殊字符
  397. LeagueNotExist int32 = 117008 // 联盟不存在
  398. LeagueNameExist int32 = 117009 // 该名称已被占用,请更换其他名字
  399. LeagueAbbNameExist int32 = 117010 // 该简称已被占用,请更换其他名字
  400. LeagueNotJoin int32 = 117011 // 你还没加入联盟
  401. LeagueAlreadyExist int32 = 117012 // 联盟已存在
  402. LeagueMembersLimit int32 = 117013 // 联盟成员数已达上限
  403. LeagueMembersEmpty int32 = 117014 // 联盟成员列表不存在
  404. LeagueLeaderNotQuit int32 = 117015 // 盟主不能退出联盟
  405. LeagueMemberNotExist int32 = 117016 // 联盟成员不存在
  406. LeaguePermissionDenied int32 = 117017 // 联盟操作权限不足
  407. LeagueNotCanOpSelf int32 = 117018 // 不能操作自己
  408. LeagueAlreadyJoinOther int32 = 117019 // 已经加入其他联盟
  409. LeagueApplyRepeat int32 = 117020 // 请勿重复申请
  410. LeagueApplyNotExist int32 = 117021 // 入会申请不存在
  411. LeagueQuitCD int32 = 117022 // 退出联盟冷却中
  412. LeagueSearchNotExist int32 = 117023 // 搜索联盟不存在
  413. LeagueMailDataNotExist int32 = 117024 // 联盟邮件数据不存在
  414. LeagueNotInMap int32 = 117025 // 联盟未加入地图
  415. LeagueNameNotChange int32 = 117026 // 联盟名称未改变
  416. LeagueExpNotEnough int32 = 117027 // 联盟经验不足
  417. LeagueMaxLevel int32 = 117028 // 联盟已达最大等级
  418. LeagueLevelConfigNotExist int32 = 117029 // 联盟等级配置不存在
  419. LeagueFlagBgNotExist int32 = 117030 // 联盟背景配置不存在
  420. LeagueFlagBgError int32 = 117031 // 联盟背景类型错误
  421. LeagueFlagIconNotExist int32 = 117032 // 联盟图标配置不存在
  422. LeagueFlagIconError int32 = 117033 // 联盟图标类型错误
  423. LeagueNeedLevelNotEnough int32 = 117034 // 加入所需主城等级不足
  424. LeagueJobNotExist int32 = 117035 // 联盟职位不存在
  425. LeagueNoCanSetSelfJob int32 = 117036 // 不能设置自己职位
  426. LeagueMemberHasJob int32 = 117037 // 已为官无法任命
  427. LeaguePermissionNotExist int32 = 117038 // 分配权限不存在
  428. LeaguePermissionNoCanSet int32 = 117039 // 职位存在不能设置权限
  429. LeagueLogDataNotExist int32 = 117040 // 联盟日志数据不存在
  430. LeagueNotLeader int32 = 117041 // 您不是盟主
  431. LeagueTransferNotMember int32 = 117042 // 转让玩家不是联盟成员
  432. LeagueTransferExist int32 = 117043 // 当前已存在转让申请
  433. LeagueTransferNotExist int32 = 117044 // 不存在转让申请
  434. LeagueImpeachNotEnd int32 = 117045 // 当前弹劾未结束
  435. LeagueImpeachNotEnough int32 = 117046 // 弹劾条件不满足
  436. LeagueImpeachSelf int32 = 117047 // 盟主不能弹劾自己
  437. LeagueLeaderNotCanSet int32 = 117048 // 不能设置为盟主
  438. LeagueResidenceNotExist int32 = 117049 // 联盟驻地不存在
  439. LeagueResidenceBuilding int32 = 117050 // 联盟驻地建造中
  440. LeagueResidenceHadMember int32 = 117051 // 当前位置已入驻
  441. LeagueTaxRateNotEnough int32 = 117052 // 税率调整次数不足
  442. LeagueTaxRateValueError int32 = 117053 // 税率调整值不合法
  443. LeagueFundBonusMinValueError int32 = 117054 // F币数量不合法
  444. LeagueFundBonusRemainCountNotEnough int32 = 117055 // F币分配剩余数量不足
  445. LeagueFundBonusCountNotEnough int32 = 117056 // F币数量不足
  446. LeagueImpeachNotKick int32 = 117057 // 联盟弹劾中 不能踢出
  447. LeagueImpeachNotTransfer int32 = 117058 // 联盟弹劾中 不能转让
  448. LeagueDiplomacyApplyExist int32 = 117059 // 联盟外交申请已存在
  449. LeagueDiplomacyUnionExist int32 = 117060 // 联盟已加入联邦
  450. LeagueDiplomacyUmengExist int32 = 117061 // 当前已结成友盟关系
  451. LeagueDiplomacyUmengFull int32 = 117062 // 友盟数已满
  452. LeagueDiplomacyApplyNotExist int32 = 117063 // 外交申请不存在
  453. LeagueUnionNotExist int32 = 117064 // 联邦不存在
  454. LeagueUnionMemberLimit int32 = 117065 // 联邦成员已达上限
  455. LeagueUnionNotJoin int32 = 117066 // 未加入联邦
  456. LeagueUnionJoinApplyHandle int32 = 117067 // 申请已处理
  457. LeagueDiplomacyNotUmeng int32 = 117068 // 非友盟关系
  458. LeagueDiplomacyNotUnion int32 = 117069 // 非联邦关系
  459. LeagueDiplomacyRelieveTime int32 = 117070 // 当前解除关系中
  460. LeagueDiplomacyNoSendSelf int32 = 117071 // 不能申请自己
  461. )
  462. const (
  463. MapLeague_TechNotUnlock int32 = 117100 // 科技未解锁
  464. MapLeague_TechUpPreConditionNotMet int32 = 117101 // 科技升级前置条件未满足
  465. MapLeague_TechUpLevelLimit int32 = 117102 // 科技已达最大等级
  466. MapLeague_TechUpCostNotEnough int32 = 117103 // 科技升级消耗不足
  467. MapLeague_CastleNotExist int32 = 117201 // 城池不存在
  468. MapLeague_CastleAlreadyHasLord int32 = 117202 // 城池已有城主
  469. MapLeague_CastleAlreadyHasOther int32 = 117203 // 已经任命其他城池的城主
  470. MapLeague_BuildNotFound int32 = 117204 // 联盟建筑不存在
  471. MapBuild_AlreadyDiscarding int32 = 117205 // 联盟建筑正在摧毁中
  472. MapLeague_BuildSystemCannotDiscard int32 = 117206 // 系统建筑不可摧毁
  473. MapLeague_NotCanDiscard int32 = 117207 // 当前建筑不可摧毁
  474. )
  475. const (
  476. MapUnsupportMarchType int32 = 118000 // 不支持的行军类型
  477. MapTeamNotFound int32 = 118001 // 部队不存在
  478. MapTeamNotMarchable int32 = 118002 // 部队不能行军
  479. MapPathFindFail int32 = 118003 // 地图寻路失败
  480. MapLeaguePointNotFound int32 = 118004 // 找不到联盟驻地点
  481. MapTeamNotRetreatable int32 = 118005 // 部队不能撤退
  482. MapTeamNotMarching int32 = 118006 // 部队不在行军中
  483. MapResOccupyFail_HasOwner int32 = 118007 // 资源占领失败: 非中立资源
  484. MapResOccupyFail_SameLeague int32 = 118008 // 资源占领失败: 盟友资源
  485. MapObjectTypeUnkown int32 = 118009 // 未知的地图对象类型
  486. MapRes_NotFound int32 = 118010 // 地图资源不存在
  487. MapRes_NotAlive int32 = 118011 // 地图资源消失
  488. MapRes_NotMyOwn int32 = 118012 // 地图资源不是我的
  489. MapRes_NotMyLeague int32 = 118014 // 资源不属于同盟
  490. MapResSnatchFail_Neutral int32 = 118015 // 资源掠夺失败: 中立资源
  491. MapResSnatchFail_SameLeague int32 = 118016 // 资源掠夺失败: 盟友资源
  492. MapTile_NotWalkable int32 = 118017 // 地块不可行走
  493. MapTile_HasBlock int32 = 118018 // 地块有阻档
  494. MapBuild_NumLimit int32 = 118019 // 建筑数量限制
  495. MapRelocate_Cooldown int32 = 118020 // 迁城失败:冷却中
  496. MapRelocate_NoLeague int32 = 118021 // 迁城失败:未加入联盟
  497. MapRelocate_BaseNotFound int32 = 118022 // 迁城失败:没有地基
  498. MapRelocate_HasMarch int32 = 118023 // 迁城失败:有部队在地图中
  499. MapRelocate_BaseBuilding int32 = 118024 // 迁城失败:地基建造中
  500. MapMarchFail_GrainLack int32 = 118025 // 行军失败:粮草不足
  501. MapRelocate_NoMainCity int32 = 118026 // 迁城失败:没有主城
  502. MapRelocate_NoLeaguePoint int32 = 118027 // 迁城失败:没有联盟驻地
  503. MapBuild_NoSiegeBase int32 = 118028 // 没有攻城地基
  504. MapBuild_NoBelongedLeague int32 = 118029 // 建筑不属于联盟
  505. MapBuild_IsBuilding int32 = 118030 // 建筑正在建造中
  506. MapCastle_NotFound int32 = 118031 // 城池不存在
  507. MapStartWar_SiegeCampBuilding int32 = 118033 // 攻城大营建造中
  508. MapStartWar_AlreadyStart int32 = 118034 // 已经宣战
  509. MapBuild_NotFound int32 = 118035 // 地图建筑不存在
  510. MapMarch_Unstopable int32 = 118036 // 行军不可终止
  511. MapRetreat_NotRedeploy int32 = 118037 // 撤退失败:不是调动点
  512. MapMarch_BattleState int32 = 118038 // 队伍战斗中
  513. MapDeclareWar_Cooldown int32 = 118039 // 宣战CD中
  514. MapBuild_NotMyLeague int32 = 118040 // 不是同盟建筑
  515. MapMarch_RedeployTargetUnable int32 = 118041 // 行军调动目标无效
  516. MapCastle_NotMyLeague int32 = 118042 // 不是同盟城池
  517. MapMarch_NotAllocArm int32 = 118043 // 没有分配兵力
  518. MapBuild_NotBuildable int32 = 118044 // 不可建造
  519. MapBuild_NoOverride int32 = 118045 // 没有覆盖建筑
  520. MapBuild_NotBelongedPlayer int32 = 118046 // 建筑不属于玩家
  521. MapBuild_NotLeagueBuild int32 = 118047 // 不是联盟建筑
  522. MapBuild_NotPlayerBuild int32 = 118048 // 不是个人建筑
  523. MapAssemble_NotFound int32 = 118049 // 未找到集结信息
  524. MapAssemble_NotLeader int32 = 118050 // 不是你的集结队伍
  525. MapAssemble_KickLeader int32 = 118051 // 不能踢出队长
  526. MapAssemble_NotInAssemble int32 = 118052 // 不在集结队伍中
  527. MapAssemble_MarchNotStandby int32 = 118053 // 集结队伍不在主城
  528. MapAssemble_InvalidTargetType int32 = 118054 // 目标不可集结
  529. MapAssemble_TargetNotFound int32 = 118055 // 集结目标不存在
  530. MapAssemble_TargetInSameLeague int32 = 118056 // 集结目标属于同盟
  531. MapAssemble_NotInSameLeague int32 = 118057 // 集结队伍不属于同盟
  532. MapAssemble_AlreayDepart int32 = 118058 // 集结队伍已出发
  533. MapAssemble_FullMember int32 = 118059 // 集结队伍已满员
  534. MapAssemble_MarchBusy int32 = 118060 // 行军对象繁忙无法集结
  535. MapAssemble_MarchInjure int32 = 118061 // 行军对象重伤无法集结
  536. MapAssemble_SingleMember int32 = 118062 // 单人队伍不能出发
  537. MapAssemble_MemberNotArrive int32 = 118063 // 成员未到达不能出发
  538. MapMarchStateNotRetreatable int32 = 118064 // 当前状态不可撤退
  539. MapAssemble_AlreadyJoin int32 = 118065 // 已经加入集结队伍
  540. MapGetPointFail int32 = 118066 // 获取坐标失败
  541. MapBuild_AreaContainObtical int32 = 118067 // 领地包含障碍物
  542. MapBuild_AreaIntersectSystem int32 = 118068 // 领地与系统领地重合
  543. MapBuild_AreaIntersectEnemy int32 = 118069 // 领地与敌方领地重合
  544. MapBuild_AreaNoLink int32 = 118070 // 领地未连接
  545. MapStopWar_NotInWar int32 = 118071 // 未宣战
  546. MapObjectNotFound int32 = 118072 // 地图对象不存在
  547. MapBuild_IsUpgrading int32 = 118073 // 当前建筑正在升级中
  548. MapBuild_Invincible int32 = 118074 // 当前建筑正在保护中
  549. MapBuild_SameLeague int32 = 118075 // 当前建筑为同盟建筑
  550. MapBuild_SelfBuild int32 = 118076 // 当前建筑为自己的建筑
  551. MapComeback_Cooldown int32 = 118077 // 再起冷却中
  552. MapRes_NoLink int32 = 118078 // 攻占资源领土不接壤
  553. MapSiege_CastleSealed int32 = 118079 // 城池封印中
  554. Map_NotSelectState int32 = 118080 // 未选择出生州
  555. Map_AlreadySelectState int32 = 118081 // 已选择出生州
  556. MapComeback_SameState int32 = 118082 // 不能重选当前州
  557. MapComeback_NeedLeagueQuit int32 = 118083 // 选州再起需要退联盟
  558. Map_StateLimitExceeded int32 = 118084 // 州内名额已达上限
  559. MapReinforce_Cooldown int32 = 118085 // 加固冷却中
  560. MapReinforce_Preparing int32 = 118086 // 加固准备中
  561. MapReinforce_Effecting int32 = 118087 // 加固生效中
  562. MapRes_Invincible int32 = 118108 // 资源点保护中
  563. MapReinforce_NotPreparing int32 = 118109 // 非加固准备阶段不可取消
  564. MapEnter_MapNotOpen int32 = 118100 // 地图未开启
  565. MapBornPoint_NotFound int32 = 118101 // 找不到出生点
  566. MapMark_AlreadyExist int32 = 118102 // 地图标记已存在
  567. MapMark_NotExist int32 = 118103 // 地图标记不存在
  568. MapMark_NotChange int32 = 118104 // 地图标记内容
  569. MapMark_NumLimit int32 = 118105 // 地图标记数量已达上限
  570. MapMark_TitleLenLimit int32 = 118106 // 地图标记标题长度不符
  571. MapMark_DescLenLimit int32 = 118107 // 地图标记描述长度不符
  572. MapMark_CommandNotExist int32 = 118108 // 地图标记指令不存在
  573. MapBuild_FoundateCooldown int32 = 118109 // 地基建造冷却中
  574. MapBuildUpgrade_NotFound int32 = 118110 // 地图建筑升级表不存在
  575. MapBuildUpgradeCost_NotExist int32 = 118111 // 升级消耗不存在
  576. MapBuild_CampIndexFull int32 = 118112 // 营帐下标已达上限
  577. MapBuild_NotUpgrade int32 = 118113 // 不可升级
  578. MapRelocate_MarchNotStandby int32 = 118114 // 迁城失败:行军对象不在主城
  579. MapComeback_MarchNotStandby int32 = 118115 // 再起失败:行军对象不在主城
  580. MapSiege_NoLeague int32 = 118116 // 攻城:中立玩家
  581. MapSiege_NoLink int32 = 118117 // 攻城:不接壤
  582. MapBuild_RedeployLimit int32 = 118118 // 调动数已达上限
  583. MapPoint_OutOfBound int32 = 118119 // 坐标点超出地图边界
  584. )
  585. // 探险
  586. const (
  587. ChapterRewardStarNotEnough int32 = 119003 // 探险章节星数不满足
  588. ChapterNotUnlocked int32 = 119004 // 当前章节未解锁
  589. ChapterLevelNotUnlocked int32 = 119005 // 当前关卡未解锁
  590. ChapterRewardAlreadyReceived int32 = 119006 // 奖励已领取
  591. ChapterLevelError int32 = 119007 // 关卡ID错误
  592. ChapterLevelCountNotEnough int32 = 119009 // 关卡挑战次数不足
  593. ChapterStaminaNotEnough int32 = 119010 // 精力不足
  594. ChapterLevelNotFullStar int32 = 119011 // 关卡未满星
  595. ChapterLineupNotFound int32 = 119012 // 探险阵容不存在
  596. ChapterBattleResultVerifyFail int32 = 119013 // 探险战斗结果校验失败
  597. ChapterBattleFail int32 = 119014 // 探险挑战失败
  598. ChapterMonsterGroupConfigError int32 = 119015 // 探险怪物组配置错误
  599. ChapterLevelBuyTimesNotEnough int32 = 119016 // 当前关卡购买次数不足
  600. ChapterLevelBuyTimesError int32 = 119017 // 购买次数错误
  601. ChapterBattleError int32 = 119018 // 探险战斗异常
  602. ChapterRewardIsEmpty int32 = 119019 // 暂无可领取奖励
  603. )
  604. const (
  605. BattleReportNotExist int32 = 120000 // 战报不存在
  606. )
  607. const (
  608. GMTypeError = 121000 // gm类型错误
  609. )
  610. const (
  611. ShopNotOpen int32 = 122001 // 商店未开启
  612. ShopNotFound int32 = 122002 // 商店数据不存在
  613. ShopBuyNumError int32 = 122003 // 购买次数错误
  614. ShopBuyNumLimit int32 = 122004 // 购买次数已达上限
  615. ShopTypeError int32 = 122005 // 商店类型错误
  616. )
  617. const (
  618. MainChapterConfigNotFound int32 = 123000 // 主线章节配置不存在
  619. MainChapterRewardGot int32 = 123001 // 当前章节奖励已领取
  620. MainChapterNotOpen int32 = 123002 // 当前章节未开启
  621. )
  622. const (
  623. PlayerNameEmpty = 124000 // 玩家名称不能为空
  624. PlayerNameLimit = 124001 // 玩家名称长度不符合
  625. PlayerNameSame = 124002 // 玩家名称无更改
  626. PlayerNameExist = 124003 // 玩家名称已存在
  627. PlayerChangeNameCD = 124004 // 玩家名称改名冷却中
  628. PlayerDescLenLimit = 124005 // 简介长度不符
  629. )
  630. const (
  631. ShowConfigNotExist = 125000 // 外显配置不存在
  632. ShowTypeError = 125001 // 外显类型错误
  633. ShowTypeNotExist = 125002 // 外显类型不存在
  634. ShowNotUnlock = 125003 // 外显未解锁
  635. ShowExpire = 125004 // 外显已过期
  636. ShowAlreadyActive = 125005 // 外显已激活
  637. ShowActiveTypeError = 125006 // 当前激活类型错误
  638. )
  639. const (
  640. LanguageNotExist = 126000 // 设置语言不存在
  641. ShowDataLenNoSame = 126001 // 展示数据长度不一致
  642. ShowDataTypeNotExist = 126002 // 展示数据类型不存在
  643. ShowDataCountLimit = 126003 // 展示数量超出上限
  644. )
  645. const (
  646. ExchangeSlotSellMaxLimit int32 = 127000 // 交易所出售货柜数量已达到上限
  647. ExchangeSlotWishMaxLimit int32 = 127001 // 交易所求购货柜数量已达到上限
  648. ExchangeItemPriceIllegal int32 = 127002 // 交易所物品单价不合法
  649. ExchangeItemQtyIllegal int32 = 127003 // 交易所物品数量不合法
  650. ExchangeItemConfigError int32 = 127004 // 交易所商品配置错误
  651. ExchangeSlotSellNotEnough int32 = 127005 // 交易所出售货柜数量不足
  652. ExchangeSlotWishNotEnough int32 = 127006 // 交易所求购货柜数量不足
  653. ExchangeItemNotFound int32 = 127007 // 交易的商品不存在
  654. ExchangeCountNotEnough int32 = 127008 // 商品数量不足
  655. ExchangeItemSoldOut int32 = 127009 // 商品已经下架或者已售罄
  656. ExchangeDailyBuyCountLimit int32 = 127010 // 每日购买次数达到上限
  657. ExchangeItemNotSoldOut int32 = 127011 // 商品未下架,无需重新上架
  658. ExchangeItemCantRetrieve int32 = 127012 // 商品未下架,不能取回
  659. ExchangeMinFeeConfigError int32 = 127013 // 交易最低手续费不能低于单价
  660. )
  661. const (
  662. SeasonQuestInfoError int32 = 128000 // 赛季霸业任务获取失败
  663. SeasonQuestNotComplete int32 = 128001 // 赛季霸业任务未完成不能领取
  664. SeasonQuestRewardRepeat int32 = 128002 // 霸业任务奖励重复领取
  665. SeasonQuest_NotEnded int32 = 128003 // 赛季霸业任务未结束
  666. )
  667. const (
  668. VipDailyRewardReceived int32 = 129001 // 今日已经领取
  669. )
  670. // 签到
  671. const (
  672. SignInAlreadySigned int32 = 201001 // 已签到
  673. SignInConfigNotFound int32 = 201002 // 签到配置不存在
  674. SignInReSignCountNotEnough int32 = 201003 // 补签次数不足
  675. SignInNoMissedDays int32 = 201004 // 暂无可补签奖励
  676. SignInRewardConfigNotFound int32 = 201005 // 累计签到配置不存在
  677. SignInDaysNotEnough int32 = 201006 // 签到天数不满足
  678. SignInRewardAlreadyReceived int32 = 201007 // 累计签到奖励已领取
  679. SignInReSignNotCan int32 = 201008 // 当前不能补签
  680. SignInPoolNotFound int32 = 201009 // 签到库不存在
  681. )
  682. // 侦察
  683. const (
  684. ScoutQueueNotExist int32 = 202001 // 侦察队列不存在
  685. ScoutQueueBusy int32 = 202002 // 正在侦察中
  686. ScoutNotSelf int32 = 202003 // 不能侦察自己
  687. ScoutNotSupport int32 = 202004 // 当前不支持侦察
  688. ScoutTypeError int32 = 202005 // 侦察状态错误
  689. ScoutFail int32 = 202006 // 侦察失败
  690. )