syntax = "proto3"; package ET; enum ItemType { NoneItem = 0; EquipItem = 1; GoodsItem = 2; MaterialsItem =3; } enum CampType //阵营 { NoneCamp = 0; Pioneer = 1;//开拓者 Guardian = 2;//守护者 } enum JobType //职业 { UnKnown = 0; Officer =1; Sportsman=2; Nurse=3; Superman=4; } enum SexType //性别 { Male=0; Famale=1; } message BagMap { int32 Index = 1; NetItem NetItem = 2; EquipTransMessage EquipTransMessage = 3; } message NetItem { int32 ItemId = 1; ItemType ItemType = 2; int64 ServerId = 3; int32 Count = 4; bool IsLock = 5; string GetSource = 6; } message UnitCharacter { int64 Id = 1; int64 LeaderId = 3; string NickName = 2; int32 JobId = 4; int32 Title = 5; CampType CampType = 6; string Family = 7; int32 SkinId = 8; int32 CharacterPoint = 9; int32 SkillPoint = 10; int32 Level = 11; int32 Trans = 12; int32 Hp=13; int32 MaxHp=14; int32 Mp=15; int32 MaxMp=16; int32 PetId=17; string PetName =18; bool isShowPet=19; int32 PetLevel =20; } message UnitCommonCharacter { int64 Id = 1; string NickName = 2; int32 JobId = 4; string Title = 5; string Family = 7; int32 SkinId = 9; int32 Level = 10;//等级 int32 Hp = 12; int32 MaxHp = 13; int32 Mp = 14; int32 MaxMp = 15; } //战斗属性 message BattleCharacter { int32 Str = 7;//力量 int32 Quk = 8;//敏捷 int32 Spi = 9;//精神 int32 Wim = 10;//智慧 int32 Phy = 27;//体质 int32 Sta = 28;//耐力 int32 PhyAtk = 11; int32 PhyDef = 12; int32 SpiAtk = 13; int32 SpiDef = 14; float Dvo = 15;//辅助值 float Pcrir = 16;//物理暴击率 float Rpcrir = 17;//抗物理暴击率 float Pcri = 18;//物理暴击伤害 float Rpcri = 19;//抗物理暴击伤害 float Mcrir = 20;//精神暴击率 float Rmcrir = 21;//抗精神暴击率 float Mcri = 22;//精神暴击伤害 float Rmcri = 23;//抗精神暴击伤害 float Nphyi = 24;//物理免伤 float Nmeni = 25;//精神免伤 } message AttributeMap { int32 Key = 1; float Value = 2; } message EquipTransMessage { int32 EquipId = 1; bool IsLocked = 4; int32 specialKey = 3; int32 specialId = 10; repeated AttributeMap mainAttribute = 5; repeated int32 randomAttributes = 6; repeated int32 addtionalAttributes = 11; int32 Quality = 8; int32 Star = 7; int32 Level = 9; repeated int32 GemList = 12; //镶嵌的宝石 } //登录相关================================== enum LoginType //登录类型 { Editor = 0;// 编辑模式 Tourist = 1;//游客 WeChat = 2;//微信的 token Voucher = 3;//登陆凭证 } //ResponseType R2C_Login message C2R_Login // IRequest { int32 RpcId = 90; string Account = 1; // 帐号 string Password = 2; // 密码 LoginType LoginType = 3; string Identify = 4; } message R2C_Login // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; string Address = 1; int64 Key = 2; int64 GateId =3; string LoginVoucher =4; } //ResponseType R2C_Regist message C2R_Regist // IRequest { int32 RpcId = 90; string Account = 1; // 帐号 string Password = 2; // 密码 string Identify = 4; } message R2C_Regist // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; string Address = 1; int64 Key = 2; int64 GateId =3; string LoginVoucher =4; } //ResponseType G2C_HeartBeat message C2G_HeartBeat // IRequest { int32 RpcId = 90; } message G2C_HeartBeat // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; float DelayTime = 1; int64 Key = 2; } //ResponseType G2C_LoginGate message C2G_LoginGate // IRequest { int32 RpcId = 90; int64 Key = 1; // 帐号 int64 GateId =2; string Platform = 3; } message G2C_LoginGate // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 PlayerId = 1; bool HasRole = 2; int32 JobId =3; int64 ServerTime = 4; int32 SkinId = 5; } //ResponseType R2C_CreateRole message C2R_CreateRole // IRequest { int32 RpcId = 90; int64 PlayerId = 1; // int32 JobId = 2; // string Name = 3; // } message R2C_CreateRole // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType R2C_DelRole message C2R_DelRole // IRequest { int32 RpcId = 90; int64 UserId = 1; } message R2C_DelRole // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message UnitPosInfo { float X = 2; float Y = 3; int32 YAngle = 5; } message UnitScene { int32 MapId =1; int32 TierId =2; int32 YAngle=6; } message Frame_ClickMap // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 94; UnitPosInfo UnitInfo=1; } message C2M_CheckSceneError // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 94; string Info = 1; } message M2C_PathfindingResult // IActorMessage { int64 ActorId = 93; int64 Id = 1; float X = 2; float Y = 3; float TX = 5; float TY = 6; float MoveSpeed = 7; } message M2C_SendUnitInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; UnitCharacter UnitCharacter = 1; } message M2C_SendUnitInfoList // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated UnitCharacter UnitCharacterList = 1; } //ResponseType G2C_EnterGame message C2G_EnterGame // IRequest { int32 RpcId = 90; } message G2C_EnterGame // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Id = 1; int32 SkinId = 2; int32 JobId = 3; bool IsOnline = 4; } message C2M_GetBasicalInfo // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } message C2M_GetStateReback // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } //==============地图传送===================== //ResponseType M2C_RequestEnterMap message C2M_RequestEnterMap // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 MapId= 1; } message M2C_RequestEnterMap // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_ChangeMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; float X =2; float Y =3; int32 MapId = 4; } message M2C_EnterMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; UnitPosInfo UnitInfo = 1; UnitCharacter PvpUnitCharacter = 2; } message M2C_Stop // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; float X = 2; float Y = 3; int32 YAngle = 4; int32 Error = 5; } message M2C_UnitsInMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated UnitPosInfo Units = 1; repeated UnitCharacter PvpUnits = 2; } message M2C_LeaveMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_OffLine // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_StartupTransPoint // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 MapId = 1; } message C2M_StopMove // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } //=================测试=========================== //ResponseType G2C_GetNotice message C2G_GetNotice // IRequest { int32 RpcId = 90; int64 ActorId = 93; } message G2C_GetNotice // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; string Notice = 1; } //ResponseType M2C_BackMainCity message C2M_BackMainCity // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_BackMainCity // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message C2M_GetBuffTime // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } message C2M_AddExp // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; int32 Exp = 1; } //=================主线=========================== message M2C_InitMainStoryMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 MainStoryId = 1; } //ResponseType M2C_StartMainStoryFight message C2M_StartMainStoryFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Region =1; } message M2C_StartMainStoryFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_MainStoryMonsterInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated MonsterUnitInfo MonsterUnitInfoList =1; int32 battleType = 2; } message MonsterUnitInfo { int64 Id = 1; int32 MonsterId = 2; } message ReMonsterUnitInfo { int64 Id = 1; int32 MonsterId = 2; int32 Hp = 3; int32 MaxHp = 4; } message M2C_ReMainStoryMonsterInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated ReMonsterUnitInfo MonsterUnitInfoList =1; int32 battleType = 2; } message M2C_BattleVictory // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BattleType = 1; } message M2C_BattleDefeat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BattleType = 1; } //=================Boss=========================== message M2C_BossRefresh // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; } //ResponseType M2C_StartBossFightRequest message C2M_StartBossFightRequest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartBossFightRequest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Key = 2; } //ResponseType M2C_StartBossFight message C2M_StartBossFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Key = 2; } message M2C_StartBossFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendBossInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; int64 UnitId = 2; } message M2C_ReSendBossInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; int64 UnitId = 2; int32 Hp = 3; } message M2C_BossFightVictory // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_BossFightDefeat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_BossDead // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_BossBeDefeat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //=================战斗============================ message RewardItem { int32 Id = 1; ItemType ItemType = 2; int32 Count = 3; } message StateBuffInfo { int32 StateType = 1; int32 Layer = 2; int32 UserData = 3; } //ResponseType M2C_AutoBattle message C2M_AutoBattle // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; bool isAuto =1; } message M2C_AutoBattle // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_SelectEnermy message C2M_SelectEnermy // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_SelectEnermy // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_SelectTeamMember message C2M_SelectTeamMember // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_SelectTeamMember // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_PlaySkill // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 SkillId = 2; int32 CoolTime = 3; int64 TargetId = 4; int32 MpCost = 5; } message M2C_MonsterPlaySkill // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 SkillId = 2; int64 TargetId = 3; } message M2C_PlaySkillEffect // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int64 TargetId = 4; int32 Time = 6; int32 EffectPos = 8; int32 EffectId = 9; int32 EffectTargetType = 10; } message M2C_BattleSkillRet // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; bool IsCrit = 3; int32 ChangeHpValue = 2; } message M2C_BattleChangeMP // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 ChangeMPValue = 2; } message M2C_BattleChangeState // IActorMessage { enum ChangeType { None = 0; Add = 1; Reduce = 2; } int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; int64 TargetUnitId = 2; string IconId = 3; string IconDesc = 4; ChangeType Type = 6; int32 Time = 7; bool IsBuff = 8; } message M2C_BattleTouchState // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int64 TargetUnitId = 2; int32 StateType = 3; int32 UserData = 4; int32 EffectId = 5; } message M2C_MainstoryMonsterDead // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_UnitDead // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_SendReward // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated RewardItem ItemList = 1; int64 Exp = 2; int64 Coin = 3; } //ResponseType M2C_GetBattleStateBuff message C2M_GetBattleStateBuff // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_GetBattleStateBuff // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated StateBuffInfo InfoList = 1; } //==================战斗挂机==================== //ResponseType M2C_StartBattleIdleFight message C2M_StartBattleIdleFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SceneId = 1; } message M2C_StartBattleIdleFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_EndBattleIdleFight message C2M_EndBattleIdleFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_EndBattleIdleFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //=================试炼之地副本================= message M2C_InitTrialCopyMap // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 TrialCopyId = 1; } //ResponseType M2C_StartTrialCopyFight message C2M_StartTrialCopyFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartTrialCopyFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 TrialCopyId = 1; repeated int64 UnitIdList = 2; } //===================PK========================== //ResponseType M2C_StartPKFight message C2M_StartPKFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 TargetId = 1; } message M2C_StartPKFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendStartPK // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated int64 TargetIdList = 1; int32 battleType =2; } message M2C_PKFightVictory // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_PKFightDefeat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //===================手工======================= message M2C_SendManulEquipMonsterInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated MonsterUnitInfo UnitIdList = 2; } message M2C_ReSendManulEquipMonsterInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated MonsterUnitInfo UnitIdList = 2; } //==================战斗测试==================== //ResponseType M2C_StartTestBattleFight message C2M_StartTestBattleFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartTestBattleFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_EndTestBattleFight message C2M_EndTestBattleFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_EndTestBattleFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //=================好友=========================== message FriendInfo { int64 Id = 1; string Name = 2; JobType Job = 3; int32 Level = 4; int64 LastLginTime = 5; } message RequestAddFriendInfo { string Name = 1; int32 Level =2; JobType Job = 3; SexType Sex = 4; int64 Id = 5; } //ResponseType M2C_GetFriend message C2M_GetFriend // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetFriend // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FriendInfo FriendInfoList = 1; repeated RequestAddFriendInfo RequestInfoList = 2; } //ResponseType M2C_FindFriend message C2M_FindFriend // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string Name = 1; } message M2C_FindFriend // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Id = 1; } //ResponseType M2C_AddFriend message C2M_AddFriend // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_AddFriend // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendAddFriendRequest // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //ResponseType M2C_HandleAddFriend message C2M_HandleAddFriend // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; bool IsAgree = 1; int64 Id = 2; } message M2C_HandleAddFriend // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FriendInfo FriendInfoList = 1; repeated RequestAddFriendInfo RequestInfoList = 2; } message M2C_HandleAddFriendResult // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //ResponseType M2C_DeleteFriend message C2M_DeleteFriend // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_DeleteFriend // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FriendInfo FriendInfoList = 1; } //=================家族=========================== enum FamilyPosition { FamilyLeader = 0; FamilyDeputyLeader = 1; FamilyMember = 2; } message FamilyMemberInfo { int64 Id = 1; string Name = 2; JobType Job = 3; int32 Level = 4; int64 LastLginTime = 5; repeated FamilyContributionMap ContributionList = 6; } message FamilyPositionMap { string Name = 2; FamilyPosition Position = 3; } message FamilyContributionMap { int64 Id = 1; int32 Value = 2; } message FamilyInfo { int32 Level=1; int32 Hornor=2; string Name= 3; repeated FamilyPositionMap PositinMapList = 4; string Notice= 5; } //ResponseType M2C_CrateFamily message C2M_CrateFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string Name= 1; } message M2C_CrateFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FamilyMemberInfo FamilyMemberInfoList = 1; FamilyInfo Info= 3; } //ResponseType M2C_GetFamily message C2M_GetFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FamilyMemberInfo FamilyMemberInfoList = 1; repeated RequestAddFriendInfo RequestInfoList = 2; FamilyInfo Info= 3; } //ResponseType M2C_FindFamily message C2M_FindFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string Name = 1; } message M2C_FindFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FamilyMemberInfo FamilyMemberInfoList = 1; repeated RequestAddFriendInfo RequestInfoList = 2; FamilyInfo Info= 3; } //ResponseType M2C_DeleteFamily message C2M_DeleteFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_DeleteFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_RequestEnterFamily message C2M_RequestEnterFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string Name = 1; } message M2C_RequestEnterFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_LeaveFamily message C2M_LeaveFamily // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_LeaveFamily // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_HandleEnterFamiy message C2M_HandleEnterFamiy // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; bool IsAgree = 1; int64 Id = 2; } message M2C_HandleEnterFamiy // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FamilyMemberInfo FamilyMemberInfoList = 1; repeated RequestAddFriendInfo RequestInfoList = 2; } //ResponseType M2C_DeleteFamilyMember message C2M_DeleteFamilyMember // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_DeleteFamilyMember // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated FamilyMemberInfo FamilyMemberInfoList = 1; } //ResponseType M2C_GetFamilyBossInfo message C2M_GetFamilyBossInfo // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message BossInfo { int32 Index = 1; int32 Hp = 2; int32 MaxHp = 3; bool HasReward = 4; } message M2C_GetFamilyBossInfo // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BossInfo BossInfoList = 1; } //ResponseType M2C_StartFamilyBossFight message C2M_StartFamilyBossFight // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; } message M2C_StartFamilyBossFight // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendFamilyBossInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; int64 UnitId = 2; int32 Hp = 3; } message M2C_ReSendFamilyBossInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; int64 UnitId = 2; int32 Hp = 3; } message BossDamagePerMemberMap { int64 Id = 1; string Name = 2; int32 Damage = 3; int32 Treat = 4; } message BossDamageMap { int32 TotalDamage = 1; repeated BossDamagePerMemberMap DamageList = 2; } //ResponseType M2C_GetBossDamageMap message C2M_GetBossDamageMap // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; } message M2C_GetBossDamageMap // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BossDamageMap RankList = 1; } //ResponseType M2C_GetFamilyBossReward message C2M_GetFamilyBossReward // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 BossId = 1; } message ItemInfo { int32 Id = 1; int32 Count = 2; } message M2C_GetFamilyBossReward // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated ItemInfo ItemList = 1; } //=================组队============================ //玩家处理信息 message HandleInfo { int64 Id = 1; bool Bool = 2; } //ResponseType M2C_RequestTeam message C2M_RequestTeam // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 TargetId =1; } message M2C_RequestTeam // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_InviteTeam message C2M_InviteTeam // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 TargetId =1; } message M2C_InviteTeam // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_RequestList // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 TimeOut = 2; } message M2C_InviteList // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 TimeOut = 2; } //ResponseType M2C_HandleTeam message C2M_HandleTeam // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; HandleInfo HandleInfo = 1; bool IsRequest = 2; } message M2C_HandleTeam // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_TeamMember // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 LeaderId = 1; repeated int64 UnitIds = 2; } //ResponseType M2C_TransferTeamLeader message C2M_TransferTeamLeader // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; } message M2C_TransferTeamLeader // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_QuitTeam message C2M_QuitTeam // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_QuitTeam // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_KickoutTeam message C2M_KickoutTeam // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 TargetId = 1; } message M2C_KickoutTeam // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SyncUnitAttribute // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; int32 NumericType = 2; float Value = 3; } message M2C_SyncUnitAttributeList // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 UnitId = 1; repeated AttributeMap NumericMap = 2; } message C2M_QuitBattle // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } //================商城/商店================== enum MarketType { NoneMarket = 0; VoucherMarket = 1; YuanBaoMarket = 2; } //ResponseType M2C_GetMarket message C2M_GetMarket // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 PageIndex= 1; } message M2C_GetMarket // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; float Discount = 1; repeated int32 MarketIdList = 2; } //ResponseType M2C_BuyInShop message C2M_BuyInShop // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 PageIndex= 1; int32 SlotIndex= 2; int32 Count = 3; } message M2C_BuyInShop // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_BuyInMarket message C2M_BuyInMarket // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 PageIndex= 1; int32 SlotIndex= 2; int32 Count = 3; MarketType Type = 4; } message M2C_BuyInMarket // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_SellItem message C2M_SellItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SlotIndex= 2; int32 Count = 3; } message M2C_SellItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //================寄售======================= message ConsignMap { int64 ConsignItemId = 1; int64 UnitId = 2; string Name = 3; int64 RemainTime = 4; NetItem Item = 5; EquipTransMessage EquipTransMessage =6; int64 Price = 7; bool NeedPwd = 8; } //ResponseType M2C_GetConsignment message C2M_GetConsignment // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; JobType JobType = 1; ItemType ItemType = 2; int32 Page = 3; } message M2C_GetConsignment // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 TotalPage = 1; repeated ConsignMap ConsignMapList = 2; } //ResponseType M2C_PutInConsignment message C2M_PutInConsignment // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index = 1; int64 Price = 2; int32 Count = 3; string Pwd = 4; } message M2C_PutInConsignment // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList = 1; } //ResponseType M2C_BuyInConsignment message C2M_BuyInConsignment // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 ConsignmentId = 1; int64 UnitId = 2; string Pwd = 3; } message M2C_BuyInConsignment // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList = 1; } //================仓库======================= message M2C_OpenStoreUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //ResponseType M2C_GetStore message C2M_GetStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Page = 1; } message M2C_GetStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap StoreList = 1; int64 Coin = 2; int32 Total = 3; } //ResponseType M2C_SortStore message C2M_SortStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Page = 1; } message M2C_SortStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap StoreList = 1; } //ResponseType M2C_PutInStore message C2M_PutInStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 BagIndex =1; int32 Count = 3; int32 Page =4; } message M2C_PutInStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap StoreList = 1; repeated BagMap BagMapList = 2; } //ResponseType M2C_TakeOffStore message C2M_TakeOffStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 StoreIndex =1; int32 Count = 3; int32 Page = 4; } message M2C_TakeOffStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList = 1; repeated BagMap StoreList = 2; } //ResponseType M2C_PutCoinInStore message C2M_PutCoinInStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Coin = 2; } message M2C_PutCoinInStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Coin = 2; } //ResponseType M2C_TakeCoinOutStore message C2M_TakeCoinOutStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Coin = 2; } message M2C_TakeCoinOutStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Coin = 2; } //ResponseType M2C_QueryExtandPrice message C2M_QueryExtandPrice // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_QueryExtandPrice // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Coin = 2; int32 Voucher = 3; } //ResponseType M2C_ExtandStore message C2M_ExtandStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_ExtandStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //================打造======================= //ResponseType M2C_ForgeEquip message C2M_ForgeEquip // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Id = 2; } message M2C_ForgeEquip // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //================NPC======================== //ResponseType M2C_ClickNPC message C2M_ClickNPC // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 NPCId= 1; } message M2C_ClickNPC // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_OpenMeltEquipUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_OpenShopUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_OpenConsignmentUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 TotalPage = 1; repeated ConsignMap ConsignMapList = 2; } message M2C_OpenForgeUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //熔炼 //ResponseType M2C_MeltEquip message C2M_MeltEquip // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 EquipIndex= 1; int32 GemIndex= 2; int32 AttributeIndex = 3; } message M2C_MeltEquip // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //任务 enum TaskTargetType { NoneTask =0; KillSpecialTask = 1;//击杀特定 KillAnyTask = 2;//击杀任意 CollectionTask = 3;//收集 DialogTask = 4;//对话 LevelTask= 5;//等级 SubmitTask = 6;//交物品 ChangeMapTask = 7;//通关(换地图)任务 CompleteTask = 8;//答题 } enum TaskState { TaskNoneState = 0; TaskWaiting =1; TaskRunning = 2; TaskCompleted = 3; } message TansferTask { int32 Id = 1; repeated int32 CurrCompleteList = 2; } message NPCTask { int32 Id = 1; TaskState TaskState = 2; } message M2C_OpenTaskUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated NPCTask TaskList = 1; } //ResponseType M2C_AcceptTask message C2M_AcceptTask // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 TaskId= 1; } message M2C_AcceptTask // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_CompleteTask message C2M_CompleteTask // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 TaskId= 1; repeated int32 IndexList = 2; } message M2C_CompleteTask // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetTask message C2M_GetTask // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetTask // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated TansferTask TaskList = 1; } //ResponseType M2C_GetTaskState message C2M_GetTaskState // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetTaskState // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated NPCTask NPCStateList = 1; } message M2C_SendTaskState // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; NPCTask NPCState = 1; } //==============主Ui========================= enum MainUIType { NoneSlot = 0;//空 SkillSlot = 1;//技能 ItemSlot = 2;//物品 } message MainUISlotInfo { int32 Id = 1; MainUIType MainUIType = 2; int32 Level = 3; int32 ItemCount = 4; int32 Index = 5; } //ResponseType M2C_GetMainUISetting message C2M_GetMainUISetting // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetMainUISetting // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated MainUISlotInfo MainUISlotList = 1; bool IsAutoSkill = 2; bool IsDisplayOthers = 3; } //ResponseType M2C_DropSkill message C2M_DropSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SlotId = 1; int32 SkillId = 2; } message M2C_DropSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated MainUISlotInfo MainUISlotList = 1; } //ResponseType M2C_DropItem message C2M_DropItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SlotId = 1; int32 BagIndex = 2; } message M2C_DropItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated MainUISlotInfo MainUISlotList = 1; } //ResponseType M2C_UseMainUISkill message C2M_UseMainUISkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SlotId =1; } message M2C_UseMainUISkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_UseMainUIGoods message C2M_UseMainUIGoods // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SlotId = 1; } message M2C_UseMainUIGoods // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated MainUISlotInfo MainUISlotList = 1; repeated BagMap BagMapList =2; } message M2C_StartCD // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 Time = 1; int32 Id = 2; int32 SkillCD = 3; MainUIType Type = 4; } //===============技能================================ //技能信息 message SkillInfo { int32 SkillId = 1; int32 SkillLevel = 2; } //ResponseType M2C_GetSkill message C2M_GetSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated SkillInfo SkillInfoLsit = 1; repeated int32 AutoSkillList = 2; } //ResponseType M2C_SaveAutoSkill message C2M_SaveAutoSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; repeated int32 AutoSkillList = 1; } message M2C_SaveAutoSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_LearnSkill message C2M_LearnSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 SkillId = 1; } message M2C_LearnSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated SkillInfo SkillInfoLsit = 1; repeated int32 AutoSkillList = 2; } //ResponseType M2C_FreeReSetSkill message C2M_FreeReSetSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_FreeReSetSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetReSetSkillPrice message C2M_GetReSetSkillPrice // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetReSetSkillPrice // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 Voucher = 1; } //ResponseType M2C_ReSetSkill message C2M_ReSetSkill // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_ReSetSkill // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //==============人物属性===================== //ResponseType M2C_GetCharacter message C2M_GetCharacter // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_GetCharacter // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; UnitCharacter UnitCharacter = 1; repeated BagMap WornBagMapList =3; } //ResponseType M2C_AddPoint message C2M_AddPoint // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Trans = 2; repeated int32 PointList = 1; } message M2C_AddPoint // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; UnitCharacter Character = 1; } //ResponseType M2C_ResetPoint message C2M_ResetPoint // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Trans = 2; } message M2C_ResetPoint // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; UnitCharacter Character = 1; } message M2C_SendCharacter // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; UnitCharacter UnitCharacter = 1; int64 Id = 3; } //==============背包========================= //ResponseType M2C_GetBag message C2M_GetBag // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetBag // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } message M2C_SendBag // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated BagMap BagMapList =1; } message C2M_AddRandomItem // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; ItemType ItemType = 1; } message M2C_SendTip // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; string Message = 1; } //ResponseType M2C_DeleteItem message C2M_DeleteItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index = 1; int32 Count = 2; } message M2C_DeleteItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_ChangeItemPos message C2M_ChangeItemPos // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Pos1 = 1; int32 Pos2 = 2; } message M2C_ChangeItemPos // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_SplitItem message C2M_SplitItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index = 1; int32 Count = 2; } message M2C_SplitItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_SortBag message C2M_SortBag // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_SortBag // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_PutOn message C2M_PutOn // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index= 1; } message M2C_PutOn // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; repeated BagMap WornBagMapList =2; } //ResponseType M2C_Takeoff message C2M_Takeoff // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index= 1; } message M2C_Takeoff // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; repeated BagMap WornBagMapList =2; } //ResponseType M2C_UseGoods message C2M_UseGoods // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index= 1; } message M2C_UseGoods // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; repeated MainUISlotInfo MainUISlotList = 2; } //=====================进化==================== //ResponseType M2C_Upgrade message C2M_Upgrade // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index= 1; bool isLock=2; } message M2C_Upgrade // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //=================邮箱====================== enum MailState { UnReceive = 0; Received = 1; } message MailItem { int32 ItemId = 1; int64 Count = 4; bool IsLock = 5; bool IsHasItem = 6; } message Mail { int64 Id = 8; string Title = 2; string Content =3; int64 RemainTime = 4; string SenderName = 5; repeated MailItem RewordArr = 6; MailState State = 7; } //ResponseType M2C_GetMail message C2M_GetMail // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Page = 1; } message M2C_GetMail // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated Mail MailList =1; int32 MailCount = 2; } //ResponseType M2C_ReceiveMail message C2M_ReceiveMail // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 MailId = 1; int32 Page =2; } message M2C_ReceiveMail // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; repeated Mail MailList =2; int32 MailCount = 3; } //ResponseType M2C_DeleteMail message C2M_DeleteMail // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 MailId = 1; int32 Page =2; } message M2C_DeleteMail // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated Mail MailList =1; int32 MailCount = 2; } //ResponseType M2C_ReceiveAllMail message C2M_ReceiveAllMail // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_ReceiveAllMail // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated Mail MailList =1; int32 MailCount = 2; } //ResponseType M2C_DeleteAllMail message C2M_DeleteAllMail // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_DeleteAllMail // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated Mail MailList =1; int32 MailCount = 2; } //==============排行榜======================= message RankingInfo { enum RankingType { Level = 0; Coin = 1; Hp = 2; Mp = 3; Pet = 4; Dvo = 5; PAtk = 6; MAtk = 7; PCriR = 8; MCriR = 9; PCri = 10; MCri = 11; PRed = 12; MRed= 13; PDef= 14; MDef= 15; } string Name = 1; string Job = 2; float Value = 3; } //ResponseType M2C_GetRanking message C2M_GetRanking // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index = 1; } message M2C_GetRanking // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated RankingInfo RankingInfoList = 1; } //==============远程仓库===================== //ResponseType M2C_GetOpenRemoteStore message C2M_GetOpenRemoteStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetOpenRemoteStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 Price = 1; } //ResponseType M2C_OpenRemoteStore message C2M_OpenRemoteStore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_OpenRemoteStore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //==============聊天========================= enum ChatType { NoneChat = 0; Normal = 1; Team = 2; Family = 3; Camp = 4; World =5; Private = 6; System = 7; } //ResponseType M2C_RequestChat message C2M_RequestChat // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string Content = 1; ChatType Type = 2; int64 Id = 3; } message M2C_RequestChat // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendNormalChat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; string Content = 1; ChatType Type = 2; int64 Id = 3; string Name = 4; bool IsSystemBrocast =5; } message M2C_SendSystemChat // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated string ContentList = 1; ChatType Type = 2; string Name = 4; bool IsSystemBrocast =5; } //==============答题======================= message M2C_OpenQuestUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 Card = 1; } message QuestScordInfo { int64 Id = 1; int32 Scord = 2; string Name = 3; int32 Level = 4; int64 Time = 5; } //ResponseType M2C_StartAnswerQuest message C2M_StartAnswerQuest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartAnswerQuest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 ConfigId = 1; } //ResponseType M2C_NextAnswerQuest message C2M_NextAnswerQuest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_NextAnswerQuest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 ConfigId = 1; } //ResponseType M2C_AnswerQuest message C2M_AnswerQuest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Answer = 1; } message M2C_AnswerQuest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 Time = 1; int32 ContinueCorrectCount = 2; int32 Scord = 3; } //ResponseType M2C_GetQuestScordInfo message C2M_GetQuestScordInfo // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetQuestScordInfo // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated QuestScordInfo InfoList = 1; } //ResponseType M2C_ChargeVoucher message C2M_ChargeVoucher // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 YuanBao = 1; } message M2C_ChargeVoucher // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_ChargeCoin message C2M_ChargeCoin // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Gem = 1; } message M2C_ChargeCoin // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetAddEnergyPrice message C2M_GetAddEnergyPrice // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetAddEnergyPrice // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 Price = 1; int32 Energy = 2; } //ResponseType M2C_AddEnergy message C2M_AddEnergy // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_AddEnergy // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_CreateMapMonster // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; float X = 2; float Y = 3; int32 ConfigId = 4; int32 MapMonsterType = 5; } message M2C_DisposeMapMonster // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } //ResponseType M2C_StartManulEquipBattle message C2M_StartManulEquipBattle // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_StartManulEquipBattle // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 ConfigId = 1; } //ResponseType M2C_MakeMunalEquip message C2M_MakeMunalEquip // IActorLocationRequest { enum StoneType { Nomal = 0; Rare = 1; Epic = 2; UpgradeRare = 3; } int32 RpcId = 90; int64 ActorId = 93; int32 Type = 1; StoneType IsRare = 2; } message M2C_MakeMunalEquip // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_RequestPersonalPvp message C2M_RequestPersonalPvp // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_RequestPersonalPvp // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message G2C_ForceOffLine // IMessage { } //================================================== //ResponseType M2C_TestRequest message C2M_TestRequest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string request = 1; } message M2C_TestRequest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; string response = 1; } //ResponseType M2C_TransferRequest message C2M_TransferRequest // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 MapIndex = 1; } message M2C_TransferRequest // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType G2C_Ping message C2G_Ping // IRequest { int32 RpcId = 90; } message G2C_Ping // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int64 Time = 1; int64 Token = 2; } message G2C_Test // IMessage { } //ResponseType M2C_Reload message C2M_Reload // IRequest { int32 RpcId = 90; string Account = 1; string Password = 2; } message M2C_Reload // IResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetPvpBoardInfo message C2M_GetPvpBoardInfo // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetPvpBoardInfo // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 battleCount =1; int32 scord = 2; bool isMatch = 3; int32 matchCount = 4; repeated PvpRankInfo rankList = 5; } //ResponseType M2C_StrengthEquip message C2M_StrengthEquip // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 bagIndex = 1; int32 plusItemIndex = 2; } message M2C_StrengthEquip // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; bool isSuccess = 1; } //ResponseType M2C_TransLevel message C2M_TransLevel // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_TransLevel // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message PvpRankInfo { string name =1; int32 level = 2; int32 scord = 3; int32 jobIs = 4; } //ResponseType M2C_RefreshEquipMainAttribute message C2M_RefreshEquipMainAttribute // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 bagIndex = 1; } message M2C_RefreshEquipMainAttribute // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_RefreshEquipAffix message C2M_RefreshEquipAffix // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 bagIndex = 1; } message M2C_RefreshEquipAffix // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_DismountGem message C2M_DismountGem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 bagIndex = 1; int32 gemIndex = 2; } message M2C_DismountGem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetMapCoin message C2M_GetMapCoin // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetMapCoin // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_AddMapCoinCount message C2M_AddMapCoinCount // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_AddMapCoinCount // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_TransferJob message C2M_TransferJob // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 jobType = 1; } message M2C_TransferJob // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetUserInfo message C2M_GetUserInfo // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id = 1; } message M2C_GetUserInfo // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; string Name = 1; int32 Level = 2; int32 JobId = 3; } //ResponseType M2C_SendGMCMD message C2M_SendGMCMD // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string cmd = 1; } message M2C_SendGMCMD // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_OpenGMUI message C2M_OpenGMUI // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_OpenGMUI // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_ChangeNickName message C2M_ChangeNickName // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string name = 1; } message M2C_ChangeNickName // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_StartMainStoryAI message C2M_StartMainStoryAI // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 Index = 1; } message M2C_StartMainStoryAI // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_EndMainStoryAI message C2M_EndMainStoryAI // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_EndMainStoryAI // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //按键精灵 message C2M_SendQMacro // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_SyncPet // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 petId=1; int32 level=2; int32 exp=3; int32 intimacy=4; string name =5; bool isShow =6; int64 UnitId = 7; int32 active=8; } message C2M_ShowPet // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; } message M2C_OpenSpaceTravelNpcUI // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; } //ResponseType M2C_GetAllTrialCopyReword message C2M_GetAllTrialCopyReword // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetAllTrialCopyReword // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetPetInfo message C2M_GetPetInfo // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetPetInfo // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 eatCount=1; int32 active=2; int32 petState=3; int64 remainTime=4; } //ResponseType M2C_StartPetPlay message C2M_StartPetPlay // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartPetPlay // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_StartPetExplore message C2M_StartPetExplore // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartPetExplore // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_StartPetExperience message C2M_StartPetExperience // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_StartPetExperience // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_EndPetAction message C2M_EndPetAction // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_EndPetAction // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetPetActionReword message C2M_GetPetActionReword // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetPetActionReword // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetPetQuickEndPrice message C2M_GetPetQuickEndPrice // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_GetPetQuickEndPrice // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; int32 voucher =1; } //ResponseType M2C_UpgradePet message C2M_UpgradePet // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 index = 1; } message M2C_UpgradePet // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_ClickMapUnit message C2M_ClickMapUnit // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 Id=1; int32 type=2; } message M2C_ClickMapUnit // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_StartSpaceTravel message C2M_StartSpaceTravel // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 index=1; } message M2C_StartSpaceTravel // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message StarSoulNetItem { int64 Id =1; int32 typeId=2; int32 level=3; int32 exp=4; int32 posType=5; int32 quality=6; bool isUsed=7; int32 main=8; repeated int32 vice=9; repeated float viceAdd=10; bool isLocked=11; } //ResponseType M2C_GetStarSoulBag message C2M_GetStarSoulBag // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message KV_int32_int64 { int32 key=1; int64 value =2; } message KV_int32_int32 { int32 key=1; int32 value =2; } message KV_string_int32 { string key=1; int32 value =2; } message M2C_GetStarSoulBag // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated StarSoulNetItem itemList=1; repeated int64 usedIdMap =2; repeated KV_int32_int32 suitKVs =5; } message M2C_SyncStarSoulBagInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; repeated StarSoulNetItem itemList=1; repeated int64 usedIdMap =2; repeated KV_int32_int32 suitKVs =5; int64 UnitId=3; } message M2C_SyncStarSoulBag // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int64 Id =1; StarSoulNetItem item=2; } message M2C_SyncStarSoulBagItemUsed // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 key=3; int64 value=4; repeated KV_int32_int32 suitKVs =5; } //ResponseType M2C_UpgradeStarSoulItem message C2M_UpgradeStarSoulItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 itemId=2; repeated int64 idList=1; } message M2C_UpgradeStarSoulItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_PutonStarSoulItem message C2M_PutonStarSoulItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 itemId=2; } message M2C_PutonStarSoulItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message C2M_LockStarSoulItem // IActorLocationMessage { int32 RpcId = 90; int64 ActorId = 93; int64 itemId=2; bool isLock=1; } //ResponseType M2C_StartActive message C2M_StartActive // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 itemId=2; } message M2C_StartActive // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetUIDByName message C2M_GetUIDByName // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; string name=2; } message M2C_GetUIDByName // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated KV_string_int32 map=1; } //ResponseType M2C_ResolveStarSoul message C2M_ResolveStarSoul // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; repeated int64 ids=1; } message M2C_ResolveStarSoul // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated RewardItem itenList=1; } //ResponseType M2C_ResolveAllStarSoul message C2M_ResolveAllStarSoul // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; } message M2C_ResolveAllStarSoul // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated RewardItem itenList=1; } //ResponseType M2C_BuyInMultiShop message C2M_BuyInMultiShop // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 shopType=1; int32 index =2; int32 count=3; } message M2C_BuyInMultiShop // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; repeated BagMap BagMapList =1; } //ResponseType M2C_GetSigninReward message C2M_GetSigninReward // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 configId=1; } message M2C_GetSigninReward // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetSigninInMonthReward message C2M_GetSigninInMonthReward // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 configId=1; } message M2C_GetSigninInMonthReward // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } message M2C_SendActiveInfo // IActorMessage { int32 RpcId = 90; int64 ActorId = 93; int32 signinCurrId =1; bool isGetSininReward =2; repeated int32 gotSignInMonthList =3; int32 signinInMonthCount =4; } //ResponseType M2C_GetStarSoulItem message C2M_GetStarSoulItem // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int32 configId=1; } message M2C_GetStarSoulItem // IActorLocationResponse { int32 RpcId = 90; int32 Error = 91; string Message = 92; } //ResponseType M2C_GetOtherUserBag message C2M_GetOtherUserBag // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 userId=1; } message M2C_GetOtherUserBag // IActorLocationResponse { int32 RpcId = 90; string Message = 92; int32 Error = 91; repeated BagMap BagMapList =1; } //ResponseType M2C_GMDelOtherUserBag message C2M_GMDelOtherUserBag // IActorLocationRequest { int32 RpcId = 90; int64 ActorId = 93; int64 userId=1; int32 index=2; } message M2C_GMDelOtherUserBag // IActorLocationResponse { int32 RpcId = 90; string Message = 92; int32 Error = 91; }