package com.catstudio.interstellar.net; public class CMD { // 模块类型 public static final int TYPE_USER = 1001; // 用户 public static final int TYPE_RANK = 1002; // 排行 public static final int TYPE_BROADCAST = 1004; // 广播 public static final int TYPE_AWARD = 1005; // 奖励 public static final int TYPE_MAIL = 1006; // 邮件 public static final int TYPE_SYSTEM = 1007; // 系统(不做登录验证) public static final int TYPE_TASK = 1008; // 任务 public static final int TYPE_MISSION = 1009; // 关卡 public static final int TYPE_SHOP = 1010; // 商店 public static final int TYPE_SIGNIN = 1011; // 签到 public static final int TYPE_ACTIVITY = 1012; // 活动 public static final int TYPE_CHAT = 1013; // 聊天 public static final int TYPE_GUILD = 1014; // 公会 public static final int TYPE_CODE = 1015; // 兑换码 public static final int TYPE_MAP = 1016; //地图 public static final int TYPE_PAY = 1017; //充值 public static final int C_PAY_获取充值信息 =10170001;; public static final int C_PAY_申请订单 =10170005; public static final int C_PAY_验证支付订单 =10170007; public static final int C_PAY_晶体兑换金币 =10170003;; //地图 public static final int C_MAP_GET_CELL_INFO = 10160003;//获取我所在位置的格子信息 public static final int C_MAP_REQUEST_MOVE =10160005;//请求移动 public static final int C_MAP_REQUEST_IN =10160007;//请求驻守格子 public static final int C_MAP_SEND_TEAM_INFO = 10160009;; //发送争霸地图战斗组信息 public static final int C_MAP_INIT_COMBATTEAM = 10160011;//派出化战斗组 public static final int C_MAP_CELL_OUT=10160013;//放弃格子 public static final int C_MAP_RECALL_COMBATTEAM = 10160015;//撤回战斗组 public static final int C_MAP_GETALL_TEAMCELLS =10160017;//获取所有出战队伍附近的格子 public static final int C_MAP_STTLE_WB_PVP = 10160019;//争霸pvp结算 public static final int C_MAP_START_WBFIGHT = 10160021;//开始争霸战斗 public static final int C_MAP_GET_CELLS = 10160023;//获取指定坐标的格子 public static final int C_MAP_recoverWBbili = 10160025;//回复槽位的卡片血量比 public static final int C_MAP_getAllTeamAndCells = 10160027;//获取战斗组信息和格子信息 public static final int C_MAP_newBuild = 10160029;//新建一个建筑 public static final int C_MAP_remove_build=10160031;//拆除建筑 public static final int C_MAP_use_build = 10160033;//使用建筑 public static final int C_MAP_REPAIR_TEAMSHIPS = 10160035;//维修队伍中的船 public static final int C_MAP_useSkillSpy = 10160037;//使用技能侦查 public static final int C_MAP_getMapLogs = 10160039;//获取地图日志 public static final int C_MAP_GetBaseMapAllCells = 10160041;//获取整个地图的基本信息 public static final int C_MAP_getDefReward = 10160043;//領取防御奖励 public static final int C_MAP_canReward = 10160045;//查询是否有奖励 public static final int C_MAP_seachReward = 10160057;//查询奖励详细 public static final int C_MAP_MOVE_BASE = 10160059;//移动基地 public static final int C_MAP_SETTLE_NPC_PVP=10160061;//结算 野怪pvp战斗 public static final int C_MAP_SEND_TEAM = 10160063;//移动战斗组 public static final int C_MAP_RepairMultiShips =10160065;//修理多个战舰 public static final int C_MAP_unlockNewTeam = 10160067; //解锁新战斗组 // 兑换码兑换 public static final int C_CODE_EXCHANGE = 10150001; // 兑换 // 活动 public static final int C_ACTIVITY_GET_AWARD = 10120001; // 领取活动奖励 // 公会模块 public static final int C_GUILD_CHAT_SEND = 10140001; // 发送公会消息 public static final int C_GUILD_CHAT_GET_LATEST = 10140003; // 获取最新公会聊天 public static final int C_GUILD_CHECK_GUILD_NAME = 10140005; // 检查公会名字是否已经存在 public static final int C_GUILD_ADD = 10140007; // 添加公告 public static final int C_GUILD_GET_LIST = 10140009; // 获取军团列表 public static final int C_GUILD_REQUEST_ADD = 10140011; // 请求添加一个军团 public static final int C_GUILD_HANDLE_REQUEST = 10140013; // 处理添加请求 public static final int C_GUILD_CLEAR_ADD_REQUEST = 10140015; // 清除所有军团添加请求 public static final int C_GUILD_GET_REQUEST = 10140017; // 过去所有添加请求 public static final int C_GUILD_EXIT = 10140019; // 退出军团 public static final int C_GUILD_MAKEOVER = 10140021; // 转让 public static final int C_GUILD_CHANGE_ROLE = 10140023; // 修改权限 public static final int C_GUILD_GET_MY_GUILD_INFO = 10140025; // 获取我的军团的信息 public static final int C_GUILD_CHANGE_ADDSTATE = 10140027;//改变军团接受成员的状态 public static final int C_GUILD_DELETE_MEMBER =10140029;//提出成员 public static final int C_GUILD_GET_MY_ADDREQUEST = 10140031;//获取我的请求 public static final int C_GUILD_FAFAGN_JUNXIANG = 10140033;//发放军饷 public static final int C_GUILD_LINGQU_JUNXIANG = 10140035;//领取军饷 public static final int C_GUILD_CHANGE_GUILD_AFFICHE=10140037;//改变军团公告 public static final int C_GUILD_CHANGE_RECRUIT_NOTICE=10140039;//改变招募通知 // 聊天相关 public static final int C_CHAT_SEND = 10130001; // 发送聊天 public static final int C_CHAT_GET_LATEST = 10130003; // 获取最新聊天 public static final int C_CHAT_GET_LATEST_MESSAGE = 10130007; // 获取最新公会聊天 public static final int C_CHAT_SEND_MESSAGE = 10130005; // 发送公会聊天消息 public static final int C_CHAT_GET_LATEST_TWENTY =10130009;//获得最新20条 // 排行相关 public static final int C_RANK_USERS_BY_PVP = 10020015; // 根据pvp排行获取9个用户 public static final int C_RANK_GET_PVP_TOP = 10020017; // 获取pvp排行榜前N名玩家 public static final int C_RANK_GET_FIGHT_INFO = 10020019; // 获取一个玩家的战斗信息 public static final int C_RANK_GET_BATTLE_INFO = 10020021; // 获取一个玩家的最新战报 public static final int C_RANK_GET_WAVE_TOP_NEW = 10020025; // 获取前10无尽排行榜 public static final int C_RANK_GET_ALL =10020027; //获取所有排行:无尽,天气,军团,军团成员 4中排行 // 新的发送广播2015-10-29 public static final int C_sendBroadCastMessage = 10040005; // 发送广播 public static final int C_getBroadCastMessages = 10040007; //获取最新广播 // 奖励相关 public static final int C_AWARD_VIP_LV_REWARD = 10050003; // 领取vip等级奖励 // 邮件 public static final int C_MAIL_SEND = 10060001; // 发送 public static final int C_MAIL_UPDATE = 10060003; // 更新 public static final int C_MAIL_GET = 10060005; // 获取 public static final int C_GET_SERVER_MAIL_VIEW = 10060007; // 获取服务器邮件视图,包括 public static final int C_MAIL_GET_SERVER_MAIL_ITEM = 10060009; // 领取系统邮件 public static final int C_MAIL_DELETE = 10060011; // 删除邮件 public static final int C_MAIL_LATEST_FIGHT_INFO_COUNT = 10060013; // 获取最新战报个数 // 系统相关(这个模块不做 登录验证) public static final int C_SYSTEM_GET_SERVER_TIME = 10070003; // 获取服务器时间 public static final int C_loginByKey = 10070013; // 新的登陆方法2015-10-22 // 任务相关 public static final int C_TASK_DAILY_ADD_DAI_ORD_MISS_NUM = 10080003; // 完成每日普通关卡 public static final int C_TASK_DAILY_ADD_WIN_PVP_NUM = 10080005; // 每日PVP胜利次数 public static final int C_TASK_DAILY_ADD_WIN_ORD_MIS_NUM = 10080007; // 每日关卡模式胜利次数 // 次数 public static final int C_TASK_DAILY_ADD_PVP_SUM_COUNT = 10080017; // 每日pvp胜利吃书 public static final int C_TASK_DAILY_ADD_WIN_TREA_MISS_NUM = 10080019; // 每日 // 胜利次数 public static final int C_TASK_DAILY_GET_TASK_REWARD = 10080013; // 领取每日任务奖励; public static final int C_TASK_ONCE_GET_TASK_REWARD = 10080015; // 领取一次性任务奖励 public static final int C_TASK_ONCE_SET_PASS_MISSION = 10080021; // 设置通过的关卡 public static final int C_TASK_GET_TASK_INFO =10080023; //获取任务相关信息 // 关卡相关 public static final int C_MISSION_UNLOCK_NEXT_TO_MISSION = 10090007; // 解锁下一关 public static final int C_MISSION_SWEEP = 10090013; // 关卡扫荡 public static final int C_MISSION_PLAY_MISSION_MODE = 10090015; // 开始玩游戏 public static final int C_MISSION_SET_MISSION_TEACH_STEP2 = 10090017; public static final int C_MISSION_NEW_SWEEP = 10090019;//新的扫荡 // 商店相关 public static final int C_SHOP_COMMON_SELL_CARD = 10100013; // 普通商店卖掉卡片 public static final int C_SHOP_COMMON_COIN_BUY = 10100001; // 商店普通硬币购买 public static final int C_SHOP_DARK_CRYSTAL_BUY = 10100005; // 商店黑商晶体购买碎片 public static final int C_SHOP_DARK_COIN_BUY = 10100007; // 商店黑商晶体购买碎片 public static final int C_SHOP_DARK_GET_REFRESH_COUNT = 10100009; // 添加刷新次数 public static final int C_SHOP_DARK_REFRESH = 10100011; // 刷新黑商 public static final int C_SIGNIN_TODAY_REWARD = 10110001; // 领取今天签到奖励 public static final int C_SIGNIN_YESTERDAY_REWARD = 10110002; // 领取昨天补签奖励 // 用户相关 public static final int C_USER_CHANGE_NICK = 10010005; // 修改昵称 public static final int C_USER_CHANGE_AVATAR = 10010007; // 修改头像 public static final int C_USER_GET_DATA = 10010017; // 请求用户数据 public static final int C_USER_BUY_COIN = 10010021; // 购买硬币 public static final int C_USER_LV_UP2_CARD = 10010029; // 两材料卡片升级 public static final int C_USER_LV_UP3_CARD = 10010031; // 三材料卡片升级 public static final int C_USER_PICK_COIN = 10010033; // //捡金币 public static final int C_USER_PICK_CRYSTAL = 10010035; // //捡晶体 public static final int C_USER_PICK_MATERIAL = 10010037; // //捡材料 public static final int C_USER_COMPLETION_MATERIAL = 10010039; // 补全材料 public static final int C_USER_REPAIR = 10010041; // 晶体立即修复 public static final int C_USER_PICK_PIECE = 10010045; // 捡碎片 public static final int C_USER_PICK_EQUIP = 10010049; // //捡装备 public static final int C_USER_SHIP_CARD_TO_SLOT = 10010053; // 战舰卡片拖到空槽位上 public static final int C_USER_STUDY_SKILL = 10010059; // //技能研发(学习,升级) public static final int C_USER_EQUIP_SKILL = 10010061; // //技能装备 public static final int C_USER_PUT_SHIP = 10010063; // //在阵上放战舰 public static final int C_USER_TAKE_SHIP = 10010065; // 从阵上取下战舰 public static final int C_USER_TAKE_FIGHT_SHIP = 10010067; // 从阵上取下战舰 public static final int C_USER_CHANGE_SHIP_SLOT = 10010069; // 切换当前所选战舰槽位 public static final int C_USER_COMPLETION_MATERIAL2 = 10010071; // 补全2个材料 public static final int C_USER_COMPLETION_MATERIAL3 = 10010073; // 补全3个材料 public static final int C_USER_ASSEMBLE_SHIP = 10010075; // 合成战舰 public static final int C_USER_UNLOCK_SLOT = 10010077; // 解锁新的船槽位 public static final int C_USER_SET_FLAG = 10010079; // 设置旗舰 public static final int C_USER_EQUIP_CARD_TO_SLOT = 10010081; // 装备卡片拖到槽位上 public static final int C_USER_EXCHANGE_EQUIP = 10010083; // 战舰上装备位置调换 public static final int C_USER_REMOVE_SHIP_EQUIP = 10010085; // 拆下战舰上的装备 public static final int C_USER_SETTLE_PVP = 10010087; // pvp结算 public static final int C_USER_RENAME_SHIP = 10010089; // 战舰修改名字 public static final int C_USER_SET_SHOP_TEACH_STEP = 10010091; // 商店教学 public static final int C_USER_SET_SKILL_TEACH_STEP = 10010093; // 商店教学 public static final int C_USER_SET_MISSION_TEACH_STEP = 10010095; // 关卡教学 public static final int C_USER_SET_DOCK_TEACH_STEP = 10010097; // 设置船坞教学步骤 public static final int C_USER_SET_PVPPLACE_TEACH_STEP = 10010099; // 设置pvp布阵教学 public static final int C_USER_SET_PVPPRE_TEACH_STEP = 10010101; // 设置pvp步骤教学 public static final int C_USER_SET_COOL_PLAY_TEACH_STEP = 10010103; // 设置试玩教学 public static final int C_USER_GET_OTHERS_DATA = 10010107; // 获取其他玩家的存档数据 public static final int C_USER_RESET_SKILL = 10010109; // 重置技能 public static final int C_USER_SETTLE_PVE = 10010111; // pvp结算 public static final int C_USER_SET_SLOTPROP = 10010113; // 设置船坞属性 public static final int C_USER_RECEIVE_ASSEMBLE_SHIP = 10010121; // 领取合成的战舰 public static final int C_USER_LOGINOUT = 10010123; // 注销 public static final int C_User_BEAT = 10010125; // 心跳 public static final int C_USER_CRYSTAL_GET_SHIP = 10010127; // 钻石立即领取合成战舰 public static final int C_USER_UPDATE_ASSEMBLE_TIME = 10010129; // 每隔一段时间更新剩余合成战舰时间 public static final int C_USER_SEND_PLACE_INFO = 10010131; // //向服务器发送布阵界面信息 public static final int C_USER_FINISH_TEACH_STEP = 10010134; // //胜利失败界面教学 public static final int C_USER_ASSEMBLE_TEACH_STEP = 10010137; // 合成战舰界面教学 public static final int C_USER_SHOP_BLACK_TEACHSTEP = 10010139; // 黑商界面教学 public static final int C_USER_PVP_START = 10010141; // 挑战pvp开始 public static final int setPVPPlayTeachStep = 10010143; public static final int setDailyTaskTeachStep = 10010145; // 每日任务引导 public static final int C_advertiseAwardCrystal = 10010151; // 广告奖励晶体 public static final int setPvePlayTeachStep = 10010155; public static final int C_USER_SEND_DOCK_INFOS = 10010157;//向服务器发送船坞界面信息 public static final int C_USER_changeAutoAim = 10010159;//改变自动瞄准主炮状态 //设置 弹出公告的id public static final int C_USER_setMaxAfficeID = 10010161; public static final int C_USER_sellManyCards = 10010165; /**购买体力*/ public static final int C_USER_BUY_ACTION_VALUE = 10010167; //获取最新的体力信息 public static final int C_USER_GET_CURRENT_ACTION_INFO = 10010169; /** 玩家作弊 */ public static final int C_USER_PLAYER_CHEAT = 10010191; }
命名时采用:类型+指令号,这两段来进行命名,比如类型用4位,指令再用4位,这样就用不完了。
时间: 2024-10-11 00:04:16