1
This commit is contained in:
parent
5d15299b72
commit
cb202414e2
@ -1170,7 +1170,7 @@ void RoomMgr::DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
break;
|
||||
case MOBA_ROOM_TYPE:
|
||||
{
|
||||
|
||||
_CMJoinMoba(hdr, msg);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@ -1184,6 +1184,12 @@ void RoomMgr::DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
}
|
||||
}
|
||||
|
||||
void RoomMgr::SendGetMobaBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||
std::function<void(int, const std::string, std::shared_ptr<MobaTeam>)> cb)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool RoomMgr::HasTask()
|
||||
{
|
||||
return !room_hash_.empty();
|
||||
|
@ -25,6 +25,7 @@ class MapService;
|
||||
class MapInstance;
|
||||
class Building;
|
||||
class CustomBattle;
|
||||
class MobaTeam;
|
||||
struct RoomInitInfo
|
||||
{
|
||||
int room_idx = 0;
|
||||
@ -124,6 +125,8 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
||||
void _CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
||||
void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||
std::function<void(int, const std::string, std::shared_ptr<CustomBattle>)> cb);
|
||||
void SendGetMobaBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||
std::function<void(int, const std::string, std::shared_ptr<MobaTeam>)> cb);
|
||||
void DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user