Core/Instances: Add functionality for modifying instance entrance locations

Instances have since MoP (Possibly even Cataclysm) been able to set new locations for players when they zone into the instance.
A theoretic example of this could be after a certain boss has been defeated, a new entrance location is set to bring players entering the instance closer to the relevant content.
A real example would be Siege of Orgrimmar changing entrance locations many times as the raid progresses.

Added SetEntranceLocation for setting entrance locations that will be saved to DB the next time the instance is saved, and SetTemporaryEntranceLocation for when you don't want the value to be saved to the database.

Closes #17167
This commit is contained in:
Krudor
2016-07-16 14:58:33 +02:00
committed by Shauren
parent e2d6c362f2
commit 649e3a9ac5
11 changed files with 74 additions and 19 deletions

File diff suppressed because one or more lines are too long