mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Dynamic Zones] Store min and max players on dz (#1355)
This starts some changes that move storage of things from expeditions to dynamic zone class so other systems can possibly use them. This will also make it easier to move window packet creation methods to DynamicZone. For now these will remain on the expeditions table in the database. This can be re-evaluated once other components are moved and seeing how other systems may want to handle their player requirements.
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ class Expedition : public ExpeditionBase
|
||||
public:
|
||||
Expedition() = default;
|
||||
Expedition(uint32_t id, const std::string& uuid, DynamicZone&& dz, const std::string& expedition_name,
|
||||
const DynamicZoneMember& leader, uint32_t min_players, uint32_t max_players);
|
||||
const DynamicZoneMember& leader);
|
||||
|
||||
static Expedition* TryCreate(Client* requester, DynamicZone& dynamiczone, ExpeditionRequest& request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user