diff --git a/server/tools/protobuild/cs_msgid.proto b/server/tools/protobuild/cs_msgid.proto index 0f42f69c..771e13b9 100644 --- a/server/tools/protobuild/cs_msgid.proto +++ b/server/tools/protobuild/cs_msgid.proto @@ -70,4 +70,5 @@ enum SMMessageId_e _SMSyncPosition = 1025; _SMSyncTeamData = 1026; _SMSyncKillList = 1027; + _SMSyncMobaTeam = 1028; } diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index 2ec9af8f..a170d24a 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -1370,6 +1370,24 @@ message MFKill optional int32 obj_uniid = 1; //对象唯一id } +//moba队伍成员 +message MFMobaTeamMember +{ + optional string account_id = 1; //账号id account_id + optional string name = 2; //角色名 + optional string avatar_url = 3; //头像 + optional int32 hero_id = 4; //英雄id + repeated MFWeapon weapons = 5; //武器列表 + optional bool is_leader = 8; //是否队长 + optional int32 head_frame = 10; //头像框 +} + +//moba队伍 +message MFMobaTeam +{ + optional string team_uuid = 1; //队伍唯一id + repeated MFMobaTeamMember members = 2; //成员列表 +} //end mfmsg @@ -1765,6 +1783,12 @@ message SMSyncKillList repeated MFKill kill_list = 18; //击杀列表 } +//同步moba队伍信息(进战斗前显示用, 客户端更加account_id判断自己所属那个队伍) +message SMSyncMobaTeam +{ + repeated MFMobaTeam team_list = 1; //队伍信息 +} + //游戏结束 message SMGameOver {