From 8b46efd124c7e92918d07b248fb5c38d03080fc6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 20 Jul 2023 14:29:09 +0800 Subject: [PATCH] 1 --- server/gameserver/room.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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; };