| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- using GFGGame;
- namespace ET
- {
- public static partial class ErrorCode
- {
- public const int ERR_Success = 0;
- //取消,不报错
- public const int ERR_Cancel = 1;
- // 1-11004 是SocketError请看SocketError定义
- //-----------------------------------
- // 100000-109999是Core层的错误
- // 110000以下的错误请看ErrorCore.cs
- // 这里配置逻辑层的错误码
- // 110000 - 200000是抛异常的错误
- // 200001以上不抛异常
- public const int ERR_NetWorkError = 200002; //网络错误
- public const int ERR_AccountHasExist = 200003; // 账号已被注册
- public const int ERR_AccountInvalid = 200004; // 输入的账号无效
- public const int ERR_PasswordInvalid = 200005; // 输入的密码无效
- public const int ERR_IdentityInfoInvalid = 200006; // 输入的身份信息无效
- public const int ERR_AntiAddiction = 200007; // 防沉迷时间
- public const int ERR_LoginError = 200008; // 账号或密码不正确
- public const int ERR_LoginIsLimit = 200009; // 账号被限制
- public const int ERR_requestRepeatedly = 200010; // 重复申请
- public const int ERR_loginByOther = 200011; // 账号在别处登录
- public const int ERR_loginTimeOut = 200012; // 登录超时
- public const int ERR_TokenError = 200013; //令牌Token错误
- public const int ERR_InputContentNotAvailable = 200014; //输入的字符不可用
- public const int ERR_RoleNameSame = 200015; //角色名称已存在
- public const int ERR_RoleNotExist = 200016; //角色不存在
- public const int ERR_RequestSceneTypeError = 200017; //请求的场景类型错误
- public const int ERR_RoleIsExist = 200018; //该账号已存在角色
- public const int ERR_SessionPlayerError = 200019;
- public const int ERR_NonePlayerError = 200020; //
- public const int ERR_SessionStateError = 200021;
- public const int ERR_EnterGameError = 200022;
- public const int ERR_ReEnterGameError = 200023;
- public const int ERR_ReEnterGameError2 = 200024;
- public const int ERR_ClientVersionError = 200025; //客户端版本错误
- public const int ERR_ClientAddPowerCD = 200026; //体力时间未到
- public const int ERR_ClientAddPowerFull = 200027; //体力已满
- public const int ERR_ClientGMError = 200028; //GM命令非法
- public const int ERR_ConfigNotExist = 200029; //配置不存在
- public const int ERR_CostNotEnough = 200030; //消耗不足
- public const int ERR_MaterialNotEnough = 200031; //材料不足
- public const int ERR_MaintainStepRepeated = 200032; //不可重复养护
- public const int ERR_GetConditionNotMeet = 200033; //不满足领取条件
- public const int ERR_GetBonusRepeated = 200034; //奖励已领取
- public const int ERR_MakeNewSuitRepeated = 200035; //不可重复焕新
- public const int ERR_NeedDressupItem = 200036; //未拥有必需品
- public const int ERR_ScoreNotEnough = 200037; //分数不足
- public const int ERR_PowerNotEnough = 200038; //体力不足
- public const int ERR_RecomendNotEnough = 200039; //推荐次数不足
- public const int Err_StoryDialogRepeated = 200040; //不可重复完成剧情对话
- public const int Err_StoryLevelNotPass = 200041; //关卡需要先通关才能快速完成
- public const int Err_StoryLevellock = 200042; //关卡未解锁
- public const int Err_ServerError = 200043; //服务器错误
- public const int Err_BuyTimesNotEnough = 200044; //购买次数不足
- public const int Err_PlayTimesNotEnough = 200045; //挑战次数不足
- public const int Err_ExchangeTimesNotEnough = 200046; //兑换次数不足
- public const int Err_Nonlicet = 200047; //非法操作
- public const int Err_NotOwnCard = 200048; //未拥有该词牌
- public const int Err_LvlFull = 200049; //已满级
- public const int Err_NotOwnDressUp = 200050; //未拥有该服装
- public const int Err_SyntheticRepeated = 200051; //不能合成已拥有的
- public const int Err_NotInOpenTime = 200052; //不在开启时间
- public const int Err_Lock = 200053; //未解锁
- public const int Err_NonLvlPass = 200054; //没有通过任何关卡
- public const int Err_OutOfRange = 200055; //超出范围
- public const int Err_MailNotExist = 200056; //邮件不存在
- public const int Err_MailNotHasItems = 200057; //邮件未包含物品
- public const int Err_MailNotRead = 200058; //邮件未查收
- public const int Err_LoginCountFull = 200059; //登录人数已达上限
- public const int Err_ServerMaintain = 200060; //游戏维护中
- public const int Err_OpenLater = 200061; //暂未开启
- public const int ERR_SensitiveWordError = 200062; //您输入的文字包含敏感词汇
- public const int ERR_FriendCountLimit = 200063; //好友数量已达上限
- public const int ERR_ReciprocalFriendCountLimit = 200064; //对方好友数量已达上限
- public const int ERR_NotGoodFriend = 200065; //还没有和对方成为好友
- public const int ERR_GiveGiftTadayRepeated = 200066; //今天已经赠送过了
- public const int ERR_TakeGiftCountFull = 200067; //今日体力已全部领取
- public const int ERR_RoleNotFound = 200068; //查无此人
- public const int ERR_LuckyBoxTimesNotEnough = 200069; //抽奖次数不足
- public const int ERR_AddPictureInvalidParam = 200070; //保存图片入参非法
- public const int ERR_AddPictureAlreadyExists = 200071; //图片已经存在
- public const int ERR_AddPictureFail = 200072; //图片添加失败
- public const int ERR_SetPictureStatus = 200073; //图片状态修改,图片数据不存在
- public const int ERR_GetTempPictureUrl = 200074; //获取临时url入参非法
- public const int ERR_GetTempPictureUrlFail = 200075; //获取临时url失败
- public const int ERR_DelPicsRequestRepeatedly = 200076; //删除图片重复请求
- public const int ERR_DelPics = 200077; //删除图片入参非法
- public const int ERR_AddPictureMaxBeyond = 200078; //该类型相册已经满了(目前最容量是50)
- public const int ERR_AddPictureObsObjNoExist = 200079; //该图片没有存在于OBS,请检查客户端的上传图片部分
- public const int ERR_NotExistsTravelSuit = 200080; //Q版套装不存在
- public const int ERR_GetTravelGuideRewardTimeNotArrived = 200081; //获取游历奖励失败,游历未结束
- public const int ERR_GetTravelGuideRewardJourneyNotStarted = 200082; //获取游历奖励失败,未开始游历
- public const int ERR_TravelGuideTravelGoFail = 200083; //游历开始失败,仍然处于游历中
- public const int ERR_TravelGuideTravelCompleteGoFail = 200084; //当前有游历在进行
- public const int ERR_AddPostcardFail = 200085; //千山万水相册已满
- public const int ERR_GalleryWorksLost = 200086; //作品已丢失
- public const int ERR_GalleryWorksCountLimit = 200087; //作品数量达到上限
- public const int ERR_GalleryRankIsClearing = 200088; //画廊排行正在结算中
- public const int ERR_AddReqOpenAlbumLimit = 200089; //请求保存的相片数量跟约定好的规则不匹配
- public const int ERR_CanNotAddSelf = 200090; //不能添加自己为好友
- public const int ERR_RegisterCountFull = 200091; //注册人数已达上限
- public const int ERR_ArenaNotOpen = 200092; //竞技场还未开启
- public const int ERR_ArenaFightFail = 200093; //竞技场战斗失败
- public const int ERR_ComponentNotExit = 200094; //组件不存在
- public const int ERR_ArenaFightTimeFull = 200095; //竞技场战斗次数已经满了
- public const int Err_ConsumeNotEnough = 200096; //消耗不满足
- public const int Err_ArenaFightTimesNotEnough = 200097; //竞技场战斗次数不满足
- public const int ERR_LimitNotEnough = 200098; //限购不满足
- public const int ERR_RoleNotExit = 200099; //玩家不存在
- public const int ERR_ItemNotExit = 200100; //物品不存在
- public const int ERR_ArenaDressupAttrNotExit = 200101; //竞技场套装属性没有改变
- public const int ERR_ArenaFightInAccount = 200102; //竞技场在结算期间
- public const int ERR_ArenaFreshFail = 200103; //竞技场刷新失败
- public const int ERR_LoingIpBanError = 200104; //登陆Ip被封禁
- public const int ERR_LoingAccountIdBanError = 200105; //登陆账户被封禁
- public const int ERR_LoingNotWhiteAccountError = 200106; //未开服,不是白名单的账户,不给进
- public const int Err_RoleLvlLimit = 200107; // 请先提升角色等级
- public const int Err_GetVerificationCodeFrequently = 200108; // 获取验证码过于频繁,请1分钟后再试
- public const int ERR_PhoneNumberInvalid = 200109; //输入的手机号无效
- public const int ERR_CodeInvalid = 200110; //输入的验证码无效
- public const int ERR_TravelGuideTravelNotSpeed = 200111; //当前游历不需要加速
- public const int ERR_ItemIsExit = 200112; //物品已存在
- public const int ERR_Login_NoneGateUser = 200113; //取消排队失败
- public const int ERR_Login_RoleInMap = 200114; //已经在游戏服中
- public const int ERR_LoingAccountBanPlayersUnderMaintenance = 200115; //您的账号正在维护中,请耐心等待
- public const int ERR_NewcomerRewardError = 200116; //礼包已领取过
- public const int ERR_ChapterPassRewardError = 200117; //章节奖励不可领取
- public const int ERR_NotUseableAutoError = 200118; //不是自动使用礼包
- public const int ERR_SeasonGradeRewardError = 200119; //赛季段位奖励不可领取
- public const int ERR_CardSyntheticError = 200120; //词牌不可以合成
- public const int ERR_NotIsCardError = 200121; //该物品不是词牌
- public const int ERR_SuitSelectRewardIsGetError = 200122; //已经领取过该套装
- public const int ERR_UpDressUpSkillError = 200123; //不满足学习条件
- public const int ERR_UpDressUpSkillIsMaxError = 200124; //已经达到最高阶段最高等级
- public const int ERR_GetWishingRewardsStatusError = 200125; //许愿奖励未达到领取条件
- public const int ERR_WishingLuckyBoxError = 200126; //轮盘许愿异常
- public const int ERR_WishingLuckyBoxIsGetAllError = 200127; //特殊奖励物品已全部获取,许愿功能无法使用
- public const int ERR_TempOrderNotExistError = 200128; //临时订单不存在
- public const int ERR_CreateAliOrderBodyError = 200129; //创建支付宝订单失败
-
- //联盟 205100-205199
- public const int ERR_LeagueNameInvalid = 205100; // 联盟名有问题
- public const int ERR_LeagueNoticeInvalid = 205101; // 联盟公告有问题
- public const int ERR_LeagueRoleHad = 205102; // 玩家已经有联盟了
- public const int ERR_LeagueCreateError = 205103; // 创建联盟失败
- public const int ERR_LeagueNotExit = 205104; // 联盟不存在
- public const int ERR_LeagueFull = 205105; // 联盟满员了
- public const int ERR_LeagueAddFull = 205106; // 联盟今日已经加满
- public const int ERR_LeagueNotJoin = 205107; // 还未加入联盟
- public const int ERR_LeagueNotPower = 205108; // 没有权限
- public const int ERR_LeagueBuildingLevelMax = 205109; // 建筑最大等级
- public const int ERR_LeagueCoinNotEnough = 205110; // 联盟币不足
- public const int ERR_LeagueChangeType = 205111; // 错误的修改类型
- public const int ERR_LeaguePrayCfgNotExit = 205112; // 联盟祈福配置不存在
- public const int ERR_LeaguePrayError = 205113; // 联盟祈福失败
- public const int ERR_LeaguePrayNotEnough = 205114; // 联盟祈福次数不足
- public const int ERR_LeagueJoinTimeNotEnough = 205115; // 联盟加入时间不足
- public const int ERR_LeagueWelfareNotFound = 205116; //联盟福利不存在;
- public const int ERR_LeagueWelfareHadBuy = 205117; //联盟福利已经购买;
- public const int ERR_LeagueHallLevelNotEnough = 205118; //联盟大厅等级不足;
- public const int ERR_LeagueWelfareHadGet = 205119; //联盟福利已经领取;
- public const int ERR_LeagueWelfareCfgNotFound = 205120; //联盟福利配置不存在
- public const int ERR_LeagueWelfareNotBuy = 205121; //联盟福利未购买;
- public const int ERR_LeagueQuestionNotOpen = 205122; //联盟答题还未开启
- public const int ERR_LeagueInAnswerTimeKick = 205123; //踢人联盟答题时间内
- public const int ERR_LeagueInAnswerTimeQuit = 205124; //退出联盟答题时间内
- public const int ERR_LeagueAnswerInvalid = 205125; //答案非法
- public const int ERR_LeagueTeaPartyNotOpen = 205126; // 雅集茶会未开启
- public const int ERR_LeagueTeaPartyLeaderIsOpen = 205127; // 雅集茶会会长已经开启了挑战
- public const int ERR_LeagueTeaPartyLeaderNotOpen = 205128; // 雅集茶会会长没有开启了挑战
- public const int ERR_LeagueTeaPartyNotComplete = 205129; // 雅集茶会玩家未完成
- public const int ERR_LeagueTeaPartyPerAwardNot = 205130; // 雅集茶会奖励不可领取
- public const int ERR_LeagueTeaPartyPerNotPushPlan = 205131; // 雅集茶会玩家未提交方案
- public const int ERR_GetTapPartyPerIsReceiveAwardError = 205132; // 获取玩家是否看完剧情有错误
- public const int ERR_LeagueTeaPartyOpenCfgIdError = 205133; // 雅集茶会期数错误
- public const int ERR_TapPartyPerNotComplete = 205134; // 剧情没有看完,个人评分未完成
- public const int ERR_LeagueTeaPartyNotExit = 205135; //联盟茶会奖励未领取无法退出雅集,确认是否退出雅集
- public const int ERR_LeagueTeaPartyNotRepeatJoin = 205136; //该玩法不可以重复参与哦
- public const int ERR_SuitItemOnlyOneRemainsError = 205137; //部件只剩最后一件
- //VIP 205200-205299
- public const int ERR_VipLevelNotEnough = 205200; //VIP等级不足
- public const int ERR_VipGiftHasGet = 205201; //VIP等级礼包已经领取
- public const int Err_VipWeekGiftHasGet = 205202; //VIP周礼包已经领取
- public const int Err_VipCfgNotFound = 205203; //VIP配置没有找到
- //聊天 205300-205399
- public const int ERR_ChatNotExit = 205300; //玩家聊天功能还未开启
- public const int ERR_ChatContentError = 205301; //聊天内容有敏感词
- public const int ERR_ChatSendFrequently = 205302; //聊天发送过于频繁
- //技能 205400-205499
- public const int ERR_SkillNotExist = 205400; //技能不存在
- public const int ERR_SkillConsumeNotEnough = 205401; //技能消耗不足
- public const int ERR_SkillAlreadyExist = 205402; //技能已经存在
- public const int ERR_SkillLearnConditionNotEnough = 205403; //技能学习条件不满足
- public const int ERR_ItemNotSkillBook = 205404; //物品非技能书
- //月卡 205500-205599
- public const int ERR_MonthCardExpire = 205500; //月卡过期
- public const int ERR_ExclusiveItemHadGet = 205501; //专属单品已经领取
- public const int ERR_DailyRewardGetFail = 205502; //每日奖励领取失败
- public const int ERR_MonthCardTimeOut = 205503; //月卡时间超过360天
- public const int ERR_UpMyMainBgError = 205504; //保存背景的开关已关闭
- //签到 205600-205699
- public const int ERR_SignInHadSign = 205600; // 已经签到了
- public const int ERR_SignInNotEnough = 205601; // 签到次数不足
- public const int ERR_SignInContinueDayRewardHadGet = 205602; // 连续签到天数奖励是否已领取
- public const int ERR_SignInConsumeNotEnough = 205603; // 签到消耗不满足
- public const int ERR_SignInDayNotReasonable = 205604; // 补签天数不合理
- //通行证 205700-205799
- public const int ERR_BattlePassLevelUpConsumeNotEnough = 205700; //升级通行证等级消耗不满足
- public const int ERR_BattlePassLevelUpLevelNotEnough = 205701; //通行证等级不满足
- public const int ERR_BattlePassLevelUpCfgNotFound = 205702; //通行证配置不存在
- public const int ERR_BattlePassLevelUpMaxLevel = 205703; //升级等级超过最大等级
- public const int ERR_BattlePassLevelUpNotBuy = 205704; //通行证还未购买
- //七日活跃 205800-205899
- public const int ERR_SevenDayActiveCfgNotFound = 205800; //七日活跃奖励配置不存在
- public const int ERR_SevenDayActiveRewardRepeated = 205801; //七日活跃奖励已经领取
- public const int ERR_SevenDayActiveScoreNotEnough = 205802; //七日活跃奖励积分不足
- public const int ERR_SevenDayActiveNotOpen = 205803; //七日活动还未开启
- //礼包 205900-205999
- public const int ERR_ItemNotGiftBoxSel = 205901; //物品不是自选礼包
- public const int ERR_SelItemNotExistsGiftBoxSel = 205902; //选中物品不存在于自选礼包
- public const int ERR_NotExistGifBagRebateError = 205903; //没有该礼包
- public const int ERR_RebateNotGetError = 205904; //返利不可以领取,领取失败
- public const int ERR_ItemNotRandomGiftBoxSel = 205905; //物品不是随机礼包
- //每日补给 206000-206099
- public const int ERR_DailySupplyRewardAlreadyGet = 206000; //每日补给已经领取
- public const int ERR_DailySupplyRewardGetFail = 206001; //每日补给领取失败
- public const int ERR_DailySupplyConsumeNotEnough = 206002; //每日补给消耗不满足
- //活动 206100-206199
- public const int ERR_ActivityNotAccept = 206100; //活动未接取
- public const int ERR_ActivityNotOpen = 206101; //活动未开启
- public const int ERR_ActivityCfgNotFound = 206102; //活动配置不存在
- public const int ERR_ActivityIsEnd = 206103; //活动已经结束
- public const int ERR_ActivityNotFound = 206104; //活动未找到
- public const int ERR_ActivityHasGetReward = 206105; //活动已经领取奖励
- public const int ERR_ActivityNotEnoughRecharge = 206106; //活动充值不足
- //充值 206200-206299
- //订单系统不存在
- public const int ERR_OrderSystemNotExist = 206200;
- //阿福赠礼206300-206399
- public const int ERR_ActivityLoginUpNotBuy = 206300; //未购买阿福赠礼
- public const int ERR_ActivityLoginUpNotGet = 206301; //不满足领取阿福赠礼奖励条件
- public const int ERR_ActivityLoginReadyAllGet = 206302; //阿福赠礼的奖励已经全部领取过了
- //激活码兑换 206400-206499
- public const int ERR_RedeemRewardsError = 206400; //兑换失败
- public const int ERR_CodeLoseEfficacyError = 206401; //该兑换码已失效
- public const int ERR_CodeInvalidError = 206402; //兑换码无效
- public const int ERR_EnterCodeError = 206403; //请输入兑换码
- //IOS充值异常 206500-206599
- public const int ERR_IosPayError = 206500; //ios充值失败
- //小游戏 206600-206699
- public const int ERR_MiniGameIsUnlockError = 206600; //小游戏已经解锁,无需重复解锁
- public const int ERR_MiniGameNotUnlockError = 206601; //小游戏未解锁
- public const int ERR_MiniGameNotOpenError = 206602; //小游戏未开始
- public const int ERR_MiniGameNotRepeatedPlayError = 206603; //该小游戏不可以重复玩
- public const int ERR_MiniGameRewardNotGetError = 206604; //该星级奖励不可以领取
- public const int ERR_MiniGameRewardIsGetError = 206605; //该星级奖励已经领取
- public const int ERR_MiniGameFirstPassRewardNotGet = 206606; //首通奖励不可领取
- //合成活动 206700-206799
- public const int ERR_NotRepeatSyntheticError = 206700; //已经合成过,不可以重复合成
- public const int ERR_NotActivitySuitError = 206701; //不是活动套装,不可以合成
- //拜访活动 206800-206899
- public const int ERR_NpcNotUnlockError = 206800; //Npc不可以解锁
- public const int ERR_NpcRewrdNotGetError = 206801; //Npc礼盒奖励不可以领取
- //招财进宝 206900-206999
- public const int ERR_GetDessRewrdExchangeCap = 206900; //已到达兑换上限
- //成长基金 207000-207999
- public const int ERR_GrowthFundNotBuy = 207000; //未购买成长基金
- //高级合成副本 208000-208999
- public const int ERR_InstanceZonesRatingRewardError = 208000; //关卡评分奖励不可以领取
- public const int ERR_ChapterRewardGotError = 208001; //章节奖励已经领取过了
- public const int ERR_ChapterRewardNotGotError = 208002; //章节奖励不满足领取条件
- //消暑礼包活动 209000-209999
- public const int ERR_ActivityLoginUpNotBuyExt = 209000; //未购买消暑礼包
- public const int ERR_ActivityLoginUpNotGetExt = 209001; //不满足领取消暑礼包奖励条件
- public const int ERR_ActivityLoginReadyAllGetExt = 209002; //消暑礼包的奖励已经全部领取过了
-
- //搭配评选赛 210000-211099
- public const int ERR_JudgingRoundStatusNotGatherError = 210000; //当前非集结期
- public const int ERR_JudgingRoundStatusNotSelError = 210001; //当前非评选期
- public const int ERR_JudgingRoundStatusNotEndError = 210002; //当前非结算期
- public const int ERR_JudgingRoundOpenCfgRankNotData = 210003; //找不到当前期数的历史数据
- public const int ERR_JudgingRoundOpenCfgRankNotDataExt = 210004; //该期无数据
-
- //爬塔 211100-211150
- public const int ERR_CimbingTowerResetLevelRepeat = 211100; //本周已重置过
- //暂未满足通关要求,无法使用此功能!
- public const int ERR_CimbingTowerOneClickPassNotLevel = 211101; //暂无可通过的关卡
- public const int ERR_CimbingTowerFightScoreFaill = 211102; //挑战失败(分数不足)
- public const int ERR_CimbingTowerFightEquipIdsFaill = 211103; //挑战失败(有部件未曾拥有)
- public const int ERR_CimbingTowerFightEquipIdsExtFaill = 211104; //挑战失败(有部件已经穿搭过)
- public const int ERR_CimbingTowerFightCardAbrasionFaill = 211105; //挑战失败(词牌磨损度超出)
- //通关数量已超过最大可通关数量
- public const int ERR_CimbingTowerOneClickPassIsMax = 211106;
-
- //合成小游戏 211150-211200
- public const int ERR_MergeGameSellingMaterialsNotShowLiat = 211150; //要售出的材料不存在展示区
- public const int ERR_MergeGameLevelPassIsPassFaill = 211151; //当前小游戏已经通关
- public const int ERR_MergeGameMaterialSynthesisIsMaxLvl = 211152; //已经是最高级的材料
- public const int ERR_MergeGameMaterialNoExistPlace = 211153; //没有存放空间!
- }
- }
|