1
This commit is contained in:
parent
46c6eaaaeb
commit
a3ddd4bbf1
@ -1970,9 +1970,9 @@ void Human::SendMobaTeamNotify()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cs::SMSyncMobaTeam notify_msg;
|
cs::SMSyncMobaTeam notify_msg;
|
||||||
{
|
std::vector<Team*> teams = {room->GetMobaTeamA(), room->GetMobaTeamB()};
|
||||||
|
for (auto team : teams) {
|
||||||
auto team_pb = notify_msg.add_team_list();
|
auto team_pb = notify_msg.add_team_list();
|
||||||
Team* team = room->GetMobaTeamA();
|
|
||||||
team_pb->set_team_uuid(a8::XValue(team->GetTeamId()).GetString());
|
team_pb->set_team_uuid(a8::XValue(team->GetTeamId()).GetString());
|
||||||
team->TraverseMembers
|
team->TraverseMembers
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user