[Zoning] Improve zone routing (#4428)

* [Zoning] Improvements to zone routing

* Update world_content_service.h

* Update world_content_service.h
This commit is contained in:
Chris Miles
2024-07-30 08:12:31 -05:00
committed by GitHub
parent d5cbec714e
commit 70a96ea098
2 changed files with 63 additions and 84 deletions
+2 -3
View File
@@ -160,6 +160,7 @@ public:
WorldContentService * SetExpansionContext();
bool DoesPassContentFiltering(const ContentFlags& f);
bool DoesZonePassContentFiltering(const ZoneRepository::Zone& z);
WorldContentService * SetDatabase(Database *database);
Database *GetDatabase() const;
@@ -189,10 +190,8 @@ private:
Database *m_content_database;
// holds a record of the zone table from the database
std::vector<ZoneRepository::Zone> m_zones = {};
WorldContentService *LoadStaticGlobalZoneInstances();
std::vector<InstanceListRepository::InstanceList> m_zone_instances;
WorldContentService * LoadZones();
std::vector<InstanceListRepository::InstanceList> m_zone_static_instances;
};
extern WorldContentService content_service;