Core/Auras: Implement SPELL_AURA_BATTLEGROUND_PLAYER_POSITION_FACTIONAL (397) & SPELL_AURA_BATTLEGROUND_PLAYER_POSITION (398)

Port From (https://github.com/TrinityCore/TrinityCore/commit/e9357dc7f29fc15a72a3dc25b647d577dc979db8)
This commit is contained in:
hondacrx
2021-02-13 20:41:50 -05:00
parent b9a94c1235
commit 307f07eeb9
6 changed files with 71 additions and 47 deletions
+5
View File
@@ -341,6 +341,11 @@ namespace Game.Entities
{
return $"X: {posX} Y: {posY} Z: {posZ} O: {Orientation}";
}
public static implicit operator Vector2(Position position)
{
return new(position.posX, position.posY);
}
}
public class WorldLocation : Position