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:
hondacrx
2020-07-23 18:22:46 -04:00
parent db44970987
commit 286a200178
10 changed files with 325 additions and 137 deletions
+5 -1
View File
@@ -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