Core/Spells: Implement SPELL_EFFECT_TELEPORT_TO_RETURN_POINT

Port From (https://github.com/TrinityCore/TrinityCore/commit/1c852af7f2c820e429eaf8389822e8c910f961a1)
This commit is contained in:
hondacrx
2021-03-29 16:36:05 -04:00
parent 369e36819d
commit 047a6babfc
11 changed files with 208 additions and 7 deletions
@@ -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
}
}
}