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);