mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 15:58:21 +00:00
Implement initial expedition system
Add Expeditions logging category Add handlers for all Dynamic Zone/Expedition related opcodes Add FormatName string_util function to format character names Add Zone::IsZone helper method Add cross zone MessageString support with variable parameters Add static Client method helpers for cross zone messaging Add #dz gm command to debug expedition cache for current zone
This commit is contained in:
@@ -81,6 +81,7 @@ struct item_tick_struct {
|
||||
};
|
||||
|
||||
class Client;
|
||||
class Expedition;
|
||||
class Map;
|
||||
class Mob;
|
||||
class WaterMap;
|
||||
@@ -129,6 +130,7 @@ public:
|
||||
bool IsPVPZone() { return pvpzone; }
|
||||
bool IsSpellBlocked(uint32 spell_id, const glm::vec3 &location);
|
||||
bool IsUCSServerAvailable() { return m_ucss_available; }
|
||||
bool IsZone(uint32 zone_id, uint16 instance_id) const;
|
||||
bool LoadGroundSpawns();
|
||||
bool LoadZoneCFG(const char *filename, uint16 instance_id);
|
||||
bool LoadZoneObjects();
|
||||
@@ -217,6 +219,8 @@ public:
|
||||
std::vector<GridRepository::Grid> zone_grids;
|
||||
std::vector<GridEntriesRepository::GridEntry> zone_grid_entries;
|
||||
|
||||
std::unordered_map<uint32, std::unique_ptr<Expedition>> expedition_cache;
|
||||
|
||||
time_t weather_timer;
|
||||
Timer spawn2_timer;
|
||||
Timer hot_reload_timer;
|
||||
|
||||
Reference in New Issue
Block a user