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;
|
return;
|
||||||
}
|
}
|
||||||
if (!msg.payload_data().empty()) {
|
if (!msg.payload_data().empty()) {
|
||||||
_CMJoinCustomBattle(hdr, msg);
|
DispatchSpecRoom(hdr, msg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
std::shared_ptr<cs::CMJoin> join_msg = std::make_shared<cs::CMJoin>();
|
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()
|
bool RoomMgr::HasTask()
|
||||||
{
|
{
|
||||||
return !room_hash_.empty();
|
return !room_hash_.empty();
|
||||||
|
@ -124,6 +124,7 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
|||||||
void _CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
void _CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
||||||
void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||||
std::function<void(int, const std::string, std::shared_ptr<CustomBattle>)> cb);
|
std::function<void(int, const std::string, std::shared_ptr<CustomBattle>)> cb);
|
||||||
|
void DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int current_room_idx_ = 0;
|
int current_room_idx_ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user