Core/PacketIO: Fixed structure of SMSG_START_TIMER

Port From (https://github.com/TrinityCore/TrinityCore/commit/06010c11b138752e475c59a594b42d4e9a7241bd)
This commit is contained in:
hondacrx
2022-07-16 19:37:54 -04:00
parent 8258d517cf
commit c2c93fa061
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -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