This commit is contained in:
aozhiwei 2023-12-01 17:25:31 +08:00
parent 31075985e6
commit e761d94482

View File

@ -840,7 +840,7 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
return; return;
} }
#endif #endif
#ifdef MYDEBUG #ifdef MYDEBUG1
{ {
auto data = a8::MutableXObject::CreateObject(); auto data = a8::MutableXObject::CreateObject();
data->SetVal("zone_id", 1); data->SetVal("zone_id", 1);
@ -903,6 +903,12 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
msg->set_custom_room_payload(custom_data); msg->set_custom_room_payload(custom_data);
} }
} }
#endif
#ifdef MYDEBUG
a8::XPrintf("custom_room_payload %s\n",
{
msg->custom_room_payload()
});
#endif #endif
if (msg->proto_version() < cs::ProtoVersion) { if (msg->proto_version() < cs::ProtoVersion) {
msg->set_mapid(2001); msg->set_mapid(2001);