/* * 由SharpDevelop创建。 * 用户: Administrator * 日期: 2018-09-18 * 时间: 13:38 * * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件 */ using System; using GameData; namespace Server.Pack { /// /// 包裹协议常量 负数是全服务通用内部消息 模块号*10000+协议号 /// public class ServerPackAgreement : GamePackAgreement { /// /// 命令 /// public const int command = -1; /// /// 节点心跳 /// public const int nodeHeart = -2; /// /// 开启就节点 /// public const int openNode = -3; /// /// 关闭节点 /// public const int closeNode = -4; /// /// 游戏配置包 /// public const int gameconfigs = -5; /// /// 排队配置包 /// public const int queueconfigs = -6; /// /// 注册game /// public const int registeredGame = -7; /// /// 主管理器更换通知 /// public const int mainManagerpack = -8; ///// ///// Rpc调用 ///// ////public const int RpcCall = -9; ///// ///// Rpc回调结果 ///// ////public const int RpcResult = -10; /// /// 设置玩家的Socket /// public const int SetSocketUtil = -11; /// /// 设置游戏标签 包 /// public const int SetGameTag = -12; /// /// 解散朋友房包 /// public const int disbank = -13; /// /// 处理玩家之间的消息通信 -内部通信 /// public const int _domessage = -14; /// /// socket信息发送给配置模块存储 /// public const int SendSocketConfig = -15; /// /// 玩家的数据变化 /// public const int PlayerMemChange = -16; /// /// 竞技比赛数据变化包 /// public const int ClubDataChange = -17; /// /// 竞技比赛战绩 /// public const int ClubFightRecord = -19; /// /// 配置包 /// public const int ConfigPack = -20; /// /// 获取配置包 /// public const int GetConfigPack = -21; /// /// ping /// public const int Ping = -22; /// /// 信息回包 /// public const int Pong = -23; /// /// 模块死亡信号 - 自身检测到的死亡 /// public const int ModuleDie = -24; /// /// 模块测试包 /// public const int PackTest = -25; /// /// 值守服务远程命令 /// public const int WatchDogRemoteCommand = -26; /// /// 请求当前活动的服务模块列表 /// public const int GetActiveServerListReq = -27; /// /// 回应当前活动的服务模块列表 /// public const int GetActiveServerListResp = -28; /// /// 竞技比赛玩法玩家人数变化包 过时的 /// public const int ClubPlayWayPlChange = -29; /// /// 断开某个人的链接 /// public const int DisConnectionPl = -30; /// /// 回报在线玩家数据 /// public const int ReportPlayerOnLineDataReq = -31; /// /// 回报在线玩家数据 /// public const int ReportPlayerOnLineDataResp = -32; /// /// 关闭自身 /// public const int KillMe = -33; /// ///缓存变化 /// public const int CacheChange = -34; /// /// 有玩家断开链接 /// public const int DisConnection = -35; /// /// 禁止开战 /// public const int NoStartWar = -36; /// /// 发送每小局结算信息给俱乐部 /// public const int SendBureaToClub = -37; /// /// /// public const int WatchDogAddTask = -40; /// /// 推广员增加扣除俱乐部房卡 /// public const int ChannelUserGetCardCount = -41; /// /// 推广员获取俱乐部房卡数量 /// public const int ChannelUserAddOrSubCard = -42; /// /// 日志收集归档 /// public const int LoggingCollect = -50; /// /// 获取回放包,RGC。直播用 /// public const int GetMatchFightData=-51; /// /// 获取定局比赛数据,用于回放 /// public const int GetFixedMatchData = -52; /// /// 给用户加资产信息---目的只是为了同步服务器的内存 /// public const int AddPlayerZiChanNum = -53; /// /// 处理充值订单 /// public const int RechargeOrders = -54; /// /// 更新玩家活跃度和贡献度 /// public const int UpdateUserLiveness = -55; /// /// 新增比赛配置 /// public const int AddRaceConfig = -56; /// /// 加入桌子结果 /// public const int JoinDeskResult = -57; /// /// 第三方平台更改房卡 /// public const int ChannelPayCard = -58; /// /// 支付通知 (参数:PayOrderDBEntity) /// public const int NotifyPaySuccess = -59; /// /// 玩家资产变更(参数:PlayerPropertyPack) /// public const int NotifyPlayerPropertyChange = -60; } }