Core/Movement: Get zone/area IDs from vmap data in the liquid update
Port From (https://github.com/TrinityCore/TrinityCore/commit/51ce3b1c1dc6a53938ed6f240bac00681d18a44f)
This commit is contained in:
@@ -119,13 +119,17 @@ namespace Framework.Constants
|
||||
AllWorld = Player | Creature | Corpse | DynamicObject
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum ZLiquidStatus
|
||||
{
|
||||
NoWater = 0x00,
|
||||
AboveWater = 0x01,
|
||||
WaterWalk = 0x02,
|
||||
InWater = 0x04,
|
||||
UnderWater = 0x08
|
||||
UnderWater = 0x08,
|
||||
|
||||
Swimming = InWater | UnderWater,
|
||||
InContact = Swimming | WaterWalk
|
||||
}
|
||||
|
||||
public enum EncounterFrameType
|
||||
|
||||
Reference in New Issue
Block a user