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