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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user