mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 22:42:17 +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:
1 parent
b91d879662
commit
dced08cf97
6 files changed
+107
-39
No files matched your search
@@ -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