Core/World: Refactor World::LoadConfigSettings to unify validation of all config options and reduce its impact on compile time

This commit is contained in:
Shauren
2025-05-08 14:24:29 +02:00
parent ee251a94d6
commit b6d64447ba
10 changed files with 586 additions and 1092 deletions

View File

@@ -1522,7 +1522,6 @@ void WorldSession::SendFeatureSystemStatus()
features.EuropaTicketSystemStatus->SuggestionsEnabled = sWorld->getBoolConfig(CONFIG_SUPPORT_SUGGESTIONS_ENABLED);
features.CharUndeleteEnabled = sWorld->getBoolConfig(CONFIG_FEATURE_SYSTEM_CHARACTER_UNDELETE_ENABLED);
features.BpayStoreEnabled = sWorld->getBoolConfig(CONFIG_FEATURE_SYSTEM_BPAY_STORE_ENABLED);
features.IsChatMuted = !CanSpeak();
features.SpeakForMeAllowed = false;