Core/PacketIO: Documented possible values for SMSG_NEW_WORLD reason field

This commit is contained in:
Shauren
2014-11-20 22:12:13 +01:00
parent 3332127f33
commit 3f9fb034ec
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2162,7 +2162,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
WorldPackets::Movement::NewWorld packet;
packet.MapID = mapid;
packet.Pos = m_teleport_dest;
packet.Reason = 16;
packet.Reason = NEW_WORLD_NORMAL;
SendDirectMessage(packet.Write());
SendSavedInstances();
+6
View File
@@ -822,6 +822,12 @@ enum TransferAbortReason
*/
};
enum NewWorldReason
{
NEW_WORLD_NORMAL = 16, // Normal map change
NEW_WORLD_SEAMLESS = 21, // Teleport to another map without a loading screen, used for outdoor scenarios
};
enum InstanceResetWarningType
{
RAID_INSTANCE_WARNING_HOURS = 1, // WARNING! %s is scheduled to reset in %d hour(s).