mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 13:47:57 +00:00
Implement PVP regions
This commit is contained in:
+2
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
extern const ZoneConfig *Config;
|
||||
|
||||
enum WaterRegionType {
|
||||
enum WaterRegionType : int {
|
||||
RegionTypeUnsupported = -2,
|
||||
RegionTypeUntagged = -1,
|
||||
RegionTypeNormal = 0,
|
||||
@@ -33,6 +33,7 @@ public:
|
||||
virtual bool InVWater(const glm::vec3& location) const = 0;
|
||||
virtual bool InLava(const glm::vec3& location) const = 0;
|
||||
virtual bool InLiquid(const glm::vec3& location) const = 0;
|
||||
virtual bool InPvP(const glm::vec3& location) const = 0;
|
||||
|
||||
protected:
|
||||
virtual bool Load(FILE *fp) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user