Core/PacketIO: Convert all leftover packets to use packet classes

Port From (https://github.com/TrinityCore/TrinityCore/commit/661470c6587c11e3fa94d2e8b57c92d8be2e297b)
This commit is contained in:
hondacrx
2020-07-14 23:00:31 -04:00
parent 4bb9823456
commit baa9ab6558
15 changed files with 251 additions and 186 deletions
@@ -105,6 +105,13 @@ namespace Game.Networking.Packets
public int GameTimeHolidayOffset;
}
public class ResetWeeklyCurrency : ServerPacket
{
public ResetWeeklyCurrency() : base(ServerOpcodes.ResetWeeklyCurrency, ConnectionType.Instance) { }
public override void Write() { }
}
public class SetCurrency : ServerPacket
{
public SetCurrency() : base(ServerOpcodes.SetCurrency, ConnectionType.Instance) { }
@@ -168,13 +175,6 @@ namespace Game.Networking.Packets
public uint Type;
}
public class ResetWeeklyCurrency : ServerPacket
{
public ResetWeeklyCurrency() : base(ServerOpcodes.ResetWeeklyCurrency, ConnectionType.Instance) { }
public override void Write() { }
}
public class SetSelection : ClientPacket
{
public SetSelection(WorldPacket packet) : base(packet) { }