1
This commit is contained in:
parent
4298989287
commit
9dcf5dc24e
@ -840,3 +840,10 @@ std::shared_ptr<CustomBattle> RoomMgr::GetHisCustomRoom(const std::string& room_
|
||||
auto itr = his_custom_room_hash_.find(room_uuid);
|
||||
return itr != his_custom_room_hash_.end() ? itr->second : nullptr;
|
||||
}
|
||||
|
||||
void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||
std::function<
|
||||
void(std::vector<std::shared_ptr<BattleDataContext>>&)> cb)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -118,6 +118,9 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
||||
void AdjustCMJoin(cs::CMJoin* msg);
|
||||
std::shared_ptr<CustomBattle> GetCustomRoom(const std::string& room_uuid);
|
||||
std::shared_ptr<CustomBattle> GetHisCustomRoom(const std::string& room_uuid);
|
||||
void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
|
||||
std::function<
|
||||
void(std::vector<std::shared_ptr<BattleDataContext>>&)> cb);
|
||||
|
||||
private:
|
||||
int current_room_idx_ = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user