This commit is contained in:
aozhiwei 2024-05-28 15:53:41 +08:00
parent 03aed77727
commit 334dd641e0

View File

@ -432,6 +432,22 @@ std::shared_ptr<Room> RoomMgr::CreateRoom(RoomType_e room_type,
room->GetMapModeMeta()->id()
});
#endif
#if 1
f8::Timer::Instance()->SetTimeout
(
1000 * 60 * 30,
[room_uuid = room->GetRoomUuid()] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
f8::UdpLog::Instance()->Debug
("room timeout %s",
{
room_uuid
});
}
}
);
#endif
return room;
}