From e521e70f76cc52930fbe565d38b370c9274b72ba Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 21 Aug 2020 18:13:02 -0400 Subject: [PATCH] Core/PacketIO: Fixed SMSG_WORLD_SERVER_INFO structure Port From (https://github.com/TrinityCore/TrinityCore/commit/7e4fdf052266ceb8859fbcf769d9b70250baec40) --- Source/Game/Networking/Packets/MiscPackets.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Networking/Packets/MiscPackets.cs b/Source/Game/Networking/Packets/MiscPackets.cs index 860b6f67a..a4b2111b7 100644 --- a/Source/Game/Networking/Packets/MiscPackets.cs +++ b/Source/Game/Networking/Packets/MiscPackets.cs @@ -356,6 +356,7 @@ namespace Game.Networking.Packets _worldPacket.WriteUInt32(DifficultyID); _worldPacket.WriteUInt8(IsTournamentRealm); _worldPacket.WriteBit(XRealmPvpAlert); + _worldPacket.WriteBit(BlockExitingLoadingScreen); _worldPacket.WriteBit(RestrictedAccountMaxLevel.HasValue); _worldPacket.WriteBit(RestrictedAccountMaxMoney.HasValue); _worldPacket.WriteBit(InstanceGroupSize.HasValue); @@ -374,6 +375,8 @@ namespace Game.Networking.Packets public uint DifficultyID; public byte IsTournamentRealm; public bool XRealmPvpAlert; + public bool BlockExitingLoadingScreen; // when set to true, sending SMSG_UPDATE_OBJECT with CreateObject Self bit = true will not hide loading screen + // instead it will be done after this packet is sent again with false in this bit and SMSG_UPDATE_OBJECT Values for player public Optional RestrictedAccountMaxLevel; public Optional RestrictedAccountMaxMoney; public Optional InstanceGroupSize;