Core/PacketIO: Implemented splash screen opcodes

Port From (https://github.com/TrinityCore/TrinityCore/commit/14b8d7d8393bb99ef66ec833bf89c3d6ce7683ab)
This commit is contained in:
hondacrx
2021-11-15 22:22:12 -05:00
parent ee8228582b
commit d87e2cd315
5 changed files with 70 additions and 0 deletions
@@ -1263,6 +1263,25 @@ namespace Game.Networking.Packets
LineID = _worldPacket.ReadUInt32();
}
}
class RequestLatestSplashScreen : ClientPacket
{
public RequestLatestSplashScreen(WorldPacket packet) : base(packet) { }
public override void Read() { }
}
class SplashScreenShowLatest : ServerPacket
{
public SplashScreenShowLatest() : base(ServerOpcodes.SplashScreenShowLatest, ConnectionType.Instance) { }
public override void Write()
{
_worldPacket.WriteUInt32(UISplashScreenID);
}
public uint UISplashScreenID;
}
class DisplayGameError : ServerPacket
{