From 10ebbf85d4365c4737486d25bfe93352aba72a72 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 27 Dec 2023 14:57:45 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 5 +++++ server/gameserver/roommgr.h | 1 + 2 files changed, 6 insertions(+) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 281874b8..7e4d9799 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -1148,6 +1148,11 @@ void RoomMgr::SendGetCustomBattleData(std::shared_ptr join_msg, } } +void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg) +{ + +} + bool RoomMgr::HasTask() { return !room_hash_.empty(); diff --git a/server/gameserver/roommgr.h b/server/gameserver/roommgr.h index 7d49609a..55c91548 100644 --- a/server/gameserver/roommgr.h +++ b/server/gameserver/roommgr.h @@ -121,6 +121,7 @@ class RoomMgr : public a8::Singleton std::shared_ptr GetCustomRoom(const std::string& room_uuid); std::shared_ptr GetHisCustomRoom(const std::string& room_uuid); void _CMJoinCustomBattle(f8::MsgHdr* hdr, const cs::CMJoin& msg); + void _CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg); void SendGetCustomBattleData(std::shared_ptr join_msg, std::function)> cb);