This commit is contained in:
aozhiwei 2023-10-14 15:47:29 +08:00
parent 35fc38d388
commit dfee1fc337

View File

@ -281,7 +281,7 @@ public:
int GetMobaLeftTime(); int GetMobaLeftTime();
Team* GetMobaTeamA() { return moba_team_a_; } Team* GetMobaTeamA() { return moba_team_a_; }
Team* GetMobaTeamB() { return moba_team_b_; } Team* GetMobaTeamB() { return moba_team_b_; }
RoomAgent* GetRoomAgent() { return room_agent_; } RoomAgent* GetRoomAgent() { return room_agent_.get(); }
private: private:
void ShuaAndroid(); void ShuaAndroid();
@ -440,7 +440,7 @@ private:
Team* moba_team_a_ = nullptr; Team* moba_team_a_ = nullptr;
Team* moba_team_b_ = nullptr; Team* moba_team_b_ = nullptr;
RoomAgent* room_agent_ = nullptr; std::shared_ptr<RoomAgent> room_agent_;
friend class Incubator; friend class Incubator;
friend class Team; friend class Team;