mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 15:46:37 +00:00
[Quest API] Add Zone Flag Methods to Perl/Lua. (#2574)
* [Quest API] Add Zone Flag Methods to Perl/Lua. # Perl - Add `$client->GetPEQZoneFlags()`. - Add `$client->GetZoneFlags()`. # Lua - Add `client:GetPEQZoneFlags()`. - Add `client:GetZoneFlags()`. # Notes - Allows operators to get a list of all PEQ/zone flags to be looped through or listed out easily without having to have a list of individual zone IDs to check or otherwise. * Update zoning.cpp * Repositories and cleanup.
This commit is contained in:
@@ -1029,12 +1029,14 @@ public:
|
||||
void DoClassAttacks(Mob *ca_target, uint16 skill = -1, bool IsRiposte=false);
|
||||
|
||||
void ClearZoneFlag(uint32 zone_id);
|
||||
inline std::set<uint32> GetZoneFlags() { return zone_flags; } ;
|
||||
bool HasZoneFlag(uint32 zone_id) const;
|
||||
void LoadZoneFlags();
|
||||
void SendZoneFlagInfo(Client *to) const;
|
||||
void SetZoneFlag(uint32 zone_id);
|
||||
|
||||
void ClearPEQZoneFlag(uint32 zone_id);
|
||||
inline std::set<uint32> GetPEQZoneFlags() { return peqzone_flags; };
|
||||
bool HasPEQZoneFlag(uint32 zone_id) const;
|
||||
void LoadPEQZoneFlags();
|
||||
void SendPEQZoneFlagInfo(Client *to) const;
|
||||
|
||||
Reference in New Issue
Block a user