Core/Misc: Updated SpellCastResult, GameError and HotfixStatus enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/262ee285db1c69169210fc09cebca91a19cea4f2)
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Game.Networking.Packets
|
||||
_worldPacket.WriteUInt32(TableHash);
|
||||
_worldPacket.WriteUInt32(RecordID);
|
||||
_worldPacket.WriteUInt32(Timestamp);
|
||||
_worldPacket.WriteBits((byte)Status, 2);
|
||||
_worldPacket.WriteBits((byte)Status, 3);
|
||||
_worldPacket.WriteUInt32(Data.GetSize());
|
||||
_worldPacket.WriteBytes(Data.GetData());
|
||||
}
|
||||
@@ -140,7 +140,7 @@ namespace Game.Networking.Packets
|
||||
{
|
||||
Record.Write(data);
|
||||
data.WriteUInt32(Size);
|
||||
data.WriteBits((byte)Record.HotfixStatus, 2);
|
||||
data.WriteBits((byte)Record.HotfixStatus, 3);
|
||||
data.FlushBits();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user