using System; using System.Collections.Generic; using System.Linq; using System.Text; /// /// 命令码 /// public class CmdCode { #region ==== 支付操作码 88xx ==== /// /// 【活动】 领取首付礼包 /// public const int cmd_mpay_drawFirstPayGift = 8802; /// /// 【游戏商城】购买物品 /// public const int cmd_mpay_pay = 8807; /// /// 【神秘商城】 购买物品 /// public const int cmd_mpay_buySecretShopItem = 8809; /// /// 【神秘商城】 获取物品列表 /// public const int cmd_mpay_getSecretShopItems = 8810; /// /// 查询游戏币余额 /// public const int cmd_mpay_get_balance = 8808; /// /// 查询订单并发货 /// public const int cmd_mpay_PayDeliverGoods = 8813; /// /// 领取充值奖励 2022.10 /// public const int cmd_mpay_UserRechargeDrawPrize = 8814; /// /// 新的首冲功能 2022.10 /// public const int cmd_mpay_NewFirstRecharge = 8815; #endregion #region ==== 用户操作码 60xx ===== /// /// 获取分区列表 /// public const int cmd_user_getzonelist = 6000; /// /// 玩家登录指令 /// public const int cmd_user_loginuserinfo = 6001; /// /// 常量信息指令 /// public const int cmd_user_gameconstinfo = 6002; /// /// 获取连续登录奖励 /// public const int cmd_user_acceptcontidaysgift = 6003; /// /// 【测试】注册新的UID /// public const int cmd_user_testRegisterNewUID = 6004; /// /// 【测试】机器码登录 /// public const int cmd_user_testUserLogin = 6005; /// /// 注册新用户 /// public const int cmd_user_registerNewRole = 6006; #region ' 新手引导 ' /// /// 完成新手引导 /// public const int cmd_user_completeNewbieGuide = 6007; /// /// 获得引导中战斗奖励 /// public const int cmd_user_getGuideBattleReward = 6008; /// /// 新手引导——设置结束标志位 /// public const int cmd_user_setNewbieGuideOver = 6009; #endregion /// /// 修改昵称 /// public const int cmd_user_setNickName = 6010; /// /// 修改头像框 /// public const int cmd_user_SetUserHeadImageBorder = 6011; /// /// 更换玩家形象 /// public const int cmd_user_SetUserImage = 6012; /// /// 修改玩家头像 /// public const int cmd_user_changeUserHeadImage = 6013; /// /// 初始化火山引擎 /// public const int cmd_user_stat_initvolc = 6014; /// /// 6015 收集玩家意见和bug /// public const int cmd_user_ctxBack = 6015; /// /// 6016 拉取其他玩家的信息 /// public const int cmd_user_other_info = 6016; /// /// 6016 删除角色 /// public const int cmd_user_deleteUserUId = 6017; #endregion ==========用户操作码6000========== #region ==== 好友操作码 61xx ==== /// /// [好友-请求加好友1]向陌生人发送加好友申请 /// public const int friend_SendInvitationToStranger = 6101; /// /// [好友-同意好友请求] /// public const int friend_AgreeToFriends = 6102; /// /// [好友-拒绝好友请求] /// public const int friend_RefusedStranger = 6103; /// /// [好友-删除好友] /// public const int friend_DeleteFriends = 6104; /// /// 【好友--- 请求别人给我发来的好友邀请信息】 /// public const int friend_QueryOthersInviteMeMessage = 6105; /// /// [好友-拉取我的好友列表] /// public const int friend_QueryMyFriends = 6106; /// /// [好友-拉取好友的共享英雄详细信息] /// public const int friend_QueryFriendSharedHeroInfo = 6107; /// /// [好友-发送好友留言] /// public const int friend_SendMessageToFriends = 6108; /// /// [好友-刷新好友留言消息] /// public const int friend_RefreshFriendLeaveMessage = 6109; /// /// [好友-搜索好友] /// public const int friend_SearchStranger = 6110; /// /// [好友 -- 添加好友 :::推荐好友列表] /// 系统推荐的 陌生人列表 /// public const int friend_SystemProvideStrangerList = 6111; /// /// 拉取 别人给我发送礼物的信息 /// public const int friend_QueryOtherFriendSendMeGift = 6113; /// /// 收取别人给我发送的礼物 并回赠 /// public const int friend_ReceiveAndSendGiftToFriend = 6114; /// /// - 给我的好友赠送礼物 /// public const int friend_SendGiftToMyFriends = 6115; /// /// [6116]请求查看玩家是否有未读信息 /// public const int friend_unduckmsg = 6116; /// /// [6117]请求查看玩家公会信息 /// public const int cmd_user_friend_LookGuildInfo = 6117; /// /// [6118]请求查看玩家简介 /// public const int cmd_user_friend_LookFriendInfo = 6118; #endregion #region ==== 任务操作码 62xx === /// /// 普通任务 - 完成任务 /// public const int cmd_Task_getTaskInfo = 6201; /// /// 普通任务 - 领取奖励 /// public const int cmd_Task_getReward = 6202; /// /// 普通任务 - 设置关注任务 /// public const int cmd_Task_setAttentionTask = 6203; /// /// 日常任务 - 领取活跃度奖励 /// public const int cmd_Task_getActiveReward = 8204; /// /// 任务卡 - 剧情触发任务结束 /// public const int cmd_taskCard_PlotFinish = 6210; /// /// 任务卡 - 剧情回收任务卡 /// [Obsolete("2020.12.12")] public const int cmd_taskCard_PlotExchangeTaskCard = 6211; /// /// 任务卡 - 剧情赠与任务卡 /// [Obsolete("2020.12.12")] public const int cmd_taskCard_PlotPresentTaskCard = 6212; /// /// 任务卡 - 即时结算 /// [Obsolete("2020.12.12")] public const int cmd_taskCard_FinishAndReward = 6213; /// /// 任务卡 - 上报杀死怪物事件 /// public const int cmd_taskCard_killMonsterEvent = 6214; /// /// 任务卡 - 激活 /// public const int cmd_taskCard_active = 6215; /// /// 任务卡 - 领取奖励 /// public const int cmd_taskCard_reward = 6216; /// /// 任务卡 - 更新信息 /// public const int cmd_taskCard_info = 6217; /// /// 任务卡 - 步骤的Start/finish Action done /// public const int cmd_taskCard_stepActionDone = 6218; /// /// 任务卡 - 设置当前追踪任务卡 /// public const int cmd_taskCard_SetTracingCard = 6219; /// /// 任务卡 - 检查是否有任务步骤需要回撤(重新登录,唤灵师死亡,切换场景) /// public const int cmd_task_stepFallBack = 6220; /// /// 任务卡商店 - 开启 /// public const int cmd_taskcard_shop_open = 6231; /// /// 任务卡商店 - 购买 /// public const int cmd_taskcard_shop_buy = 6232; /// /// 任务卡商店 - 刷新 /// public const int cmd_taskcard_shop_refresh = 6233; #endregion #region ==== 英雄相关操作码63xx ==== /// /// 升级英雄 /// public const int hero_levelup = 6301; /// /// 英雄 - 加上装备 /// public const int hero_equip = 6302; /// /// 英雄 - 卸下装备 /// public const int hero_unequip = 6303; /// /// 英雄 - 升阶 :: 消耗碎片 /// public const int hero_stageup = 6304; /// /// 英雄- 升星 /// public const int hero_upstar = 6305; /// /// 英雄- 更改锁定状态 /// public const int hero_changelockstate = 6306; /// /// 英雄- 更改好友支援状态 /// public const int cmd_hero_changefirendbackup = 6307; /// /// 获得一个英雄的数据 /// public const int cmd_hero_gethero = 6308; /// /// 英雄的突破升级 /// public const int cmd_hero_strength = 6309; /// /// 英雄的解锁好感度 /// public const int cmd_hero_openFavor = 6310; /// /// 英雄的分解获得好感度晶石 /// public const int cmd_hero_separate = 6311; /// /// 英雄的购买收集的英雄的数量上限 /// public const int cmd_hero_buyCollectHeroLimtCount = 6312; /// /// 更改好友支援的英雄ID /// public const int cmd_hero_changefriendsupport = 6313; /// /// 更改好友支援的英雄ID /// public const int cmd_hero_upgradeSkillLevel = 6314; /// /// 存储队伍配置 /// public const int cmd_hero_saveHeroTeamConfig = 6315; /// /// 拉取英雄评论列表 /// public const int cmd_hero_GetDiscuss = 6316; /// /// 对英雄发表评论 /// public const int cmd_hero_PostDiscuss = 6317; /// /// 给某条评论点赞 /// public const int cmd_hero_PraiseDiscuss = 6318; /// /// 删除对某个英雄的评论 /// public const int cmd_hero_DeleteDiscuss = 6319; /// /// 给某个英雄打分 /// public const int cmd_hero_scoreit = 6320; /// /// 购买英雄 /// public const int cmd_hero_buyHero = 6321; /// /// 英雄神血升级 /// public const int cmd_hero_upGodBlood = 6322; /// /// 英雄碎片 先解锁 再购买 /// public const int cmd_hero_unlockByPieces = 6323; /// /// 英雄 - 解锁技能 /// public const int cmd_hero_unlockSkill = 6324; /// /// 英雄 - 一键升级 /// public const int cmd_hero_onekeyUpgradeSkill = 6325; /// /// 强化升星 /// public const int cmd_hero_StrengthenStar = 6326; /// /// 言灵等级升级 /// public const int cmd_hero_YanlinUpLevel = 6327; /// /// 唤灵师突破 /// public const int cmd_hero_tupo = 6328; /// /// 言灵替换 /// public const int cmd_hero_YanLingReplace = 6329; /// /// 召唤言灵 /// public const int cmd_hero_zhaohuanYanLing = 6330; #endregion #region ==== 背包/物品 64xx ==== /// /// 向包裹放入道具 /// public const int cmd_packet_putItemInStore = 6401; /// /// 卖掉单个背包物品 /// public const int cmd_packet_SellSingleItem = 6402; /// /// 卖掉背包物品 /// public const int cmd_packet_SellMultiItem = 6403; /// /// 使用背包物品 /// public const int cmd_packet_useItem = 6404; /// /// 刷新背包 /// public const int cmd_packet_Refresh = 6405; /// /// 从仓库/背包内删除物品(客户端直控) /// public const int cmd_store_delItem = 6406; /// /// 测试用 /// public const int cmd_store_Test = 6407; /// /// 升级物品 /// public const int cmd_store_ItemUpgrage = 6408; /// /// 宝石合成 /// //public const int cmd_store_GemCompose = 6409; /// /// 英雄穿装备 /// public const int cmd_store_WearEquip = 6410; /// /// 英雄脱装备 /// public const int cmd_store_UnWield = 6411; /// /// 购买增加物品栏格子数 /// public const int cmd_store_AddMaxPacketNum = 6412; /// /// 装备熔炼 /// public const int cmd_store_MeltEquip = 6413; /// /// 碎片合成(几个碎片合成获得同品质或者更高品质的新碎片) /// public const int cmd_store_PiecesCompose = 6415; /// /// 装备言灵 /// public const int cmd_store_WearYanling = 6416; /// /// 卸下言灵 /// public const int cmd_store_UnWieldYanling = 6417; /// /// 言灵召唤书碎片合成召唤书 /// public const int cmd_store_mergeYanlingbook = 6418; /// /// 利用言灵召唤书召唤言灵 /// public const int cmd_store_callyanling = 6419; /// /// 言灵进阶 /// public const int cmd_store_yanling_upgrade = 6420; /// /// 武器升级 /// public const int cmd_store_weapon_upgrade = 6421; /// /// 武器突破 /// public const int cmd_store_weapon_tupo = 6422; /// /// 武器替换 /// public const int cmd_store_weaponReplace = 6423; /// /// 宝石合成 /// public const int cmd_store_GemCompose = 6424; /// /// 宝石研究等级提升 /// public const int cmd_store_GemResearchLvUp = 6425; /// /// /// public const int cmd_store_GemSet = 6426; /// /// 宝石卸下 /// public const int cmd_store_GemRemove = 6427; /// /// 背包扩展 /// public const int cmd_store_unlockStore = 6428; /// /// 购买武器 /// public const int map_buyWeapon = 6429; /// /// 获取商店武器信息 /// public const int map_getShopWeapon = 6430; /// /// /// public const int map_buySupplies = 6431; ///扩容第三个格子 public const int map_expandStorage = 6432; /// /// 放入和移除储物间 /// public const int map_changeStorage = 6433; public const int cmd_store_changeBettleItem = 6434; /* * 道具全部使用,删除 */ public const int cmd_store_removeBettleItem = 6435; /** * 血瓶或蓝瓶自动使用条件设置 */ public const int cmd_store_setBettleItemUseVal = 6436; /// /// 删除所有类型道具 /// public const int cmd_store_removeItem = 6437; /// /// 击杀怪,唤灵师获得的信息加成,暂时是经验 /// public const int cmd_store_killMosterAddData = 6438; /// /// 查看新道具 /// public const int cmd_store_refreshItem = 6439; #endregion #region ==== 活动模块 65xx ====== /// /// 开服七日活动 - 刷新任务列表 /// public const int cmd_active_day7_gettasklist = 6500; /// /// 开服七日活动 - 完成任务 /// public const int cmd_active_day7_completetask = 6501; /// /// 开服七日活动 - 领取奖励 /// public const int cmd_active_day7_drawreward = 6502; /// /// 查询开服时间 /// public const int cmd_active_getZonePublicTs = 6503; /// /// 查询在线奖励信息 /// public const int cmd_active_getTodayOnlineInfos = 6504; /// /// 神庙抽奖 /// public const int cmd_active_shenmiaoDrawPrize = 6505; #region ' 抽奖 ' /// /// 抽奖 /// public const int cmd_active_lottery = 6509; /// /// 抽奖新手引导 /// public const int cmd_active_lottery_new = 6510; /// /// 活动 - 抽奖 领取保底奖励 /// public const int cmd_active_lottery_baodi = 6511; /// /// 活动 - 抽奖 领取到校的英雄 /// public const int cmd_active_lottery_drawhero = 6512; /// /// 活动 - 抽奖 查询抽奖卡牌信息 /// public const int cmd_active_lottery_info = 6513; /// /// 活动 - 抽奖 解锁卡槽 /// public const int cmd_active_lottery_unlock_slot = 6514; /// /// 活动 - 新生招募, 加速搜索 /// public const int cmd_active_lottery_speedup_search = 6515; #endregion /// /// [6512] 活动 - 凭兑换码领取礼包 /// public const int cmd_active_drawGiftByToken = 6512; /// /// [6513] 活动 - 活动领取连续在线礼包 /// public const int cmd_active_drawOnlineGift = 6513; /// /// [6514] 活动 - 领取全服注册礼包 /// public const int cmd_active_drawRegGift = 6514; /// /// [6515 活动 - 领取 赠送体力 /// public const int cmd_active_presentTili = 6515; /// /// 6516 查询现在的全服注册人数 /// public const int cmd_active_getRegNumber = 6516; /// /// [6517] 活动 开宝箱 减少冷却时间 /// public const int cmd_box_SubCoolDown = 6517; /// /// /// public const int cmd_active_GetShenmiaoData = 6518; /// /// 神庙券不够买券---临时 /// public const int cmd_active_buyShenmiaoDrawTicket = 6519; public const int cmd_active_BuyTili = 6520; public const int cmd_active_GetCurTili = 6521; #endregion #region ==== 排行榜模块 66xx ==== /// /// 排行榜 - 战斗力榜 /// public const int rank_fpower_getRank = 6601; /// /// 排行榜 - 领取战斗力榜突破奖励 /// public const int rank_fpower_drawReward = 6602; /// /// 排行榜 - 查询自己的战斗力排名 /// public const int rank_fpower_getRanking = 6603; /// /// 排行榜 - 查询三榜榜一信息 /// public const int rank_T_getTop1 = 6604; /// /// 排行榜 - 查询通关帮榜单 /// public const int rank_passgate_getRank = 6605; /// /// 排行榜 - 领取通关榜突破全服奖励 /// public const int rank_passgate_drawReward = 6606; /// /// 排行榜 - 查询战力榜突破记录 /// public const int rank_fpower_breaklog = 6607; /// /// 排行榜 - 查询通关帮突破记录 /// public const int rank_passgate_breaklog = 6608; #endregion #region ==== 邮件操作码 67xx ==== /// /// 获取邮件列表 /// public const int cmd_mail_getmaillist = 6701; /// /// 读取邮件 /// public const int cmd_mail_readmail = 6702; /// /// 邮件 - 领取附件 /// public const int cmd_mail_DrawReward = 6703; /// /// 邮件 - 领取全部附件奖励 /// public const int cmd_mail_DrawAllRewards = 6704; /// /// 删除邮件——所有已读(不包含已读未领取状态的邮件) /// public const int cmd_mail_delMailReaded = 6705; /// /// 6706 请求邮件未处理的数量 /// public const int cmd_mail_notReadMailNum = 6706; /// /// 6707 发送内部测试用道具邮件 /// public const int cmd_mail_SendTestItems = 6707; #endregion #region ==== 战斗操作码 68xx ==== /// /// 关卡 - 提前获取挑战掉落数据 /// public const int cmd_fight_ArenasPreFight = 6800; /// /// 关卡 - 挑战 /// public const int cmd_fight_ArenasFight = 6801; /// /// 关卡 - 扫荡 /// public const int cmd_fight_ArenasSweep = 6802; /// /// 挑战 - 获得挑战对手的信息 /// public const int cmd_fight_GetChallengeAdversaryInfo = 6803; /// /// 挑战 - 记录挑战结果 /// public const int cmd_fight_LogChallengeResult = 6804; /// /// 挑战 - 拉取挑战记录 /// public const int cmd_fight_GetChallengeLog = 6805; /// /// 剧情 - 领取剧情任务章节星数奖励 /// public const int cmd_fight_GetArenasActiveReward = 6806; #region --- PvP --- /// /// 竞技场 主界面信息 /// public const int cmd_pvp_maininfo = 6810; /// /// 竞技场 刷新对手 /// public const int cmd_pvp_refresh = 6811; /// /// 竞技场 挑战对手 /// public const int cmd_pvp_pk = 6812; /// /// 竞技场 补充体力 /// public const int cmd_pvp_setteam = 6813; /// /// 竞技场 购买挑战票 /// public const int cmd_pvp_buyTicket = 6814; /// /// 竞技场 获取排行榜信息 /// public const int cmd_pvp_getRank = 6815; /// /// 竞技场 查询战报 /// public const int cmd_pvp_getLog = 6816; #endregion #region --- 竞技 商店 --- /// /// 竞技场 商店 主界面信息 /// public const int cmd_fight_pvpShop_getMainInfo = 6820; /// /// 竞技场 商店 购买道具 /// public const int cmd_fight_pvpShop_buy = 6821; /// /// 竞技场 商店 刷新道具 /// public const int cmd_fight_pvpShop_refresh = 6822; #endregion #region --- 世界Boss --- /// /// 世界boss - 进入 /// public const int fight_worldBoss_enter = 6831; /// /// 世界boss - 上报伤害 /// public const int fight_worldBoss_addDamage = 6832; /// /// 世界boss - 查询boss剩余血量 /// public const int fight_worldBoss_refresh_blood = 6833; /// /// 世界boss - 查询当前伤害榜(前x名) /// public const int fight_worldBoss_refresh_rank = 6834; /// /// 世界boss - 查询boss输出伤害列表 /// public const int fight_worldBoss_refresh_bossSkill = 6835; #endregion #region --- 无尽塔 --- /// /// 无尽塔 - 查询当前层 /// public const int fight_endlessTower_Get = 6841; /// /// 无尽塔 - 前进 /// public const int fight_endlessTower_Up = 6842; /// /// 无尽塔 - 领取特殊奖励 /// public const int fight_endlessTower_Drawreward = 6843; /// /// 满血复活 /// public const int fight_fullBlood = 6844; #endregion #endregion #region ==== 系统操作码 69xx ==== /// /// 系统推送的滚动消息 /// public const int cmd_systemMessage = 6901; /// /// 客户端上报统计日志 /// [Obsolete("有问题, 封!",true)] public const int cmd_systemStatLogReport = 6902; /// /// 客户端心跳包 /// public const int cmd_sysemHeartbeat = 6903; #endregion #region ==== 公会操作码 70xx ==== /// /// 【会员】查询自己的公会信息 /// public const int guild_getUserGuildInfo = 7000; /// /// 【会员】推荐的公会列表 /// public const int guild_getList = 7001; /// /// 搜索 公会 /// public const int guild_searchGuildByID = 7003; /// /// 创建公会 /// public const int guild_create = 7004; /// /// 申请加入公会 /// public const int cmd_guild_apply = 7005; /// /// 一键加入公会 /// public const int cmd_guild_QuickIn = 7006; /// /// 编辑公会公告 /// public const int cmd_guild_modifyDeclare = 7008; /// /// 退出公会 /// public const int cmd_guild_quit = 7016; /// /// 开除公会成员 /// public const int cmd_guild_fireMember = 7010; /// /// 对其他玩家的入会申请进行 审批 /// public const int cmd_guild_approve = 7011; /// /// 设置公会成员的 职位 /// public const int cmd_guild_setPriceChairman = 7013; /// /// 查询某个公会的所有的成员的信息 /// public const int cmd_guild_getGuildMembers = 7014; /// /// 对其他玩家的入会申请进行 查看玩家的简介 /// public const int cmd_guild_ApplyUserIntro = 7020; /** * 发起弹劾 */ public const int cmd_guild_InitiateAccuse = 7017; /** * 同意弹劾 */ public const int cmd_guild_Accuse = 7018; /** * 会长取消本次弹劾 */ public const int cmd_guild_ChairmanCancelAccuse = 7019; /** * 发起捐献 */ public const int cmd_guild_requestDonate = 7021; /** * 捐献 */ public const int cmd_guild_donate = 7022; /** * 捐献数据刷新 */ public const int cmd_guild_donateInfoRefresh = 7023; /** * 购买捐献度 礼包 */ public const int cmd_guild_buyDonateGift = 7024; /** * 购买公会钻石 礼包 */ public const int cmd_guild_buyGuildCashGift = 7025; /** * 公会公告 */ public const int cmd_guild_announcement = 7026; /** * 公会邮件 */ public const int cmd_guild_noticeMail = 7027; #endregion #region === 商城操作码 71xx === /// /// 限购礼包主界面 /// public const int shop_limit_main = 7101; /// /// 购买限购礼包 /// public const int shop_limit_buy = 7102; /// /// 月卡主界面 /// public const int shop_monthlyVip_main = 7103; /// /// 购买月卡 /// public const int shop_monthlyVip_Buy = 7104; /// /// /// public const int shop_getDaliySpecial = 7105; #endregion #region ==== 事件操作码 72xx ==== /// /// 拉取新的角标通知 /// public const int cmd_event_GetConerSignNotifications = 7201; /// /// 清理指定类型的角标 /// public const int cmd_event_ClearNotifications = 7202; #endregion #region ==== 学院操作码 73xx ==== /// /// 激活某任务卡 /// public const int cmd_college_ActiveTaskCard = 7301; /// /// 领取年级奖励 /// public const int cmd_college_ReceiveCollegeReward = 7302; /// /// 领取课程奖励 /// public const int cmd_college_ReceiveCourseReward = 7303; /// /// /// public const int cmd_college_ScoreExchangeItem = 7304; /// /// /// public const int cmd_college_GetCollegeData = 7305; #endregion #region ==== 拍卖操作码 74xx ==== /// /// 获取全部拍卖信息 /// public const int cmd_Auction_GetUserAuctionItemsInfo = 7401; /// /// 玩家上架拍品信息 /// public const int cmd_Auction_GetUserUploadAuctionItems = 7402; /// /// 玩家竞拍信息 /// public const int cmd_Auction_GetUserAuctionItems = 7403; /// /// 一口价 /// public const int cmd_Auction_BuyoutPrice = 7404; /// /// 取消出售 /// public const int cmd_Auction_CancelAuction = 7405; /// /// 上传拍品 /// public const int cmd_Auction_UploadAuctionItems = 7406; /// /// 竞拍 /// public const int cmd_Auction_UserAuctionBidItem = 7407; #endregion #region ==== 地图操作码 75xx ==== /// /// 进入据点 /// public const int map_EnterFootHold = 7501; /// /// 开启传送阵 /// public const int map_FixUpTransmission = 7502; /// /// 更新探索度 /// public const int map_UpdateExplorerationProgress = 7503; /// /// 解锁据点 /// public const int map_UnlockMap = 7504; /// /// 保存mapid下已经解锁的区域、npc等等 /// public const int map_unlockInfoSva = 7505; /// /// 领取探索奖励 /// public const int map_reviceExplorerReward = 7506; public const int map_huichengQuanUse = 7507; public const int map_huichengQuanEnd = 7508; #endregion }