diff --git a/server/gameserver/room.h b/server/gameserver/room.h index e7da6108..f8e1bc0c 100644 --- a/server/gameserver/room.h +++ b/server/gameserver/room.h @@ -15,6 +15,11 @@ namespace cs class SMJoinedNotify; } +namespace mt +{ + struct RankMatchConf; +} + class Entity; class RoomEntity; class MoveableEntity; @@ -263,6 +268,7 @@ public: void GMFastForward(); bool BulletCanReach(const glm::vec3& start, const glm::vec3& end); bool MoveCanReach(const glm::vec3& start, const glm::vec3& end); + const mt::RankMatchConf* GetRankMatchConf() { return rank_match_conf_; } private: void ShuaAndroid(); @@ -413,6 +419,8 @@ private: long long room_switch_ = 0; + const mt::RankMatchConf* rank_match_conf_ = nullptr; + friend class Incubator; friend class Team; };