package com.ljsd.jieling.protocols.world; import "CommonProto.proto"; // Gs->Ws 混乱之战匹配请求 message Gs2WsCampWarMatchReq { optional int32 ServerId = 1; // 玩家所在服务器 optional int32 SelfScore = 3; //混乱之战积分 repeated int32 LastOpponents = 4; //上次匹配到的对手 optional int32 SelfCamp = 5; //玩家所属阵营 } // Ws -> Gs 混乱之战匹配回复 message Ws2GsCampWarMatchAck { // 对手 repeated int32 opponents = 1; } // Gs->Ws 混乱之战挑战请求 message Gs2WsCampWarChallengeReq { optional int32 defenseUserId = 1; //对手 optional com.ljsd.jieling.protocols.FightTeamInfo fightTeamInfo = 2;//战斗队伍信息 optional int32 attackerFight = 3; //攻方战力 optional int32 star = 4; //选择的星数 optional int32 attackerScore = 5; //攻方积分 optional int32 attackerCamp = 6; //攻方阵营 optional int32 serverGroupId = 7;//服务器组id } // ws -> gs 混乱之治积分变更通知 message Ws2GsCampWarScoreChangeNtf { optional int32 userId = 1; optional int32 changeScore = 2; } // Ws->Gs 混乱之战挑战回复 message Ws2GsCampWarChallengeAck { optional int32 result = 1; //结果 optional bool isWin = 2;// 是否胜利 optional int32 changeScore = 3;//变更的积分 optional CampWarBattleRecord battleRecord = 4; optional int32 targetUserId = 5; //对手 } // Ws->Gs 混乱之治每日排名结算 message Ws2GsCampWarDailyRankSettleNtf { optional int32 rank = 1; // 排名 } // Ws->Gs 混乱之治排名结算 message Ws2GsCampWarRankSettleNtf { optional int32 campRank = 1; //所在阵营排名 optional int32 playerRank = 2; //玩家排名 }