// Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: // protoc-gen-ts_proto v1.180.0 // protoc v5.26.0 // source: msg_cmd.proto /* eslint-disable */ export const protobufPackage = "game"; /** 协议id文件 */ /** 客户端发起的必定有响应,而服务器发起无响应 */ export enum msgCmd { /** cmd_ping - 心跳cs */ cmd_ping = 0, /** cmd_ping_rsp - 心跳sc */ cmd_ping_rsp = 1, /** cmd_login - 登录请求cs */ cmd_login = 2, /** cmd_login_rsp - 登录相应sc */ cmd_login_rsp = 3, /** cmd_create - 创角请求cs */ cmd_create = 4, /** cmd_create_rsp - 创角相应sc */ cmd_create_rsp = 5, /** cmd_reward_info - 奖励推送sc */ cmd_reward_info = 6, /** cmd_user - 玩家消息推送sc */ cmd_user = 7, /** cmd_pay_currency - 支付推送sc */ cmd_pay_currency = 8, /** cmd_pay_debris_nty - 支付碎片通知sc */ cmd_pay_debris_nty = 9, /** cmd_exception_nty - 异常抛出 */ cmd_exception_nty = 10, /** cmd_create_order_nty - 充值订单消息 */ cmd_create_order_nty = 11, /** cmd_recharge_result - 充值结果 */ cmd_recharge_result = 100, /** cmd_recharge_result_rsp - 充值结果 */ cmd_recharge_result_rsp = 101, /** cmd_city_change - 主城 主城建组 */ cmd_city_change = 1000, /** cmd_city_data - 主城数据cs */ cmd_city_data = 1001, /** cmd_city_data_rsp - 主城数据sc */ cmd_city_data_rsp = 1002, /** cmd_building_upgrade - 建筑升级cs */ cmd_building_upgrade = 1003, /** cmd_building_upgrade_rsp - 建筑升级sc */ cmd_building_upgrade_rsp = 1004, /** cmd_building_one_key - 建筑一键收获cs */ cmd_building_one_key = 1005, /** cmd_building_one_key_rsp - 建筑一键收获sc */ cmd_building_one_key_rsp = 1006, /** cmd_city_data_send - 主城数据推送sc */ cmd_city_data_send = 1007, /** cmd_city_skill_upgrade - 主城技能升级 */ cmd_city_skill_upgrade = 1010, /** cmd_city_skill_upgrade_rsp - 主城技能升级 */ cmd_city_skill_upgrade_rsp = 1011, /** cmd_city_skill_battle - 主城技能上阵 */ cmd_city_skill_battle = 1012, /** cmd_city_skill_battle_rsp - 主城技能上阵 */ cmd_city_skill_battle_rsp = 1013, /** cmd_building_explore - 建筑探索 */ cmd_building_explore = 1020, /** cmd_building_explore_rsp - 建筑探索 */ cmd_building_explore_rsp = 1021, /** cmd_building_auto_explore_award - 领取自动探索奖励 */ cmd_building_auto_explore_award = 1022, /** cmd_building_auto_explore_award_rsp - 领取自动探索奖励 */ cmd_building_auto_explore_award_rsp = 1023, /** cmd_building_explore_battle - 建筑探索上阵 */ cmd_building_explore_battle = 1024, /** cmd_building_explore_battle_rsp - 建筑探索上阵 */ cmd_building_explore_battle_rsp = 1025, /** cmd_building_auto_explore_option - 建筑自动探索设置 */ cmd_building_auto_explore_option = 1026, /** cmd_building_auto_explore_option_rsp - 建筑自动探索设置 */ cmd_building_auto_explore_option_rsp = 1027, /** cmd_adventure_data - 冒险相关 */ cmd_adventure_data = 1100, /** cmd_adventure_data_rsp - 冒险数据sc */ cmd_adventure_data_rsp = 1101, /** cmd_adventure_start - 冒险开始cs */ cmd_adventure_start = 1102, /** cmd_adventure_start_rsp - 冒险开始sc */ cmd_adventure_start_rsp = 1103, /** cmd_adventure_end - 冒险结束cs */ cmd_adventure_end = 1104, /** cmd_adventure_end_rsp - 冒险结束sc */ cmd_adventure_end_rsp = 1105, /** cmd_adventure_layer - 冒险开始波次cs */ cmd_adventure_layer = 1106, /** cmd_adventure_layer_rsp - 冒险开始波次sc */ cmd_adventure_layer_rsp = 1107, /** cmd_adventure_sweep - 冒险扫荡 */ cmd_adventure_sweep = 1108, /** cmd_adventure_sweep_rsp - 冒险扫荡 */ cmd_adventure_sweep_rsp = 1109, /** cmd_adventure_pass_award - 冒险通关奖励 */ cmd_adventure_pass_award = 1110, /** cmd_adventure_pass_award_rsp - 通关奖励 */ cmd_adventure_pass_award_rsp = 1111, /** cmd_adventure_ad_award - 冒险广告奖励 */ cmd_adventure_ad_award = 1112, /** cmd_adventure_ad_award_rsp - 冒险广告奖励 */ cmd_adventure_ad_award_rsp = 1113, /** cmd_adventure_trial - 冒险试用英雄 */ cmd_adventure_trial = 1114, /** cmd_adventure_trial_rsp - 冒险试用英雄 */ cmd_adventure_trial_rsp = 1115, /** cmd_get_mail - 邮件 */ cmd_get_mail = 1200, /** cmd_get_mail_rsp - 获取邮件数据sc */ cmd_get_mail_rsp = 1201, /** cmd_get_mail_goods - 取出邮件奖励cs */ cmd_get_mail_goods = 1202, /** cmd_get_mail_goods_rsp - 取出邮件奖励sc */ cmd_get_mail_goods_rsp = 1203, /** cmd_del_mail - 删除邮件cs */ cmd_del_mail = 1204, /** cmd_del_mail_rsp - 删除邮件sc */ cmd_del_mail_rsp = 1205, /** cmd_flag_mail - 标记为已读cs */ cmd_flag_mail = 1206, /** cmd_flag_mail_rsp - 标记为已读sc */ cmd_flag_mail_rsp = 1207, /** cmd_send_mail - 发送邮件sc */ cmd_send_mail = 1208, /** cmd_simple_mail - 简单的邮件数据sc */ cmd_simple_mail = 1209, /** cmd_embattle_get_data - 阵容 */ cmd_embattle_get_data = 1300, /** cmd_embattle_get_data_rsp - 上阵数据sc */ cmd_embattle_get_data_rsp = 1301, /** cmd_embattle_battle - 上阵角色cs */ cmd_embattle_battle = 1302, /** cmd_embattle_battle_rsp - 上阵角色sc */ cmd_embattle_battle_rsp = 1303, /** cmd_hero_get_data - 角色 */ cmd_hero_get_data = 1400, /** cmd_hero_get_data_rsp - 角色数据sc */ cmd_hero_get_data_rsp = 1401, /** cmd_hero_upgrade - 角色升级cs */ cmd_hero_upgrade = 1402, /** cmd_hero_upgrade_rsp - 角色升级sc */ cmd_hero_upgrade_rsp = 1403, /** cmd_hero_upgrade_star - 角色突破cs */ cmd_hero_upgrade_star = 1404, /** cmd_hero_upgrade_star_rsp - 角色突破sc */ cmd_hero_upgrade_star_rsp = 1405, /** cmd_hero_onekey_upgrade_star - 角色一键突破sc */ cmd_hero_onekey_upgrade_star = 1406, /** cmd_hero_onekey_upgrade_star_rsp - 角色一键突破cs */ cmd_hero_onekey_upgrade_star_rsp = 1407, /** cmd_hero_reset - 角色重置sc */ cmd_hero_reset = 1408, /** cmd_hero_reset_rsp - 角色重置cs */ cmd_hero_reset_rsp = 1409, /** cmd_hero_wear_equip - 角色装备穿戴sc */ cmd_hero_wear_equip = 1410, /** cmd_hero_wear_equip_rsp - 角色装备穿戴sc */ cmd_hero_wear_equip_rsp = 1411, /** cmd_hero_change_nty - 英雄数据变化 */ cmd_hero_change_nty = 1450, /** cmd_skill_card_get_data - 技能卡牌 */ cmd_skill_card_get_data = 1500, /** cmd_skill_card_get_data_rsp - 技能卡牌数据sc */ cmd_skill_card_get_data_rsp = 1501, /** cmd_skill_card_upgrade - 技能卡牌升级cs */ cmd_skill_card_upgrade = 1502, /** cmd_skill_card_upgrade_rsp - 技能卡牌升级sc */ cmd_skill_card_upgrade_rsp = 1503, /** cmd_skill_card_upgrade_star - 技能卡牌突破cs */ cmd_skill_card_upgrade_star = 1504, /** cmd_skill_card_upgrade_star_rsp - 技能卡牌突破sc */ cmd_skill_card_upgrade_star_rsp = 1505, /** cmd_role_get_data - 队伍数据 */ cmd_role_get_data = 1600, /** cmd_role_get_data_rsp - 队伍数据sc */ cmd_role_get_data_rsp = 1601, /** cmd_role_upgrade - 队伍等级提升cs */ cmd_role_upgrade = 1602, /** cmd_role_upgrade_rsp - 队伍等级提升sc */ cmd_role_upgrade_rsp = 1603, /** cmd_role_rename - 改名 */ cmd_role_rename = 1604, /** cmd_role_rename_rsp - 改名 */ cmd_role_rename_rsp = 1605, /** cmd_equip_get_data - 装备 */ cmd_equip_get_data = 1700, /** cmd_equip_get_data_rsp - 装备数据sc */ cmd_equip_get_data_rsp = 1701, /** cmd_equip_upgrade - 装备升级cs */ cmd_equip_upgrade = 1702, /** cmd_equip_upgrade_rsp - 装备升级sc */ cmd_equip_upgrade_rsp = 1703, /** cmd_equip_upgrade_star - 装备突破cs */ cmd_equip_upgrade_star = 1704, /** cmd_equip_upgrade_star_rsp - 装备突破sc */ cmd_equip_upgrade_star_rsp = 1705, /** cmd_equip_onekey_upgrade_star - 装备一键突破sc */ cmd_equip_onekey_upgrade_star = 1706, /** cmd_equip_onekey_upgrade_star_rsp - 装备一键突破cs */ cmd_equip_onekey_upgrade_star_rsp = 1707, /** cmd_equip_reset - 装备重置sc */ cmd_equip_reset = 1708, /** cmd_equip_reset_rsp - 装备重置cs */ cmd_equip_reset_rsp = 1709, /** cmd_equip_change_nty - 装备变化通知 */ cmd_equip_change_nty = 1750, /** cmd_debris_get_data - 碎片 */ cmd_debris_get_data = 1800, /** cmd_debris_get_data_rsp - 碎片背包数据 */ cmd_debris_get_data_rsp = 1801, /** cmd_debris_merge - 碎片合成 */ cmd_debris_merge = 1802, /** cmd_debris_merge_rsp - 碎片合成 */ cmd_debris_merge_rsp = 1803, /** cmd_talent_get_data - 天赋 */ cmd_talent_get_data = 1900, /** cmd_talent_get_data_rsp - 天赋数据 */ cmd_talent_get_data_rsp = 1901, /** cmd_talent_activate - 天赋激活 */ cmd_talent_activate = 1902, /** cmd_talent_activate_rsp - 天赋激活 */ cmd_talent_activate_rsp = 1903, /** cmd_sign_in_get_data - 签到 */ cmd_sign_in_get_data = 2000, /** cmd_sign_in_get_data_rsp - 签到数据 */ cmd_sign_in_get_data_rsp = 2001, /** cmd_sign_in_award - 签到奖励 */ cmd_sign_in_award = 2002, /** cmd_sign_in_award_rsp - 签到奖励 */ cmd_sign_in_award_rsp = 2003, /** cmd_sign_in_nty - 签到数据 */ cmd_sign_in_nty = 2004, /** cmd_quest_get_data - 任务 */ cmd_quest_get_data = 2100, /** cmd_quest_get_data_rsp - 任务数据 */ cmd_quest_get_data_rsp = 2101, /** cmd_quest_get_award - 领取任务奖励 */ cmd_quest_get_award = 2102, /** cmd_quest_get_award_rsp - 领取任务奖励 */ cmd_quest_get_award_rsp = 2103, /** cmd_quest_active_award - 领取活跃奖励 */ cmd_quest_active_award = 2104, /** cmd_quest_active_award_rsp - 领取活跃奖励 */ cmd_quest_active_award_rsp = 2105, /** cmd_quest_cmplate_notify - 任务完成通知 */ cmd_quest_cmplate_notify = 2150, /** cmd_manual_get_data - 战令 */ cmd_manual_get_data = 2200, /** cmd_manual_get_data_rsp - 战令数据 */ cmd_manual_get_data_rsp = 2201, /** cmd_manual_buy_exp - 战令购买经验 */ cmd_manual_buy_exp = 2202, /** cmd_manual_buy_exp_rsp - 战令购买经验 */ cmd_manual_buy_exp_rsp = 2203, /** cmd_manual_get_award - 战令领取奖励 */ cmd_manual_get_award = 2204, /** cmd_manual_get_award_rsp - 战令领取奖励 */ cmd_manual_get_award_rsp = 2205, /** cmd_manual_buy - 战令购买 */ cmd_manual_buy = 2206, /** cmd_manual_buy_rsp - 战令购买 */ cmd_manual_buy_rsp = 2207, /** cmd_manual_notify - 战令购买通知 */ cmd_manual_notify = 2250, /** cmd_draw - 抽奖 */ cmd_draw = 2300, /** cmd_draw_rsp - 抽奖 */ cmd_draw_rsp = 2301, /** cmd_draw_get_data - 抽奖数据 */ cmd_draw_get_data = 2302, /** cmd_draw_get_data_rsp - 抽奖数据 */ cmd_draw_get_data_rsp = 2303, /** cmd_shop_data - 商店 */ cmd_shop_data = 2400, /** cmd_shop_data_rsp - 商店数据 */ cmd_shop_data_rsp = 2401, /** cmd_shop_buy - 商店购买 */ cmd_shop_buy = 2402, /** cmd_shop_buy_rsp - 商店购买 */ cmd_shop_buy_rsp = 2403, /** cmd_shop_notify - 商店购买成功消息 */ cmd_shop_notify = 2450, /** cmd_ranking_data - 排行榜 */ cmd_ranking_data = 2501, /** cmd_ranking_data_rsp - 排行榜数据 */ cmd_ranking_data_rsp = 2502, /** cmd_grocery_data - 杂货店 */ cmd_grocery_data = 2601, /** cmd_grocery_data_rsp - 杂货店数据 */ cmd_grocery_data_rsp = 2602, /** cmd_grocery_buy - 杂货店购买 */ cmd_grocery_buy = 2603, /** cmd_grocery_buy_rsp - 杂货店购买 */ cmd_grocery_buy_rsp = 2604, /** cmd_box_get_award - 宝箱奖励 */ cmd_box_get_award = 2605, /** cmd_box_get_award_rsp - 宝箱奖励 */ cmd_box_get_award_rsp = 2606, /** cmd_altar_data - 祭坛 */ cmd_altar_data = 2701, /** cmd_altar_data_rsp - 祭坛数据 */ cmd_altar_data_rsp = 2702, /** cmd_altar_battle - 祭坛上阵 */ cmd_altar_battle = 2703, /** cmd_altar_battle_rsp - 祭坛上阵 */ cmd_altar_battle_rsp = 2704, /** cmd_altar_exchange - 祭坛置换 */ cmd_altar_exchange = 2705, /** cmd_altar_exchange_rsp - 祭坛置换 */ cmd_altar_exchange_rsp = 2706, /** cmd_altar_exchange_confirm - 祭坛置换确认 */ cmd_altar_exchange_confirm = 2707, /** cmd_altar_exchange_confirm_rsp - 祭坛置换确认 */ cmd_altar_exchange_confirm_rsp = 2708, /** cmd_altar_buy_battle_space - 祭坛购买上阵位 */ cmd_altar_buy_battle_space = 2709, /** cmd_altar_buy_battle_space_rsp - 祭坛购买上阵位 */ cmd_altar_buy_battle_space_rsp = 2710, /** cmd_altar_reset_cd - 祭坛重置上阵位时间 */ cmd_altar_reset_cd = 2711, /** cmd_altar_reset_cd_rsp - 祭坛重置上阵位时间 */ cmd_altar_reset_cd_rsp = 2712, /** cmd_relic_data - 遗迹 */ cmd_relic_data = 2801, /** cmd_relic_data_rsp - 遗迹数据 */ cmd_relic_data_rsp = 2802, /** cmd_relic_next_pos - 遗迹前往下个位置 */ cmd_relic_next_pos = 2803, /** cmd_relic_next_pos_rsp - 遗迹前往下个位置 */ cmd_relic_next_pos_rsp = 2804, /** cmd_relic_next_layer - 遗迹前往下一层 */ cmd_relic_next_layer = 2805, /** cmd_relic_next_layer_rsp - 遗迹前往下一层 */ cmd_relic_next_layer_rsp = 2806, /** cmd_relic_select_buff - 遗迹选择buff */ cmd_relic_select_buff = 2807, /** cmd_relic_select_buff_rsp - 遗迹选择buff */ cmd_relic_select_buff_rsp = 2808, /** cmd_relic_reset - 遗迹重置 */ cmd_relic_reset = 2809, /** cmd_relic_reset_rsp - 遗迹重置 */ cmd_relic_reset_rsp = 2810, /** cmd_relic_event_select - 事件选择 */ cmd_relic_event_select = 2811, /** cmd_relic_event_select_rsp - 事件选择 */ cmd_relic_event_select_rsp = 2812, /** cmd_relic_event_nty - 遗迹触发事件推送 */ cmd_relic_event_nty = 2850, /** cmd_relic_data_nty - 遗迹数据推送 */ cmd_relic_data_nty = 2851, /** cmd_activity_get_conf_list - 活动 */ cmd_activity_get_conf_list = 2900, /** cmd_activity_get_conf_list_rsp - 活动配置 */ cmd_activity_get_conf_list_rsp = 2901, /** cmd_activity_time_list_nty - 活动时间 */ cmd_activity_time_list_nty = 2950, /** cmd_activity_get_conf_nty - 测试 */ cmd_activity_get_conf_nty = 2951, /** cmd_privilege_card_data - 特权卡购买 */ cmd_privilege_card_data = 3000, /** cmd_privilege_card_data_rsp - 特权卡数据 */ cmd_privilege_card_data_rsp = 3001, /** cmd_privilege_card_buy - 特权卡购买 */ cmd_privilege_card_buy = 3002, /** cmd_privilege_card_buy_rsp - 特权卡购买 */ cmd_privilege_card_buy_rsp = 3003, /** cmd_privilege_card_award - 特权卡奖励 */ cmd_privilege_card_award = 3004, /** cmd_privilege_card_award_rsp - 特权卡奖励 */ cmd_privilege_card_award_rsp = 3005, /** cmd_privilege_card_unlock_nty - 特权卡解锁 */ cmd_privilege_card_unlock_nty = 3050, /** cmd_first_recharge_data - 首充 */ cmd_first_recharge_data = 3100, /** cmd_first_recharge_data_rsp - 首充礼包数据 */ cmd_first_recharge_data_rsp = 3101, /** cmd_first_recharge_buy - 首充礼包购买 */ cmd_first_recharge_buy = 3102, /** cmd_first_recharge_buy_rsp - 首充礼包购买 */ cmd_first_recharge_buy_rsp = 3103, /** cmd_first_recharge_award - 首充礼包奖励 */ cmd_first_recharge_award = 3104, /** cmd_first_recharge_award_rsp - 首充礼包奖励 */ cmd_first_recharge_award_rsp = 3105, /** cmd_first_recharge_nty - 首充礼包消息 */ cmd_first_recharge_nty = 3150, /** cmd_daily_dungeons_data - 日常副本 */ cmd_daily_dungeons_data = 3200, /** cmd_daily_dungeons_data_rsp - 日常副本数据 */ cmd_daily_dungeons_data_rsp = 3201, /** cmd_daily_dungeons_start - 日常副本战斗开始 */ cmd_daily_dungeons_start = 3202, /** cmd_daily_dungeons_start_rsp - 日常副本战斗开始 */ cmd_daily_dungeons_start_rsp = 3203, /** cmd_daily_dungeons_end - 日常副本战斗结束 */ cmd_daily_dungeons_end = 3204, /** cmd_daily_dungeons_end_rsp - 日常副本战斗结束 */ cmd_daily_dungeons_end_rsp = 3205, /** cmd_daily_dungeons_sweep - 日常副本扫荡 */ cmd_daily_dungeons_sweep = 3206, /** cmd_daily_dungeons_sweep_rsp - 日常副本扫荡 */ cmd_daily_dungeons_sweep_rsp = 3207, /** cmd_adv_gift_data - 冒险礼包 */ cmd_adv_gift_data = 3300, /** cmd_adv_gift_data_rsp - 冒险礼包数据 */ cmd_adv_gift_data_rsp = 3301, /** cmd_adv_gift_buy - 冒险礼包购买 */ cmd_adv_gift_buy = 3302, /** cmd_adv_gift_buy_rsp - 冒险礼包购买 */ cmd_adv_gift_buy_rsp = 3303, /** cmd_adv_gift_nty - 冒险礼包推送 */ cmd_adv_gift_nty = 3350, /** cmd_pop_gift_data - 弹窗礼包 */ cmd_pop_gift_data = 3400, /** cmd_pop_gift_data_rsp - 弹窗礼包数据 */ cmd_pop_gift_data_rsp = 3401, /** cmd_pop_gift_buy - 弹窗礼包购买 */ cmd_pop_gift_buy = 3402, /** cmd_pop_gift_buy_rsp - 弹窗礼包购买 */ cmd_pop_gift_buy_rsp = 3403, /** cmd_pop_gift_nty - 弹窗礼包推送 */ cmd_pop_gift_nty = 3450, /** cmd_pop_gift_change_nty - 弹窗礼包数据变化 */ cmd_pop_gift_change_nty = 3451, /** cmd_fund_data - 基金数据 */ cmd_fund_data = 3500, /** cmd_fund_data_rsp - 基金数据 */ cmd_fund_data_rsp = 3501, /** cmd_fund_buy - 基金购买 */ cmd_fund_buy = 3502, /** cmd_fund_buy_rsp - 基金购买 */ cmd_fund_buy_rsp = 3503, /** cmd_fund_award - 基金奖励 */ cmd_fund_award = 3504, /** cmd_fund_award_rsp - 基金奖励 */ cmd_fund_award_rsp = 3505, /** cmd_fund_nty - 基金消息 */ cmd_fund_nty = 3550, /** cmd_keep_recharge_data - 连续充值数据 */ cmd_keep_recharge_data = 3600, /** cmd_keep_recharge_data_rsp - 连续充值数据 */ cmd_keep_recharge_data_rsp = 3601, /** cmd_keep_recharge_award - 连续充值奖励 */ cmd_keep_recharge_award = 3602, /** cmd_keep_recharge_award_rsp - 连续充值奖励 */ cmd_keep_recharge_award_rsp = 3603, /** cmd_get_red_point_list - 红点请求 */ cmd_get_red_point_list = 3710, /** cmd_get_red_point_list_rsp - 红点响应 */ cmd_get_red_point_list_rsp = 3711, /** cmd_online_award_get_award - 在线奖励 */ cmd_online_award_get_award = 3800, /** cmd_online_award_get_award_rsp - 领取在线奖励 */ cmd_online_award_get_award_rsp = 3801, /** cmd_online_award_get_data - 在线奖励数据 */ cmd_online_award_get_data = 3802, /** cmd_online_award_get_data_rsp - 在线奖励数据 */ cmd_online_award_get_data_rsp = 3803, /** cmd_online_award_nty - 在线奖励数据推送 */ cmd_online_award_nty = 3850, /** cmd_speed_up_data - 战斗加速 */ cmd_speed_up_data = 3900, /** cmd_speed_up_data_rsp - 战斗加速数据 */ cmd_speed_up_data_rsp = 3901, /** cmd_speed_up_buy - 战斗加速时间购买 */ cmd_speed_up_buy = 3902, /** cmd_speed_up_buy_rsp - 战斗加速时间购买 */ cmd_speed_up_buy_rsp = 3903, /** cmd_level_gift_data - 等级礼包 */ cmd_level_gift_data = 4000, /** cmd_level_gift_data_rsp - 等级礼包数据 */ cmd_level_gift_data_rsp = 4001, /** cmd_level_gift_buy - 等级礼包购买 */ cmd_level_gift_buy = 4002, /** cmd_level_gift_buy_rsp - 等级礼包购买 */ cmd_level_gift_buy_rsp = 4003, /** cmd_level_gift_del_red_point - 等级礼包取消红点 */ cmd_level_gift_del_red_point = 4004, /** cmd_level_gift_del_red_point_rsp - 等级礼包取消红点 */ cmd_level_gift_del_red_point_rsp = 4005, /** cmd_level_gift_nty - 等级礼包推送 */ cmd_level_gift_nty = 4050, /** cmd_lottery_data - 千抽活动 */ cmd_lottery_data = 4100, /** cmd_lottery_data_rsp - 千抽活动数据 */ cmd_lottery_data_rsp = 4101, /** cmd_lottery_award - 千抽活动奖励 */ cmd_lottery_award = 4102, /** cmd_lottery_award_rsp - 千抽活动奖励 */ cmd_lottery_award_rsp = 4103, /** cmd_lottery_buy - 千抽活动购买 */ cmd_lottery_buy = 4104, /** cmd_lottery_buy_rsp - 千抽活动购买 */ cmd_lottery_buy_rsp = 4105, /** cmd_lottery_nty - 千抽活动推送 */ cmd_lottery_nty = 4150, /** cmd_act_rank_data - 开服排行活动 */ cmd_act_rank_data = 4200, /** cmd_act_rank_data_rsp - 开服排行活动数据 */ cmd_act_rank_data_rsp = 4201, /** cmd_treasure_get_data - 开服宝藏活动 */ cmd_treasure_get_data = 4300, /** cmd_treasure_get_data_rsp - 开服宝藏活动数据 */ cmd_treasure_get_data_rsp = 4301, /** cmd_treasure_draw - 开服宝藏活动抽奖 */ cmd_treasure_draw = 4302, /** cmd_treasure_draw_rsp - 开服宝藏活动抽奖 */ cmd_treasure_draw_rsp = 4303, /** cmd_treasure_sign - 开服宝藏活动签到 */ cmd_treasure_sign = 4304, /** cmd_treasure_sign_rsp - 开服宝藏活动签到 */ cmd_treasure_sign_rsp = 4305, /** cmd_treasure_buy - 开服宝藏活动购买 */ cmd_treasure_buy = 4306, /** cmd_treasure_buy_rsp - 开服宝藏活动购买 */ cmd_treasure_buy_rsp = 4307, UNRECOGNIZED = -1, } export function msgCmdFromJSON(object: any): msgCmd { switch (object) { case 0: case "cmd_ping": return msgCmd.cmd_ping; case 1: case "cmd_ping_rsp": return msgCmd.cmd_ping_rsp; case 2: case "cmd_login": return msgCmd.cmd_login; case 3: case "cmd_login_rsp": return msgCmd.cmd_login_rsp; case 4: case "cmd_create": return msgCmd.cmd_create; case 5: case "cmd_create_rsp": return msgCmd.cmd_create_rsp; case 6: case "cmd_reward_info": return msgCmd.cmd_reward_info; case 7: case "cmd_user": return msgCmd.cmd_user; case 8: case "cmd_pay_currency": return msgCmd.cmd_pay_currency; case 9: case "cmd_pay_debris_nty": return msgCmd.cmd_pay_debris_nty; case 10: case "cmd_exception_nty": return msgCmd.cmd_exception_nty; case 11: case "cmd_create_order_nty": return msgCmd.cmd_create_order_nty; case 100: case "cmd_recharge_result": return msgCmd.cmd_recharge_result; case 101: case "cmd_recharge_result_rsp": return msgCmd.cmd_recharge_result_rsp; case 1000: case "cmd_city_change": return msgCmd.cmd_city_change; case 1001: case "cmd_city_data": return msgCmd.cmd_city_data; case 1002: case "cmd_city_data_rsp": return msgCmd.cmd_city_data_rsp; case 1003: case "cmd_building_upgrade": return msgCmd.cmd_building_upgrade; case 1004: case "cmd_building_upgrade_rsp": return msgCmd.cmd_building_upgrade_rsp; case 1005: case "cmd_building_one_key": return msgCmd.cmd_building_one_key; case 1006: case "cmd_building_one_key_rsp": return msgCmd.cmd_building_one_key_rsp; case 1007: case "cmd_city_data_send": return msgCmd.cmd_city_data_send; case 1010: case "cmd_city_skill_upgrade": return msgCmd.cmd_city_skill_upgrade; case 1011: case "cmd_city_skill_upgrade_rsp": return msgCmd.cmd_city_skill_upgrade_rsp; case 1012: case "cmd_city_skill_battle": return msgCmd.cmd_city_skill_battle; case 1013: case "cmd_city_skill_battle_rsp": return msgCmd.cmd_city_skill_battle_rsp; case 1020: case "cmd_building_explore": return msgCmd.cmd_building_explore; case 1021: case "cmd_building_explore_rsp": return msgCmd.cmd_building_explore_rsp; case 1022: case "cmd_building_auto_explore_award": return msgCmd.cmd_building_auto_explore_award; case 1023: case "cmd_building_auto_explore_award_rsp": return msgCmd.cmd_building_auto_explore_award_rsp; case 1024: case "cmd_building_explore_battle": return msgCmd.cmd_building_explore_battle; case 1025: case "cmd_building_explore_battle_rsp": return msgCmd.cmd_building_explore_battle_rsp; case 1026: case "cmd_building_auto_explore_option": return msgCmd.cmd_building_auto_explore_option; case 1027: case "cmd_building_auto_explore_option_rsp": return msgCmd.cmd_building_auto_explore_option_rsp; case 1100: case "cmd_adventure_data": return msgCmd.cmd_adventure_data; case 1101: case "cmd_adventure_data_rsp": return msgCmd.cmd_adventure_data_rsp; case 1102: case "cmd_adventure_start": return msgCmd.cmd_adventure_start; case 1103: case "cmd_adventure_start_rsp": return msgCmd.cmd_adventure_start_rsp; case 1104: case "cmd_adventure_end": return msgCmd.cmd_adventure_end; case 1105: case "cmd_adventure_end_rsp": return msgCmd.cmd_adventure_end_rsp; case 1106: case "cmd_adventure_layer": return msgCmd.cmd_adventure_layer; case 1107: case "cmd_adventure_layer_rsp": return msgCmd.cmd_adventure_layer_rsp; case 1108: case "cmd_adventure_sweep": return msgCmd.cmd_adventure_sweep; case 1109: case "cmd_adventure_sweep_rsp": return msgCmd.cmd_adventure_sweep_rsp; case 1110: case "cmd_adventure_pass_award": return msgCmd.cmd_adventure_pass_award; case 1111: case "cmd_adventure_pass_award_rsp": return msgCmd.cmd_adventure_pass_award_rsp; case 1112: case "cmd_adventure_ad_award": return msgCmd.cmd_adventure_ad_award; case 1113: case "cmd_adventure_ad_award_rsp": return msgCmd.cmd_adventure_ad_award_rsp; case 1114: case "cmd_adventure_trial": return msgCmd.cmd_adventure_trial; case 1115: case "cmd_adventure_trial_rsp": return msgCmd.cmd_adventure_trial_rsp; case 1200: case "cmd_get_mail": return msgCmd.cmd_get_mail; case 1201: case "cmd_get_mail_rsp": return msgCmd.cmd_get_mail_rsp; case 1202: case "cmd_get_mail_goods": return msgCmd.cmd_get_mail_goods; case 1203: case "cmd_get_mail_goods_rsp": return msgCmd.cmd_get_mail_goods_rsp; case 1204: case "cmd_del_mail": return msgCmd.cmd_del_mail; case 1205: case "cmd_del_mail_rsp": return msgCmd.cmd_del_mail_rsp; case 1206: case "cmd_flag_mail": return msgCmd.cmd_flag_mail; case 1207: case "cmd_flag_mail_rsp": return msgCmd.cmd_flag_mail_rsp; case 1208: case "cmd_send_mail": return msgCmd.cmd_send_mail; case 1209: case "cmd_simple_mail": return msgCmd.cmd_simple_mail; case 1300: case "cmd_embattle_get_data": return msgCmd.cmd_embattle_get_data; case 1301: case "cmd_embattle_get_data_rsp": return msgCmd.cmd_embattle_get_data_rsp; case 1302: case "cmd_embattle_battle": return msgCmd.cmd_embattle_battle; case 1303: case "cmd_embattle_battle_rsp": return msgCmd.cmd_embattle_battle_rsp; case 1400: case "cmd_hero_get_data": return msgCmd.cmd_hero_get_data; case 1401: case "cmd_hero_get_data_rsp": return msgCmd.cmd_hero_get_data_rsp; case 1402: case "cmd_hero_upgrade": return msgCmd.cmd_hero_upgrade; case 1403: case "cmd_hero_upgrade_rsp": return msgCmd.cmd_hero_upgrade_rsp; case 1404: case "cmd_hero_upgrade_star": return msgCmd.cmd_hero_upgrade_star; case 1405: case "cmd_hero_upgrade_star_rsp": return msgCmd.cmd_hero_upgrade_star_rsp; case 1406: case "cmd_hero_onekey_upgrade_star": return msgCmd.cmd_hero_onekey_upgrade_star; case 1407: case "cmd_hero_onekey_upgrade_star_rsp": return msgCmd.cmd_hero_onekey_upgrade_star_rsp; case 1408: case "cmd_hero_reset": return msgCmd.cmd_hero_reset; case 1409: case "cmd_hero_reset_rsp": return msgCmd.cmd_hero_reset_rsp; case 1410: case "cmd_hero_wear_equip": return msgCmd.cmd_hero_wear_equip; case 1411: case "cmd_hero_wear_equip_rsp": return msgCmd.cmd_hero_wear_equip_rsp; case 1450: case "cmd_hero_change_nty": return msgCmd.cmd_hero_change_nty; case 1500: case "cmd_skill_card_get_data": return msgCmd.cmd_skill_card_get_data; case 1501: case "cmd_skill_card_get_data_rsp": return msgCmd.cmd_skill_card_get_data_rsp; case 1502: case "cmd_skill_card_upgrade": return msgCmd.cmd_skill_card_upgrade; case 1503: case "cmd_skill_card_upgrade_rsp": return msgCmd.cmd_skill_card_upgrade_rsp; case 1504: case "cmd_skill_card_upgrade_star": return msgCmd.cmd_skill_card_upgrade_star; case 1505: case "cmd_skill_card_upgrade_star_rsp": return msgCmd.cmd_skill_card_upgrade_star_rsp; case 1600: case "cmd_role_get_data": return msgCmd.cmd_role_get_data; case 1601: case "cmd_role_get_data_rsp": return msgCmd.cmd_role_get_data_rsp; case 1602: case "cmd_role_upgrade": return msgCmd.cmd_role_upgrade; case 1603: case "cmd_role_upgrade_rsp": return msgCmd.cmd_role_upgrade_rsp; case 1604: case "cmd_role_rename": return msgCmd.cmd_role_rename; case 1605: case "cmd_role_rename_rsp": return msgCmd.cmd_role_rename_rsp; case 1700: case "cmd_equip_get_data": return msgCmd.cmd_equip_get_data; case 1701: case "cmd_equip_get_data_rsp": return msgCmd.cmd_equip_get_data_rsp; case 1702: case "cmd_equip_upgrade": return msgCmd.cmd_equip_upgrade; case 1703: case "cmd_equip_upgrade_rsp": return msgCmd.cmd_equip_upgrade_rsp; case 1704: case "cmd_equip_upgrade_star": return msgCmd.cmd_equip_upgrade_star; case 1705: case "cmd_equip_upgrade_star_rsp": return msgCmd.cmd_equip_upgrade_star_rsp; case 1706: case "cmd_equip_onekey_upgrade_star": return msgCmd.cmd_equip_onekey_upgrade_star; case 1707: case "cmd_equip_onekey_upgrade_star_rsp": return msgCmd.cmd_equip_onekey_upgrade_star_rsp; case 1708: case "cmd_equip_reset": return msgCmd.cmd_equip_reset; case 1709: case "cmd_equip_reset_rsp": return msgCmd.cmd_equip_reset_rsp; case 1750: case "cmd_equip_change_nty": return msgCmd.cmd_equip_change_nty; case 1800: case "cmd_debris_get_data": return msgCmd.cmd_debris_get_data; case 1801: case "cmd_debris_get_data_rsp": return msgCmd.cmd_debris_get_data_rsp; case 1802: case "cmd_debris_merge": return msgCmd.cmd_debris_merge; case 1803: case "cmd_debris_merge_rsp": return msgCmd.cmd_debris_merge_rsp; case 1900: case "cmd_talent_get_data": return msgCmd.cmd_talent_get_data; case 1901: case "cmd_talent_get_data_rsp": return msgCmd.cmd_talent_get_data_rsp; case 1902: case "cmd_talent_activate": return msgCmd.cmd_talent_activate; case 1903: case "cmd_talent_activate_rsp": return msgCmd.cmd_talent_activate_rsp; case 2000: case "cmd_sign_in_get_data": return msgCmd.cmd_sign_in_get_data; case 2001: case "cmd_sign_in_get_data_rsp": return msgCmd.cmd_sign_in_get_data_rsp; case 2002: case "cmd_sign_in_award": return msgCmd.cmd_sign_in_award; case 2003: case "cmd_sign_in_award_rsp": return msgCmd.cmd_sign_in_award_rsp; case 2004: case "cmd_sign_in_nty": return msgCmd.cmd_sign_in_nty; case 2100: case "cmd_quest_get_data": return msgCmd.cmd_quest_get_data; case 2101: case "cmd_quest_get_data_rsp": return msgCmd.cmd_quest_get_data_rsp; case 2102: case "cmd_quest_get_award": return msgCmd.cmd_quest_get_award; case 2103: case "cmd_quest_get_award_rsp": return msgCmd.cmd_quest_get_award_rsp; case 2104: case "cmd_quest_active_award": return msgCmd.cmd_quest_active_award; case 2105: case "cmd_quest_active_award_rsp": return msgCmd.cmd_quest_active_award_rsp; case 2150: case "cmd_quest_cmplate_notify": return msgCmd.cmd_quest_cmplate_notify; case 2200: case "cmd_manual_get_data": return msgCmd.cmd_manual_get_data; case 2201: case "cmd_manual_get_data_rsp": return msgCmd.cmd_manual_get_data_rsp; case 2202: case "cmd_manual_buy_exp": return msgCmd.cmd_manual_buy_exp; case 2203: case "cmd_manual_buy_exp_rsp": return msgCmd.cmd_manual_buy_exp_rsp; case 2204: case "cmd_manual_get_award": return msgCmd.cmd_manual_get_award; case 2205: case "cmd_manual_get_award_rsp": return msgCmd.cmd_manual_get_award_rsp; case 2206: case "cmd_manual_buy": return msgCmd.cmd_manual_buy; case 2207: case "cmd_manual_buy_rsp": return msgCmd.cmd_manual_buy_rsp; case 2250: case "cmd_manual_notify": return msgCmd.cmd_manual_notify; case 2300: case "cmd_draw": return msgCmd.cmd_draw; case 2301: case "cmd_draw_rsp": return msgCmd.cmd_draw_rsp; case 2302: case "cmd_draw_get_data": return msgCmd.cmd_draw_get_data; case 2303: case "cmd_draw_get_data_rsp": return msgCmd.cmd_draw_get_data_rsp; case 2400: case "cmd_shop_data": return msgCmd.cmd_shop_data; case 2401: case "cmd_shop_data_rsp": return msgCmd.cmd_shop_data_rsp; case 2402: case "cmd_shop_buy": return msgCmd.cmd_shop_buy; case 2403: case "cmd_shop_buy_rsp": return msgCmd.cmd_shop_buy_rsp; case 2450: case "cmd_shop_notify": return msgCmd.cmd_shop_notify; case 2501: case "cmd_ranking_data": return msgCmd.cmd_ranking_data; case 2502: case "cmd_ranking_data_rsp": return msgCmd.cmd_ranking_data_rsp; case 2601: case "cmd_grocery_data": return msgCmd.cmd_grocery_data; case 2602: case "cmd_grocery_data_rsp": return msgCmd.cmd_grocery_data_rsp; case 2603: case "cmd_grocery_buy": return msgCmd.cmd_grocery_buy; case 2604: case "cmd_grocery_buy_rsp": return msgCmd.cmd_grocery_buy_rsp; case 2605: case "cmd_box_get_award": return msgCmd.cmd_box_get_award; case 2606: case "cmd_box_get_award_rsp": return msgCmd.cmd_box_get_award_rsp; case 2701: case "cmd_altar_data": return msgCmd.cmd_altar_data; case 2702: case "cmd_altar_data_rsp": return msgCmd.cmd_altar_data_rsp; case 2703: case "cmd_altar_battle": return msgCmd.cmd_altar_battle; case 2704: case "cmd_altar_battle_rsp": return msgCmd.cmd_altar_battle_rsp; case 2705: case "cmd_altar_exchange": return msgCmd.cmd_altar_exchange; case 2706: case "cmd_altar_exchange_rsp": return msgCmd.cmd_altar_exchange_rsp; case 2707: case "cmd_altar_exchange_confirm": return msgCmd.cmd_altar_exchange_confirm; case 2708: case "cmd_altar_exchange_confirm_rsp": return msgCmd.cmd_altar_exchange_confirm_rsp; case 2709: case "cmd_altar_buy_battle_space": return msgCmd.cmd_altar_buy_battle_space; case 2710: case "cmd_altar_buy_battle_space_rsp": return msgCmd.cmd_altar_buy_battle_space_rsp; case 2711: case "cmd_altar_reset_cd": return msgCmd.cmd_altar_reset_cd; case 2712: case "cmd_altar_reset_cd_rsp": return msgCmd.cmd_altar_reset_cd_rsp; case 2801: case "cmd_relic_data": return msgCmd.cmd_relic_data; case 2802: case "cmd_relic_data_rsp": return msgCmd.cmd_relic_data_rsp; case 2803: case "cmd_relic_next_pos": return msgCmd.cmd_relic_next_pos; case 2804: case "cmd_relic_next_pos_rsp": return msgCmd.cmd_relic_next_pos_rsp; case 2805: case "cmd_relic_next_layer": return msgCmd.cmd_relic_next_layer; case 2806: case "cmd_relic_next_layer_rsp": return msgCmd.cmd_relic_next_layer_rsp; case 2807: case "cmd_relic_select_buff": return msgCmd.cmd_relic_select_buff; case 2808: case "cmd_relic_select_buff_rsp": return msgCmd.cmd_relic_select_buff_rsp; case 2809: case "cmd_relic_reset": return msgCmd.cmd_relic_reset; case 2810: case "cmd_relic_reset_rsp": return msgCmd.cmd_relic_reset_rsp; case 2811: case "cmd_relic_event_select": return msgCmd.cmd_relic_event_select; case 2812: case "cmd_relic_event_select_rsp": return msgCmd.cmd_relic_event_select_rsp; case 2850: case "cmd_relic_event_nty": return msgCmd.cmd_relic_event_nty; case 2851: case "cmd_relic_data_nty": return msgCmd.cmd_relic_data_nty; case 2900: case "cmd_activity_get_conf_list": return msgCmd.cmd_activity_get_conf_list; case 2901: case "cmd_activity_get_conf_list_rsp": return msgCmd.cmd_activity_get_conf_list_rsp; case 2950: case "cmd_activity_time_list_nty": return msgCmd.cmd_activity_time_list_nty; case 2951: case "cmd_activity_get_conf_nty": return msgCmd.cmd_activity_get_conf_nty; case 3000: case "cmd_privilege_card_data": return msgCmd.cmd_privilege_card_data; case 3001: case "cmd_privilege_card_data_rsp": return msgCmd.cmd_privilege_card_data_rsp; case 3002: case "cmd_privilege_card_buy": return msgCmd.cmd_privilege_card_buy; case 3003: case "cmd_privilege_card_buy_rsp": return msgCmd.cmd_privilege_card_buy_rsp; case 3004: case "cmd_privilege_card_award": return msgCmd.cmd_privilege_card_award; case 3005: case "cmd_privilege_card_award_rsp": return msgCmd.cmd_privilege_card_award_rsp; case 3050: case "cmd_privilege_card_unlock_nty": return msgCmd.cmd_privilege_card_unlock_nty; case 3100: case "cmd_first_recharge_data": return msgCmd.cmd_first_recharge_data; case 3101: case "cmd_first_recharge_data_rsp": return msgCmd.cmd_first_recharge_data_rsp; case 3102: case "cmd_first_recharge_buy": return msgCmd.cmd_first_recharge_buy; case 3103: case "cmd_first_recharge_buy_rsp": return msgCmd.cmd_first_recharge_buy_rsp; case 3104: case "cmd_first_recharge_award": return msgCmd.cmd_first_recharge_award; case 3105: case "cmd_first_recharge_award_rsp": return msgCmd.cmd_first_recharge_award_rsp; case 3150: case "cmd_first_recharge_nty": return msgCmd.cmd_first_recharge_nty; case 3200: case "cmd_daily_dungeons_data": return msgCmd.cmd_daily_dungeons_data; case 3201: case "cmd_daily_dungeons_data_rsp": return msgCmd.cmd_daily_dungeons_data_rsp; case 3202: case "cmd_daily_dungeons_start": return msgCmd.cmd_daily_dungeons_start; case 3203: case "cmd_daily_dungeons_start_rsp": return msgCmd.cmd_daily_dungeons_start_rsp; case 3204: case "cmd_daily_dungeons_end": return msgCmd.cmd_daily_dungeons_end; case 3205: case "cmd_daily_dungeons_end_rsp": return msgCmd.cmd_daily_dungeons_end_rsp; case 3206: case "cmd_daily_dungeons_sweep": return msgCmd.cmd_daily_dungeons_sweep; case 3207: case "cmd_daily_dungeons_sweep_rsp": return msgCmd.cmd_daily_dungeons_sweep_rsp; case 3300: case "cmd_adv_gift_data": return msgCmd.cmd_adv_gift_data; case 3301: case "cmd_adv_gift_data_rsp": return msgCmd.cmd_adv_gift_data_rsp; case 3302: case "cmd_adv_gift_buy": return msgCmd.cmd_adv_gift_buy; case 3303: case "cmd_adv_gift_buy_rsp": return msgCmd.cmd_adv_gift_buy_rsp; case 3350: case "cmd_adv_gift_nty": return msgCmd.cmd_adv_gift_nty; case 3400: case "cmd_pop_gift_data": return msgCmd.cmd_pop_gift_data; case 3401: case "cmd_pop_gift_data_rsp": return msgCmd.cmd_pop_gift_data_rsp; case 3402: case "cmd_pop_gift_buy": return msgCmd.cmd_pop_gift_buy; case 3403: case "cmd_pop_gift_buy_rsp": return msgCmd.cmd_pop_gift_buy_rsp; case 3450: case "cmd_pop_gift_nty": return msgCmd.cmd_pop_gift_nty; case 3451: case "cmd_pop_gift_change_nty": return msgCmd.cmd_pop_gift_change_nty; case 3500: case "cmd_fund_data": return msgCmd.cmd_fund_data; case 3501: case "cmd_fund_data_rsp": return msgCmd.cmd_fund_data_rsp; case 3502: case "cmd_fund_buy": return msgCmd.cmd_fund_buy; case 3503: case "cmd_fund_buy_rsp": return msgCmd.cmd_fund_buy_rsp; case 3504: case "cmd_fund_award": return msgCmd.cmd_fund_award; case 3505: case "cmd_fund_award_rsp": return msgCmd.cmd_fund_award_rsp; case 3550: case "cmd_fund_nty": return msgCmd.cmd_fund_nty; case 3600: case "cmd_keep_recharge_data": return msgCmd.cmd_keep_recharge_data; case 3601: case "cmd_keep_recharge_data_rsp": return msgCmd.cmd_keep_recharge_data_rsp; case 3602: case "cmd_keep_recharge_award": return msgCmd.cmd_keep_recharge_award; case 3603: case "cmd_keep_recharge_award_rsp": return msgCmd.cmd_keep_recharge_award_rsp; case 3710: case "cmd_get_red_point_list": return msgCmd.cmd_get_red_point_list; case 3711: case "cmd_get_red_point_list_rsp": return msgCmd.cmd_get_red_point_list_rsp; case 3800: case "cmd_online_award_get_award": return msgCmd.cmd_online_award_get_award; case 3801: case "cmd_online_award_get_award_rsp": return msgCmd.cmd_online_award_get_award_rsp; case 3802: case "cmd_online_award_get_data": return msgCmd.cmd_online_award_get_data; case 3803: case "cmd_online_award_get_data_rsp": return msgCmd.cmd_online_award_get_data_rsp; case 3850: case "cmd_online_award_nty": return msgCmd.cmd_online_award_nty; case 3900: case "cmd_speed_up_data": return msgCmd.cmd_speed_up_data; case 3901: case "cmd_speed_up_data_rsp": return msgCmd.cmd_speed_up_data_rsp; case 3902: case "cmd_speed_up_buy": return msgCmd.cmd_speed_up_buy; case 3903: case "cmd_speed_up_buy_rsp": return msgCmd.cmd_speed_up_buy_rsp; case 4000: case "cmd_level_gift_data": return msgCmd.cmd_level_gift_data; case 4001: case "cmd_level_gift_data_rsp": return msgCmd.cmd_level_gift_data_rsp; case 4002: case "cmd_level_gift_buy": return msgCmd.cmd_level_gift_buy; case 4003: case "cmd_level_gift_buy_rsp": return msgCmd.cmd_level_gift_buy_rsp; case 4004: case "cmd_level_gift_del_red_point": return msgCmd.cmd_level_gift_del_red_point; case 4005: case "cmd_level_gift_del_red_point_rsp": return msgCmd.cmd_level_gift_del_red_point_rsp; case 4050: case "cmd_level_gift_nty": return msgCmd.cmd_level_gift_nty; case 4100: case "cmd_lottery_data": return msgCmd.cmd_lottery_data; case 4101: case "cmd_lottery_data_rsp": return msgCmd.cmd_lottery_data_rsp; case 4102: case "cmd_lottery_award": return msgCmd.cmd_lottery_award; case 4103: case "cmd_lottery_award_rsp": return msgCmd.cmd_lottery_award_rsp; case 4104: case "cmd_lottery_buy": return msgCmd.cmd_lottery_buy; case 4105: case "cmd_lottery_buy_rsp": return msgCmd.cmd_lottery_buy_rsp; case 4150: case "cmd_lottery_nty": return msgCmd.cmd_lottery_nty; case 4200: case "cmd_act_rank_data": return msgCmd.cmd_act_rank_data; case 4201: case "cmd_act_rank_data_rsp": return msgCmd.cmd_act_rank_data_rsp; case 4300: case "cmd_treasure_get_data": return msgCmd.cmd_treasure_get_data; case 4301: case "cmd_treasure_get_data_rsp": return msgCmd.cmd_treasure_get_data_rsp; case 4302: case "cmd_treasure_draw": return msgCmd.cmd_treasure_draw; case 4303: case "cmd_treasure_draw_rsp": return msgCmd.cmd_treasure_draw_rsp; case 4304: case "cmd_treasure_sign": return msgCmd.cmd_treasure_sign; case 4305: case "cmd_treasure_sign_rsp": return msgCmd.cmd_treasure_sign_rsp; case 4306: case "cmd_treasure_buy": return msgCmd.cmd_treasure_buy; case 4307: case "cmd_treasure_buy_rsp": return msgCmd.cmd_treasure_buy_rsp; case -1: case "UNRECOGNIZED": default: return msgCmd.UNRECOGNIZED; } } export function msgCmdToJSON(object: msgCmd): string { switch (object) { case msgCmd.cmd_ping: return "cmd_ping"; case msgCmd.cmd_ping_rsp: return "cmd_ping_rsp"; case msgCmd.cmd_login: return "cmd_login"; case msgCmd.cmd_login_rsp: return "cmd_login_rsp"; case msgCmd.cmd_create: return "cmd_create"; case msgCmd.cmd_create_rsp: return "cmd_create_rsp"; case msgCmd.cmd_reward_info: return "cmd_reward_info"; case msgCmd.cmd_user: return "cmd_user"; case msgCmd.cmd_pay_currency: return "cmd_pay_currency"; case msgCmd.cmd_pay_debris_nty: return "cmd_pay_debris_nty"; case msgCmd.cmd_exception_nty: return "cmd_exception_nty"; case msgCmd.cmd_create_order_nty: return "cmd_create_order_nty"; case msgCmd.cmd_recharge_result: return "cmd_recharge_result"; case msgCmd.cmd_recharge_result_rsp: return "cmd_recharge_result_rsp"; case msgCmd.cmd_city_change: return "cmd_city_change"; case msgCmd.cmd_city_data: return "cmd_city_data"; case msgCmd.cmd_city_data_rsp: return "cmd_city_data_rsp"; case msgCmd.cmd_building_upgrade: return "cmd_building_upgrade"; case msgCmd.cmd_building_upgrade_rsp: return "cmd_building_upgrade_rsp"; case msgCmd.cmd_building_one_key: return "cmd_building_one_key"; case msgCmd.cmd_building_one_key_rsp: return "cmd_building_one_key_rsp"; case msgCmd.cmd_city_data_send: return "cmd_city_data_send"; case msgCmd.cmd_city_skill_upgrade: return "cmd_city_skill_upgrade"; case msgCmd.cmd_city_skill_upgrade_rsp: return "cmd_city_skill_upgrade_rsp"; case msgCmd.cmd_city_skill_battle: return "cmd_city_skill_battle"; case msgCmd.cmd_city_skill_battle_rsp: return "cmd_city_skill_battle_rsp"; case msgCmd.cmd_building_explore: return "cmd_building_explore"; case msgCmd.cmd_building_explore_rsp: return "cmd_building_explore_rsp"; case msgCmd.cmd_building_auto_explore_award: return "cmd_building_auto_explore_award"; case msgCmd.cmd_building_auto_explore_award_rsp: return "cmd_building_auto_explore_award_rsp"; case msgCmd.cmd_building_explore_battle: return "cmd_building_explore_battle"; case msgCmd.cmd_building_explore_battle_rsp: return "cmd_building_explore_battle_rsp"; case msgCmd.cmd_building_auto_explore_option: return "cmd_building_auto_explore_option"; case msgCmd.cmd_building_auto_explore_option_rsp: return "cmd_building_auto_explore_option_rsp"; case msgCmd.cmd_adventure_data: return "cmd_adventure_data"; case msgCmd.cmd_adventure_data_rsp: return "cmd_adventure_data_rsp"; case msgCmd.cmd_adventure_start: return "cmd_adventure_start"; case msgCmd.cmd_adventure_start_rsp: return "cmd_adventure_start_rsp"; case msgCmd.cmd_adventure_end: return "cmd_adventure_end"; case msgCmd.cmd_adventure_end_rsp: return "cmd_adventure_end_rsp"; case msgCmd.cmd_adventure_layer: return "cmd_adventure_layer"; case msgCmd.cmd_adventure_layer_rsp: return "cmd_adventure_layer_rsp"; case msgCmd.cmd_adventure_sweep: return "cmd_adventure_sweep"; case msgCmd.cmd_adventure_sweep_rsp: return "cmd_adventure_sweep_rsp"; case msgCmd.cmd_adventure_pass_award: return "cmd_adventure_pass_award"; case msgCmd.cmd_adventure_pass_award_rsp: return "cmd_adventure_pass_award_rsp"; case msgCmd.cmd_adventure_ad_award: return "cmd_adventure_ad_award"; case msgCmd.cmd_adventure_ad_award_rsp: return "cmd_adventure_ad_award_rsp"; case msgCmd.cmd_adventure_trial: return "cmd_adventure_trial"; case msgCmd.cmd_adventure_trial_rsp: return "cmd_adventure_trial_rsp"; case msgCmd.cmd_get_mail: return "cmd_get_mail"; case msgCmd.cmd_get_mail_rsp: return "cmd_get_mail_rsp"; case msgCmd.cmd_get_mail_goods: return "cmd_get_mail_goods"; case msgCmd.cmd_get_mail_goods_rsp: return "cmd_get_mail_goods_rsp"; case msgCmd.cmd_del_mail: return "cmd_del_mail"; case msgCmd.cmd_del_mail_rsp: return "cmd_del_mail_rsp"; case msgCmd.cmd_flag_mail: return "cmd_flag_mail"; case msgCmd.cmd_flag_mail_rsp: return "cmd_flag_mail_rsp"; case msgCmd.cmd_send_mail: return "cmd_send_mail"; case msgCmd.cmd_simple_mail: return "cmd_simple_mail"; case msgCmd.cmd_embattle_get_data: return "cmd_embattle_get_data"; case msgCmd.cmd_embattle_get_data_rsp: return "cmd_embattle_get_data_rsp"; case msgCmd.cmd_embattle_battle: return "cmd_embattle_battle"; case msgCmd.cmd_embattle_battle_rsp: return "cmd_embattle_battle_rsp"; case msgCmd.cmd_hero_get_data: return "cmd_hero_get_data"; case msgCmd.cmd_hero_get_data_rsp: return "cmd_hero_get_data_rsp"; case msgCmd.cmd_hero_upgrade: return "cmd_hero_upgrade"; case msgCmd.cmd_hero_upgrade_rsp: return "cmd_hero_upgrade_rsp"; case msgCmd.cmd_hero_upgrade_star: return "cmd_hero_upgrade_star"; case msgCmd.cmd_hero_upgrade_star_rsp: return "cmd_hero_upgrade_star_rsp"; case msgCmd.cmd_hero_onekey_upgrade_star: return "cmd_hero_onekey_upgrade_star"; case msgCmd.cmd_hero_onekey_upgrade_star_rsp: return "cmd_hero_onekey_upgrade_star_rsp"; case msgCmd.cmd_hero_reset: return "cmd_hero_reset"; case msgCmd.cmd_hero_reset_rsp: return "cmd_hero_reset_rsp"; case msgCmd.cmd_hero_wear_equip: return "cmd_hero_wear_equip"; case msgCmd.cmd_hero_wear_equip_rsp: return "cmd_hero_wear_equip_rsp"; case msgCmd.cmd_hero_change_nty: return "cmd_hero_change_nty"; case msgCmd.cmd_skill_card_get_data: return "cmd_skill_card_get_data"; case msgCmd.cmd_skill_card_get_data_rsp: return "cmd_skill_card_get_data_rsp"; case msgCmd.cmd_skill_card_upgrade: return "cmd_skill_card_upgrade"; case msgCmd.cmd_skill_card_upgrade_rsp: return "cmd_skill_card_upgrade_rsp"; case msgCmd.cmd_skill_card_upgrade_star: return "cmd_skill_card_upgrade_star"; case msgCmd.cmd_skill_card_upgrade_star_rsp: return "cmd_skill_card_upgrade_star_rsp"; case msgCmd.cmd_role_get_data: return "cmd_role_get_data"; case msgCmd.cmd_role_get_data_rsp: return "cmd_role_get_data_rsp"; case msgCmd.cmd_role_upgrade: return "cmd_role_upgrade"; case msgCmd.cmd_role_upgrade_rsp: return "cmd_role_upgrade_rsp"; case msgCmd.cmd_role_rename: return "cmd_role_rename"; case msgCmd.cmd_role_rename_rsp: return "cmd_role_rename_rsp"; case msgCmd.cmd_equip_get_data: return "cmd_equip_get_data"; case msgCmd.cmd_equip_get_data_rsp: return "cmd_equip_get_data_rsp"; case msgCmd.cmd_equip_upgrade: return "cmd_equip_upgrade"; case msgCmd.cmd_equip_upgrade_rsp: return "cmd_equip_upgrade_rsp"; case msgCmd.cmd_equip_upgrade_star: return "cmd_equip_upgrade_star"; case msgCmd.cmd_equip_upgrade_star_rsp: return "cmd_equip_upgrade_star_rsp"; case msgCmd.cmd_equip_onekey_upgrade_star: return "cmd_equip_onekey_upgrade_star"; case msgCmd.cmd_equip_onekey_upgrade_star_rsp: return "cmd_equip_onekey_upgrade_star_rsp"; case msgCmd.cmd_equip_reset: return "cmd_equip_reset"; case msgCmd.cmd_equip_reset_rsp: return "cmd_equip_reset_rsp"; case msgCmd.cmd_equip_change_nty: return "cmd_equip_change_nty"; case msgCmd.cmd_debris_get_data: return "cmd_debris_get_data"; case msgCmd.cmd_debris_get_data_rsp: return "cmd_debris_get_data_rsp"; case msgCmd.cmd_debris_merge: return "cmd_debris_merge"; case msgCmd.cmd_debris_merge_rsp: return "cmd_debris_merge_rsp"; case msgCmd.cmd_talent_get_data: return "cmd_talent_get_data"; case msgCmd.cmd_talent_get_data_rsp: return "cmd_talent_get_data_rsp"; case msgCmd.cmd_talent_activate: return "cmd_talent_activate"; case msgCmd.cmd_talent_activate_rsp: return "cmd_talent_activate_rsp"; case msgCmd.cmd_sign_in_get_data: return "cmd_sign_in_get_data"; case msgCmd.cmd_sign_in_get_data_rsp: return "cmd_sign_in_get_data_rsp"; case msgCmd.cmd_sign_in_award: return "cmd_sign_in_award"; case msgCmd.cmd_sign_in_award_rsp: return "cmd_sign_in_award_rsp"; case msgCmd.cmd_sign_in_nty: return "cmd_sign_in_nty"; case msgCmd.cmd_quest_get_data: return "cmd_quest_get_data"; case msgCmd.cmd_quest_get_data_rsp: return "cmd_quest_get_data_rsp"; case msgCmd.cmd_quest_get_award: return "cmd_quest_get_award"; case msgCmd.cmd_quest_get_award_rsp: return "cmd_quest_get_award_rsp"; case msgCmd.cmd_quest_active_award: return "cmd_quest_active_award"; case msgCmd.cmd_quest_active_award_rsp: return "cmd_quest_active_award_rsp"; case msgCmd.cmd_quest_cmplate_notify: return "cmd_quest_cmplate_notify"; case msgCmd.cmd_manual_get_data: return "cmd_manual_get_data"; case msgCmd.cmd_manual_get_data_rsp: return "cmd_manual_get_data_rsp"; case msgCmd.cmd_manual_buy_exp: return "cmd_manual_buy_exp"; case msgCmd.cmd_manual_buy_exp_rsp: return "cmd_manual_buy_exp_rsp"; case msgCmd.cmd_manual_get_award: return "cmd_manual_get_award"; case msgCmd.cmd_manual_get_award_rsp: return "cmd_manual_get_award_rsp"; case msgCmd.cmd_manual_buy: return "cmd_manual_buy"; case msgCmd.cmd_manual_buy_rsp: return "cmd_manual_buy_rsp"; case msgCmd.cmd_manual_notify: return "cmd_manual_notify"; case msgCmd.cmd_draw: return "cmd_draw"; case msgCmd.cmd_draw_rsp: return "cmd_draw_rsp"; case msgCmd.cmd_draw_get_data: return "cmd_draw_get_data"; case msgCmd.cmd_draw_get_data_rsp: return "cmd_draw_get_data_rsp"; case msgCmd.cmd_shop_data: return "cmd_shop_data"; case msgCmd.cmd_shop_data_rsp: return "cmd_shop_data_rsp"; case msgCmd.cmd_shop_buy: return "cmd_shop_buy"; case msgCmd.cmd_shop_buy_rsp: return "cmd_shop_buy_rsp"; case msgCmd.cmd_shop_notify: return "cmd_shop_notify"; case msgCmd.cmd_ranking_data: return "cmd_ranking_data"; case msgCmd.cmd_ranking_data_rsp: return "cmd_ranking_data_rsp"; case msgCmd.cmd_grocery_data: return "cmd_grocery_data"; case msgCmd.cmd_grocery_data_rsp: return "cmd_grocery_data_rsp"; case msgCmd.cmd_grocery_buy: return "cmd_grocery_buy"; case msgCmd.cmd_grocery_buy_rsp: return "cmd_grocery_buy_rsp"; case msgCmd.cmd_box_get_award: return "cmd_box_get_award"; case msgCmd.cmd_box_get_award_rsp: return "cmd_box_get_award_rsp"; case msgCmd.cmd_altar_data: return "cmd_altar_data"; case msgCmd.cmd_altar_data_rsp: return "cmd_altar_data_rsp"; case msgCmd.cmd_altar_battle: return "cmd_altar_battle"; case msgCmd.cmd_altar_battle_rsp: return "cmd_altar_battle_rsp"; case msgCmd.cmd_altar_exchange: return "cmd_altar_exchange"; case msgCmd.cmd_altar_exchange_rsp: return "cmd_altar_exchange_rsp"; case msgCmd.cmd_altar_exchange_confirm: return "cmd_altar_exchange_confirm"; case msgCmd.cmd_altar_exchange_confirm_rsp: return "cmd_altar_exchange_confirm_rsp"; case msgCmd.cmd_altar_buy_battle_space: return "cmd_altar_buy_battle_space"; case msgCmd.cmd_altar_buy_battle_space_rsp: return "cmd_altar_buy_battle_space_rsp"; case msgCmd.cmd_altar_reset_cd: return "cmd_altar_reset_cd"; case msgCmd.cmd_altar_reset_cd_rsp: return "cmd_altar_reset_cd_rsp"; case msgCmd.cmd_relic_data: return "cmd_relic_data"; case msgCmd.cmd_relic_data_rsp: return "cmd_relic_data_rsp"; case msgCmd.cmd_relic_next_pos: return "cmd_relic_next_pos"; case msgCmd.cmd_relic_next_pos_rsp: return "cmd_relic_next_pos_rsp"; case msgCmd.cmd_relic_next_layer: return "cmd_relic_next_layer"; case msgCmd.cmd_relic_next_layer_rsp: return "cmd_relic_next_layer_rsp"; case msgCmd.cmd_relic_select_buff: return "cmd_relic_select_buff"; case msgCmd.cmd_relic_select_buff_rsp: return "cmd_relic_select_buff_rsp"; case msgCmd.cmd_relic_reset: return "cmd_relic_reset"; case msgCmd.cmd_relic_reset_rsp: return "cmd_relic_reset_rsp"; case msgCmd.cmd_relic_event_select: return "cmd_relic_event_select"; case msgCmd.cmd_relic_event_select_rsp: return "cmd_relic_event_select_rsp"; case msgCmd.cmd_relic_event_nty: return "cmd_relic_event_nty"; case msgCmd.cmd_relic_data_nty: return "cmd_relic_data_nty"; case msgCmd.cmd_activity_get_conf_list: return "cmd_activity_get_conf_list"; case msgCmd.cmd_activity_get_conf_list_rsp: return "cmd_activity_get_conf_list_rsp"; case msgCmd.cmd_activity_time_list_nty: return "cmd_activity_time_list_nty"; case msgCmd.cmd_activity_get_conf_nty: return "cmd_activity_get_conf_nty"; case msgCmd.cmd_privilege_card_data: return "cmd_privilege_card_data"; case msgCmd.cmd_privilege_card_data_rsp: return "cmd_privilege_card_data_rsp"; case msgCmd.cmd_privilege_card_buy: return "cmd_privilege_card_buy"; case msgCmd.cmd_privilege_card_buy_rsp: return "cmd_privilege_card_buy_rsp"; case msgCmd.cmd_privilege_card_award: return "cmd_privilege_card_award"; case msgCmd.cmd_privilege_card_award_rsp: return "cmd_privilege_card_award_rsp"; case msgCmd.cmd_privilege_card_unlock_nty: return "cmd_privilege_card_unlock_nty"; case msgCmd.cmd_first_recharge_data: return "cmd_first_recharge_data"; case msgCmd.cmd_first_recharge_data_rsp: return "cmd_first_recharge_data_rsp"; case msgCmd.cmd_first_recharge_buy: return "cmd_first_recharge_buy"; case msgCmd.cmd_first_recharge_buy_rsp: return "cmd_first_recharge_buy_rsp"; case msgCmd.cmd_first_recharge_award: return "cmd_first_recharge_award"; case msgCmd.cmd_first_recharge_award_rsp: return "cmd_first_recharge_award_rsp"; case msgCmd.cmd_first_recharge_nty: return "cmd_first_recharge_nty"; case msgCmd.cmd_daily_dungeons_data: return "cmd_daily_dungeons_data"; case msgCmd.cmd_daily_dungeons_data_rsp: return "cmd_daily_dungeons_data_rsp"; case msgCmd.cmd_daily_dungeons_start: return "cmd_daily_dungeons_start"; case msgCmd.cmd_daily_dungeons_start_rsp: return "cmd_daily_dungeons_start_rsp"; case msgCmd.cmd_daily_dungeons_end: return "cmd_daily_dungeons_end"; case msgCmd.cmd_daily_dungeons_end_rsp: return "cmd_daily_dungeons_end_rsp"; case msgCmd.cmd_daily_dungeons_sweep: return "cmd_daily_dungeons_sweep"; case msgCmd.cmd_daily_dungeons_sweep_rsp: return "cmd_daily_dungeons_sweep_rsp"; case msgCmd.cmd_adv_gift_data: return "cmd_adv_gift_data"; case msgCmd.cmd_adv_gift_data_rsp: return "cmd_adv_gift_data_rsp"; case msgCmd.cmd_adv_gift_buy: return "cmd_adv_gift_buy"; case msgCmd.cmd_adv_gift_buy_rsp: return "cmd_adv_gift_buy_rsp"; case msgCmd.cmd_adv_gift_nty: return "cmd_adv_gift_nty"; case msgCmd.cmd_pop_gift_data: return "cmd_pop_gift_data"; case msgCmd.cmd_pop_gift_data_rsp: return "cmd_pop_gift_data_rsp"; case msgCmd.cmd_pop_gift_buy: return "cmd_pop_gift_buy"; case msgCmd.cmd_pop_gift_buy_rsp: return "cmd_pop_gift_buy_rsp"; case msgCmd.cmd_pop_gift_nty: return "cmd_pop_gift_nty"; case msgCmd.cmd_pop_gift_change_nty: return "cmd_pop_gift_change_nty"; case msgCmd.cmd_fund_data: return "cmd_fund_data"; case msgCmd.cmd_fund_data_rsp: return "cmd_fund_data_rsp"; case msgCmd.cmd_fund_buy: return "cmd_fund_buy"; case msgCmd.cmd_fund_buy_rsp: return "cmd_fund_buy_rsp"; case msgCmd.cmd_fund_award: return "cmd_fund_award"; case msgCmd.cmd_fund_award_rsp: return "cmd_fund_award_rsp"; case msgCmd.cmd_fund_nty: return "cmd_fund_nty"; case msgCmd.cmd_keep_recharge_data: return "cmd_keep_recharge_data"; case msgCmd.cmd_keep_recharge_data_rsp: return "cmd_keep_recharge_data_rsp"; case msgCmd.cmd_keep_recharge_award: return "cmd_keep_recharge_award"; case msgCmd.cmd_keep_recharge_award_rsp: return "cmd_keep_recharge_award_rsp"; case msgCmd.cmd_get_red_point_list: return "cmd_get_red_point_list"; case msgCmd.cmd_get_red_point_list_rsp: return "cmd_get_red_point_list_rsp"; case msgCmd.cmd_online_award_get_award: return "cmd_online_award_get_award"; case msgCmd.cmd_online_award_get_award_rsp: return "cmd_online_award_get_award_rsp"; case msgCmd.cmd_online_award_get_data: return "cmd_online_award_get_data"; case msgCmd.cmd_online_award_get_data_rsp: return "cmd_online_award_get_data_rsp"; case msgCmd.cmd_online_award_nty: return "cmd_online_award_nty"; case msgCmd.cmd_speed_up_data: return "cmd_speed_up_data"; case msgCmd.cmd_speed_up_data_rsp: return "cmd_speed_up_data_rsp"; case msgCmd.cmd_speed_up_buy: return "cmd_speed_up_buy"; case msgCmd.cmd_speed_up_buy_rsp: return "cmd_speed_up_buy_rsp"; case msgCmd.cmd_level_gift_data: return "cmd_level_gift_data"; case msgCmd.cmd_level_gift_data_rsp: return "cmd_level_gift_data_rsp"; case msgCmd.cmd_level_gift_buy: return "cmd_level_gift_buy"; case msgCmd.cmd_level_gift_buy_rsp: return "cmd_level_gift_buy_rsp"; case msgCmd.cmd_level_gift_del_red_point: return "cmd_level_gift_del_red_point"; case msgCmd.cmd_level_gift_del_red_point_rsp: return "cmd_level_gift_del_red_point_rsp"; case msgCmd.cmd_level_gift_nty: return "cmd_level_gift_nty"; case msgCmd.cmd_lottery_data: return "cmd_lottery_data"; case msgCmd.cmd_lottery_data_rsp: return "cmd_lottery_data_rsp"; case msgCmd.cmd_lottery_award: return "cmd_lottery_award"; case msgCmd.cmd_lottery_award_rsp: return "cmd_lottery_award_rsp"; case msgCmd.cmd_lottery_buy: return "cmd_lottery_buy"; case msgCmd.cmd_lottery_buy_rsp: return "cmd_lottery_buy_rsp"; case msgCmd.cmd_lottery_nty: return "cmd_lottery_nty"; case msgCmd.cmd_act_rank_data: return "cmd_act_rank_data"; case msgCmd.cmd_act_rank_data_rsp: return "cmd_act_rank_data_rsp"; case msgCmd.cmd_treasure_get_data: return "cmd_treasure_get_data"; case msgCmd.cmd_treasure_get_data_rsp: return "cmd_treasure_get_data_rsp"; case msgCmd.cmd_treasure_draw: return "cmd_treasure_draw"; case msgCmd.cmd_treasure_draw_rsp: return "cmd_treasure_draw_rsp"; case msgCmd.cmd_treasure_sign: return "cmd_treasure_sign"; case msgCmd.cmd_treasure_sign_rsp: return "cmd_treasure_sign_rsp"; case msgCmd.cmd_treasure_buy: return "cmd_treasure_buy"; case msgCmd.cmd_treasure_buy_rsp: return "cmd_treasure_buy_rsp"; case msgCmd.UNRECOGNIZED: default: return "UNRECOGNIZED"; } }