Core/PacketIO: Fixed structure of SMSG_START_TIMER
Port From (https://github.com/TrinityCore/TrinityCore/commit/06010c11b138752e475c59a594b42d4e9a7241bd)
This commit is contained in:
@@ -1803,7 +1803,8 @@ namespace Framework.Constants
|
||||
public enum TimerType
|
||||
{
|
||||
Pvp = 0,
|
||||
ChallengerMode = 1
|
||||
ChallengerMode = 1,
|
||||
PlayerCountdown = 2
|
||||
}
|
||||
|
||||
public enum GameError : uint
|
||||
|
||||
@@ -1258,14 +1258,14 @@ namespace Game.Networking.Packets
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteUInt32((uint)Type);
|
||||
_worldPacket.WriteUInt32(TimeLeft);
|
||||
_worldPacket.WriteUInt32(TotalTime);
|
||||
_worldPacket.WriteUInt32(TimeLeft);
|
||||
_worldPacket.WriteInt32((int)Type);
|
||||
}
|
||||
|
||||
public TimerType Type;
|
||||
public uint TimeLeft;
|
||||
public uint TotalTime;
|
||||
public uint TimeLeft;
|
||||
public TimerType Type;
|
||||
}
|
||||
|
||||
class ConversationLineStarted : ClientPacket
|
||||
|
||||
Reference in New Issue
Block a user