add log
This commit is contained in:
parent
cae20c8783
commit
315c7d57e4
@ -591,6 +591,12 @@ void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
|
|||||||
auto itr = team_hash->find(hum->account_id);
|
auto itr = team_hash->find(hum->account_id);
|
||||||
if (itr != team_hash->end()) {
|
if (itr != team_hash->end()) {
|
||||||
itr->second = hum->room->GetRoomUuid();
|
itr->second = hum->room->GetRoomUuid();
|
||||||
|
a8::UdpLog::Instance()->Info
|
||||||
|
("join room ok: %s, %s",
|
||||||
|
{
|
||||||
|
hum->account_id,
|
||||||
|
GenTeamHashData(msg.team_uuid(), team_hash)
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
a8::UdpLog::Instance()->Warning
|
a8::UdpLog::Instance()->Warning
|
||||||
("team_data:%s account_id:%s not exists",
|
("team_data:%s account_id:%s not exists",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user