Messed up the commit history, so here is all the files rip, Credit to TrinityCore

This commit is contained in:
hondacrx
2023-09-16 08:42:35 -04:00
parent 87284bbded
commit f636ea225f
373 changed files with 158910 additions and 2170 deletions
@@ -85,6 +85,7 @@ namespace Game.Networking.Packets
_worldPacket.WriteBit(AddonsDisabled);
_worldPacket.WriteBit(Unused1000);
_worldPacket.WriteBit(ContentTrackingEnabled);
_worldPacket.WriteBit(IsSellAllJunkEnabled);
_worldPacket.FlushBits();
@@ -178,6 +179,7 @@ namespace Game.Networking.Packets
public bool AddonsDisabled;
public bool Unused1000;
public bool ContentTrackingEnabled;
public bool IsSellAllJunkEnabled;
public SocialQueueConfig QuickJoinConfig;
public SquelchInfo Squelch;
@@ -272,6 +274,10 @@ namespace Game.Networking.Packets
_worldPacket.WriteBit(AccountSaveDataExportEnabled);
_worldPacket.WriteBit(AccountLockedByExport);
_worldPacket.WriteBit(!RealmHiddenAlert.IsEmpty());
if (!RealmHiddenAlert.IsEmpty())
_worldPacket.WriteBits(RealmHiddenAlert.GetByteCount() + 1, 11);
_worldPacket.FlushBits();
@@ -299,6 +305,9 @@ namespace Game.Networking.Packets
if (LaunchETA.HasValue)
_worldPacket.WriteInt32(LaunchETA.Value);
if (!RealmHiddenAlert.IsEmpty())
_worldPacket.WriteString(RealmHiddenAlert);
foreach (var sourceRegion in LiveRegionCharacterCopySourceRegions)
_worldPacket.WriteInt32(sourceRegion);
@@ -349,6 +358,7 @@ namespace Game.Networking.Packets
public int? LaunchETA;
public List<DebugTimeEventInfo> DebugTimeEvents = new();
public int Unused1007;
public string RealmHiddenAlert;
}
public class MOTD : ServerPacket