mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 10:28:23 +00:00
[Expeditions] Decouple dz updates from expeditions (#1303)
Use internal dz messages to process duration and location changes Add world DynamicZone class (later this will inherit from a base) Add FindDynamicZoneByID to get dz from zone and world system caches
This commit is contained in:
@@ -35,12 +35,12 @@ class ExpeditionState
|
||||
public:
|
||||
void AddExpedition(uint32_t expedition_id);
|
||||
Expedition* GetExpedition(uint32_t expedition_id);
|
||||
Expedition* GetExpeditionByDynamicZoneID(uint32_t dz_id);
|
||||
void LoadActiveExpeditions();
|
||||
void MemberChange(uint32_t expedition_id, uint32_t character_id, bool remove);
|
||||
void Process();
|
||||
void RemoveAllMembers(uint32_t expedition_id);
|
||||
void RemoveExpedition(uint32_t expedition_id);
|
||||
void SetSecondsRemaining(uint32_t expedition_id, uint32_t seconds_remaining);
|
||||
|
||||
private:
|
||||
std::vector<Expedition> m_expeditions;
|
||||
|
||||
Reference in New Issue
Block a user