mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/PacketIO: Name unknown field in SMSG_FEATURE_SYSTEM_STATUS
This commit is contained in:
@@ -1191,6 +1191,7 @@ void WorldSession::SendFeatureSystemStatus()
|
||||
|
||||
features.CharUndeleteEnabled = sWorld->getBoolConfig(CONFIG_FEATURE_SYSTEM_CHARACTER_UNDELETE_ENABLED);
|
||||
features.BpayStoreEnabled = sWorld->getBoolConfig(CONFIG_FEATURE_SYSTEM_BPAY_STORE_ENABLED);
|
||||
features.IsMuted = !CanSpeak();
|
||||
|
||||
SendPacket(features.Write());
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ WorldPacket const* WorldPackets::System::FeatureSystemStatus::Write()
|
||||
_worldPacket.WriteBit(VoiceChatDisabledByParentalControl);
|
||||
_worldPacket.WriteBit(VoiceChatMutedByParentalControl);
|
||||
_worldPacket.WriteBit(QuestSessionEnabled);
|
||||
_worldPacket.WriteBit(Unused825);
|
||||
_worldPacket.WriteBit(IsMuted);
|
||||
_worldPacket.WriteBit(ClubFinderEnabled);
|
||||
|
||||
_worldPacket.FlushBits();
|
||||
@@ -121,7 +121,7 @@ WorldPacket const* WorldPackets::System::FeatureSystemStatus::Write()
|
||||
}
|
||||
|
||||
{
|
||||
_worldPacket.WriteBit(VoiceChatManagerSettings.Enabled);
|
||||
_worldPacket.WriteBit(VoiceChatManagerSettings.IsSquelched);
|
||||
_worldPacket << VoiceChatManagerSettings.BnetAccountGuid;
|
||||
_worldPacket << VoiceChatManagerSettings.GuildGuid;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace WorldPackets
|
||||
|
||||
struct VoiceChatProxySettings
|
||||
{
|
||||
bool Enabled = false;
|
||||
bool IsSquelched = false;
|
||||
ObjectGuid BnetAccountGuid;
|
||||
ObjectGuid GuildGuid;
|
||||
};
|
||||
@@ -142,7 +142,7 @@ namespace WorldPackets
|
||||
bool VoiceChatDisabledByParentalControl = false;
|
||||
bool VoiceChatMutedByParentalControl = false;
|
||||
bool QuestSessionEnabled = false;
|
||||
bool Unused825 = false;
|
||||
bool IsMuted = false;
|
||||
bool ClubFinderEnabled = false;
|
||||
|
||||
Optional<std::vector<uint8>> RaceClassExpansionLevels;
|
||||
|
||||
Reference in New Issue
Block a user