This commit is contained in:
aozhiwei 2023-09-19 20:05:49 +08:00
parent ad4edd80b1
commit bb7a5b9cab
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ std::shared_ptr<CustomBattle> RoomMgr::GetHisCustomRoom(const std::string& room_
} }
void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg, void RoomMgr::SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
std::function<void(std::shared_ptr<CustomBattle>)> cb) std::function<void(int, const std::string, std::shared_ptr<CustomBattle>)> cb)
{ {
} }

View File

@ -119,7 +119,7 @@ class RoomMgr : public a8::Singleton<RoomMgr>
std::shared_ptr<CustomBattle> GetCustomRoom(const std::string& room_uuid); std::shared_ptr<CustomBattle> GetCustomRoom(const std::string& room_uuid);
std::shared_ptr<CustomBattle> GetHisCustomRoom(const std::string& room_uuid); std::shared_ptr<CustomBattle> GetHisCustomRoom(const std::string& room_uuid);
void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg, void SendGetCustomBattleData(std::shared_ptr<cs::CMJoin> join_msg,
std::function<void(std::shared_ptr<CustomBattle>)> cb); std::function<void(int, const std::string, std::shared_ptr<CustomBattle>)> cb);
private: private:
int current_room_idx_ = 0; int current_room_idx_ = 0;