mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
[Code] AdventureManager Global to Singleton Cleanup (#4931)
* [Code] AdventureManager Global to Singleton Cleanup * Post merge fix --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
@@ -40,6 +40,12 @@ public:
|
||||
AdventureTemplate *GetAdventureTemplate(int theme, int id);
|
||||
AdventureTemplate *GetAdventureTemplate(int id);
|
||||
void GetZoneData(uint16 instance_id);
|
||||
|
||||
static AdventureManager* Instance()
|
||||
{
|
||||
static AdventureManager instance;
|
||||
return &instance;
|
||||
}
|
||||
protected:
|
||||
bool IsInExcludedZoneList(std::list<AdventureZones> excluded_zones, std::string zone_name, int version);
|
||||
bool IsInExcludedZoneInList(std::list<AdventureZoneIn> excluded_zone_ins, int zone_id, int door_object);
|
||||
|
||||
Reference in New Issue
Block a user