1
This commit is contained in:
parent
926c4cae7b
commit
b75c7cee45
@ -147,7 +147,12 @@ void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
||||
MatchMgr::Instance()->_CMJoin(hdr, msg);
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::shared_ptr<cs::CMJoin>> join_msgs;
|
||||
auto cb =
|
||||
[] (std::vector<std::tuple<int, std::string>>&)
|
||||
{
|
||||
};
|
||||
SendGetBattleData(join_msgs, cb);
|
||||
}
|
||||
|
||||
void RoomMgr::_CMReconnect(f8::MsgHdr& hdr, const cs::CMReconnect& msg)
|
||||
@ -706,7 +711,7 @@ void RoomMgr::OnJoinResponse(JoinRequest* req)
|
||||
#endif
|
||||
|
||||
void RoomMgr::SendGetBattleData(std::vector<std::shared_ptr<cs::CMJoin>>& join_msgs,
|
||||
std::function<void(std::vector<std::tuple<int, std::string>>)> cb)
|
||||
std::function<void(std::vector<std::tuple<int, std::string>>&)> cb)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
||||
bool IsGM(const std::string& account_id);
|
||||
void JoinTeam(MatchTeam* team);
|
||||
void SendGetBattleData(std::vector<std::shared_ptr<cs::CMJoin>>& join_msgs,
|
||||
std::function<void(std::vector<std::tuple<int, std::string>>)> cb);
|
||||
std::function<void(std::vector<std::tuple<int, std::string>>&)> cb);
|
||||
|
||||
private:
|
||||
void InstallReportStateTimer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user