1
This commit is contained in:
parent
9bdd7b56dd
commit
b96b06413f
@ -33,6 +33,7 @@ class MobaTeam
|
||||
{
|
||||
public:
|
||||
|
||||
std::string GetTeamUuid() { return ""; }
|
||||
int GetMemberNum();
|
||||
void TraverseMember(std::function<bool (std::shared_ptr<MobaMember>)> cb);
|
||||
|
||||
|
@ -2294,8 +2294,9 @@ int Room::InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<c
|
||||
hum->is_valid_battle = m->GetNetData()->is_valid_battle;
|
||||
hum->payload = m->GetNetData()->payload;
|
||||
#if 1
|
||||
//msg.set_session_id(member->GetSessionId());
|
||||
//msg.set_team_uuid(team->GetTeamUuid());
|
||||
join_msg.set_account_id(m->GetAccountId());
|
||||
join_msg.set_session_id(m->GetSessionId());
|
||||
join_msg.set_team_uuid(m->GetTeam()->GetTeamUuid());
|
||||
#endif
|
||||
PlayerMgr::Instance()->
|
||||
CreatePlayerByCMJoin(hum,
|
||||
|
Loading…
x
Reference in New Issue
Block a user