Core/Spells: Implement SPELL_EFFECT_TELEPORT_TO_RETURN_POINT
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c852af7f2c820e429eaf8389822e8c910f961a1)
This commit is contained in:
@@ -120,6 +120,7 @@ namespace Game.Entities
|
||||
MultiMap<uint, uint> m_overrideSpells = new();
|
||||
public Spell m_spellModTakingSpell;
|
||||
uint m_oldpetspell;
|
||||
Dictionary<uint, StoredAuraTeleportLocation> m_storedAuraTeleportLocations = new();
|
||||
|
||||
//Mail
|
||||
List<Mail> m_mail = new();
|
||||
@@ -611,4 +612,17 @@ namespace Game.Entities
|
||||
public ObjectGuid GroupGuid;
|
||||
public int UpdateSequenceNumber;
|
||||
}
|
||||
|
||||
class StoredAuraTeleportLocation
|
||||
{
|
||||
public WorldLocation Loc;
|
||||
public State CurrentState;
|
||||
|
||||
public enum State
|
||||
{
|
||||
Unchanged,
|
||||
Changed,
|
||||
Deleted
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user