1
This commit is contained in:
parent
aa9f1fc53a
commit
f7ec76e680
@ -141,7 +141,7 @@ void RoomMgr::_CMJoin(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
return;
|
||||
}
|
||||
if (!msg.payload_data().empty()) {
|
||||
_CMJoinCustomBattle(hdr, msg);
|
||||
DispatchSpecRoom(hdr, msg);
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<cs::CMJoin> join_msg = std::make_shared<cs::CMJoin>();
|
||||
@ -1153,6 +1153,11 @@ void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
|
||||
}
|
||||
|
||||
void RoomMgr::DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool RoomMgr::HasTask()
|
||||
{
|
||||
return !room_hash_.empty();
|
||||
|
@ -124,6 +124,7 @@ 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 DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
||||
|
||||
private:
|
||||
int current_room_idx_ = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user