TrinityCore
World.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
21
22#ifndef __WORLD_H
23#define __WORLD_H
24
25#include "Common.h"
27#include "DatabaseEnvFwd.h"
28#include "LockedQueue.h"
29#include "ObjectGuid.h"
30#include "Optional.h"
31#include "SharedDefines.h"
32#include "Timer.h"
33
34#include <atomic>
35#include <list>
36#include <map>
37#include <memory>
38#include <unordered_map>
39#include <vector>
40
41class Player;
42class WorldPacket;
43class WorldSession;
44class WorldSocket;
45struct Realm;
46
47// ServerMessages.dbc
49{
63};
64
66{
70};
71
73{
77};
78
81{
99};
100
103{
203
205{
230
232{
443
445{
449
452{
537
539
542{
543 using Print = void(*)(void*, std::string_view);
544 using CommandFinished = void(*)(void*, bool success);
545
550
551 CliCommandHolder(void* callbackArg, char const* command, Print zprint, CommandFinished commandFinished);
553
554private:
555 CliCommandHolder(CliCommandHolder const& right) = delete;
557};
558
559typedef std::unordered_map<uint32, WorldSession*> SessionMap;
560
563{
564 public:
565 static World* instance();
566
567 static std::atomic<uint32> m_worldLoopCounter;
568
569 WorldSession* FindSession(uint32 id) const;
570 void AddSession(WorldSession* s);
571 void AddInstanceSocket(std::weak_ptr<WorldSocket> sock, uint64 connectToKey);
572 void SendAutoBroadcast();
573 bool RemoveSession(uint32 id);
575 void UpdateMaxSessionCounters();
576 SessionMap const& GetAllSessions() const { return m_sessions; }
577 uint32 GetActiveAndQueuedSessionCount() const { return uint32(m_sessions.size()); }
578 uint32 GetActiveSessionCount() const { return uint32(m_sessions.size() - m_QueuedPlayer.size()); }
579 uint32 GetQueuedSessionCount() const { return uint32(m_QueuedPlayer.size()); }
581 uint32 GetMaxQueuedSessionCount() const { return m_maxQueuedSessionCount; }
582 uint32 GetMaxActiveSessionCount() const { return m_maxActiveSessionCount; }
584 inline uint32 GetPlayerCount() const { return m_PlayerCount; }
585 inline uint32 GetMaxPlayerCount() const { return m_MaxPlayerCount; }
588 {
589 m_PlayerCount++;
590 m_MaxPlayerCount = std::max(m_MaxPlayerCount, m_PlayerCount);
591 }
592 inline void DecreasePlayerCount() { m_PlayerCount--; }
593
594 Player* FindPlayerInZone(uint32 zone);
595
597 bool IsClosed() const;
598
600 void SetClosed(bool val);
601
603 AccountTypes GetPlayerSecurityLimit() const { return m_allowedSecurityLevel; }
604 void SetPlayerSecurityLimit(AccountTypes sec);
605 void LoadDBAllowedSecurityLevel();
606
608 void SetPlayerAmountLimit(uint32 limit) { m_playerLimit = limit; }
609 uint32 GetPlayerAmountLimit() const { return m_playerLimit; }
610
611 //player Queue
612 typedef std::list<WorldSession*> Queue;
613 void AddQueuedPlayer(WorldSession*);
614 bool RemoveQueuedPlayer(WorldSession* session);
615 int32 GetQueuePos(WorldSession*);
616 bool HasRecentlyDisconnected(WorldSession*);
617
620 bool getAllowMovement() const { return m_allowMovement; }
622 void SetAllowMovement(bool allow) { m_allowMovement = allow; }
623
625 void SetMotd(std::string motd);
627 std::vector<std::string> const& GetMotd() const;
628
630 void SetNewCharString(std::string const& str) { m_newCharString = str; }
632 std::string const& GetNewCharString() const { return m_newCharString; }
633
634 LocaleConstant GetDefaultDbcLocale() const { return m_defaultDbcLocale; }
635
637 std::string const& GetDataPath() const { return m_dataPath; }
638
640 time_t GetNextDailyQuestsResetTime() const { return m_NextDailyQuestReset; }
641 time_t GetNextWeeklyQuestsResetTime() const { return m_NextWeeklyQuestReset; }
642 time_t GetNextRandomBGResetTime() const { return m_NextRandomBGReset; }
643
646 {
647 uint8 lvl = uint8(getIntConfig(CONFIG_MAX_PLAYER_LEVEL));
648 return lvl > 60 ? 300 + ((lvl - 60) * 75) / 10 : lvl * 5;
649 }
650
651 void SetInitialWorldSettings();
652 void LoadConfigSettings(bool reload = false);
653
654 void SendWorldText(uint32 string_id, ...);
655 void SendGlobalText(char const* text, WorldSession* self);
656 void SendGMText(uint32 string_id, ...);
657 void SendServerMessage(ServerMessageType messageID, std::string_view stringParam = {}, Player const* player = nullptr);
658 void SendGlobalMessage(WorldPacket const* packet, WorldSession* self = nullptr, Optional<Team> team = { });
659 void SendGlobalGMMessage(WorldPacket const* packet, WorldSession* self = nullptr, Optional<Team> team = { });
660 bool SendZoneMessage(uint32 zone, WorldPacket const* packet, WorldSession* self = nullptr, Optional<Team> team = { });
661 void SendZoneText(uint32 zone, const char *text, WorldSession* self = nullptr, Optional<Team> team = { });
662
664 bool IsShuttingDown() const { return m_ShutdownTimer > 0; }
665 uint32 GetShutDownTimeLeft() const { return m_ShutdownTimer; }
666 void ShutdownServ(uint32 time, uint32 options, uint8 exitcode, const std::string& reason = std::string());
667 uint32 ShutdownCancel();
668 void ShutdownMsg(bool show = false, Player* player = nullptr, const std::string& reason = std::string());
669 static uint8 GetExitCode() { return m_ExitCode; }
670 static void StopNow(uint8 exitcode) { m_stopEvent = true; m_ExitCode = exitcode; }
671 static bool IsStopped() { return m_stopEvent; }
672
673 void Update(uint32 diff);
674
675 void UpdateSessions(uint32 diff);
677 void setRate(Rates rate, float value) { rate_values[rate]=value; }
679 float getRate(Rates rate) const { return rate_values[rate]; }
680
682 void setBoolConfig(WorldBoolConfigs index, bool value)
683 {
684 if (index < BOOL_CONFIG_VALUE_COUNT)
685 m_bool_configs[index] = value;
686 }
687
690 {
691 return index < BOOL_CONFIG_VALUE_COUNT ? m_bool_configs[index] : 0;
692 }
693
695 void setFloatConfig(WorldFloatConfigs index, float value)
696 {
697 if (index < FLOAT_CONFIG_VALUE_COUNT)
698 m_float_configs[index] = value;
699 }
700
703 {
704 return index < FLOAT_CONFIG_VALUE_COUNT ? m_float_configs[index] : 0;
705 }
706
709 {
710 if (index < INT_CONFIG_VALUE_COUNT)
711 m_int_configs[index] = value;
712 }
713
716 {
717 return index < INT_CONFIG_VALUE_COUNT ? m_int_configs[index] : 0;
718 }
719
721 {
722 return index < INT64_CONFIT_VALUE_COUNT ? m_int64_configs[index] : 0;
723 }
724
725 static PersistentWorldVariable const NextCurrencyResetTimeVarId; // Next arena distribution time
726 static PersistentWorldVariable const NextWeeklyQuestResetTimeVarId; // Next weekly quest reset time
727 static PersistentWorldVariable const NextBGRandomDailyResetTimeVarId; // Next daily BG reset time
729 static PersistentWorldVariable const NextGuildDailyResetTimeVarId; // Next guild cap reset time
730 static PersistentWorldVariable const NextMonthlyQuestResetTimeVarId; // Next monthly quest reset time
731 static PersistentWorldVariable const NextDailyQuestResetTimeVarId; // Next daily quest reset time
732 static PersistentWorldVariable const NextOldCalendarEventDeletionTimeVarId; // Next daily calendar deletions of old events time
733 static PersistentWorldVariable const NextGuildWeeklyResetTimeVarId; // Next guild week reset time
734
735 int32 GetPersistentWorldVariable(PersistentWorldVariable const& var) const;
736 void SetPersistentWorldVariable(PersistentWorldVariable const& var, int32 value);
737 void LoadPersistentWorldVariables();
738
740 bool IsPvPRealm() const;
741 bool IsFFAPvPRealm() const;
742
743 void KickAll();
744 void KickAllLess(AccountTypes sec);
745 BanReturn BanAccount(BanMode mode, std::string const& nameOrIP, std::string const& duration, std::string const& reason, std::string const& author);
746 BanReturn BanAccount(BanMode mode, std::string const& nameOrIP, uint32 duration_secs, std::string const& reason, std::string const& author);
747 bool RemoveBanAccount(BanMode mode, std::string const& nameOrIP);
748 BanReturn BanCharacter(std::string const& name, std::string const& duration, std::string const& reason, std::string const& author);
749 bool RemoveBanCharacter(std::string const& name);
750
751 // for max speed access
752 static float GetMaxVisibleDistanceOnContinents() { return m_MaxVisibleDistanceOnContinents; }
753 static float GetMaxVisibleDistanceInInstances() { return m_MaxVisibleDistanceInInstances; }
754 static float GetMaxVisibleDistanceInBG() { return m_MaxVisibleDistanceInBG; }
755 static float GetMaxVisibleDistanceInArenas() { return m_MaxVisibleDistanceInArenas; }
756
757 static int32 GetVisibilityNotifyPeriodOnContinents(){ return m_visibility_notify_periodOnContinents; }
758 static int32 GetVisibilityNotifyPeriodInInstances() { return m_visibility_notify_periodInInstances; }
759 static int32 GetVisibilityNotifyPeriodInBG() { return m_visibility_notify_periodInBG; }
760 static int32 GetVisibilityNotifyPeriodInArenas() { return m_visibility_notify_periodInArenas; }
761
762 void ProcessCliCommands();
763 void QueueCliCommand(CliCommandHolder* commandHolder) { cliCmdQueue.add(commandHolder); }
764
765 void ForceGameEventUpdate();
766
767 void UpdateRealmCharCount(uint32 accountId);
768
769 LocaleConstant GetAvailableDbcLocale(LocaleConstant locale) const { if (m_availableDbcLocaleMask & (1 << locale)) return locale; else return m_defaultDbcLocale; }
770
771 // used World DB version
772 void LoadDBVersion();
773 char const* GetDBVersion() const { return m_DBVersion.c_str(); }
774
775 void LoadAutobroadcasts();
776
777 void UpdateAreaDependentAuras();
778
779 bool IsBattlePetJournalLockAcquired(ObjectGuid battlenetAccountGuid);
780
781 uint32 GetCleaningFlags() const { return m_CleaningFlags; }
782 void SetCleaningFlags(uint32 flags) { m_CleaningFlags = flags; }
783 void ResetEventSeasonalQuests(uint16 event_id, time_t eventStartTime);
784
785 void ReloadRBAC();
786
787 void RemoveOldCorpses();
788 void TriggerGuidWarning();
789 void TriggerGuidAlert();
790 bool IsGuidWarning() { return _guidWarn; }
791 bool IsGuidAlert() { return _guidAlert; }
792
793 // War mode balancing
794 void SetForcedWarModeFactionBalanceState(TeamId team, int32 reward = 0);
795 void DisableForcedWarModeFactionBalanceState();
796
797 protected:
798 void _UpdateGameTime();
799
800 // callback for UpdateRealmCharacters
801 void _UpdateRealmCharCount(PreparedQueryResult resultCharCount);
802
803 void InitQuestResetTimes();
804 void CheckScheduledResetTimes();
805 void InitCurrencyResetTime();
806 void DailyReset();
807 void ResetWeeklyQuests();
808 void ResetMonthlyQuests();
809
810 void InitRandomBGResetTime();
811 void InitCalendarOldEventsDeletionTime();
812 void InitGuildResetTime();
813 void ResetRandomBG();
814 void CalendarDeleteOldEvents();
815 void ResetGuildCap();
816 void ResetCurrencyWeekCap();
817 private:
818 World();
819 ~World();
820
821 static std::atomic<bool> m_stopEvent;
825
827
829
834
836 std::unordered_multimap<ObjectGuid, WorldSession*> m_sessionsByBnetGuid;
837 typedef std::unordered_map<uint32, time_t> DisconnectMap;
843
844 std::string m_newCharString;
845
846 float rate_values[MAX_RATES];
849 bool m_bool_configs[BOOL_CONFIG_VALUE_COUNT];
850 float m_float_configs[FLOAT_CONFIG_VALUE_COUNT];
851 std::unordered_map<std::string, int32> m_worldVariables;
854 LocaleConstant m_defaultDbcLocale; // from config for one from loaded DBC locales
857 std::vector<std::string> _motd;
858 std::string m_dataPath;
859
860 // for max speed access
865
870
871 // CLI command holder to be thread safe
873
874 // scheduled reset times
882
883 //Player Queue
885
886 // sessions that are added async
887 void AddSession_(WorldSession* s);
889
890 void ProcessLinkInstanceSocket(std::pair<std::weak_ptr<WorldSocket>, uint64> linkInfo);
892
893 // used versions
894 std::string m_DBVersion;
895
897 {
898 std::string Message;
900 };
901 typedef std::unordered_map<uint8, Autobroadcast> AutobroadcastContainer;
903
904 void ProcessQueryCallbacks();
905
906 void SendGuidWarning();
907 void DoGuidWarningRestart();
908 void DoGuidAlertRestart();
910
911 std::string _guidWarningMsg;
913
914 std::mutex _guidAlertLock;
915
920
921 // War mode balancing
922 void UpdateWarModeRewardValues();
923
925};
926
927TC_GAME_API extern Realm realm;
928
930
931#define sWorld World::instance()
932
933#endif
LocaleConstant
Definition: Common.h:48
AccountTypes
Definition: Common.h:39
std::shared_ptr< PreparedResultSet > PreparedQueryResult
#define TC_GAME_API
Definition: Define.h:123
uint8_t uint8
Definition: Define.h:144
int32_t int32
Definition: Define.h:138
uint64_t uint64
Definition: Define.h:141
uint16_t uint16
Definition: Define.h:143
uint32_t uint32
Definition: Define.h:142
uint16 flags
Definition: DisableMgr.cpp:49
std::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Optional.h:25
BanReturn
Ban function return codes.
TeamId
BanMode
Ban function modes.
Player session in the World.
Definition: WorldSession.h:963
The World.
Definition: World.h:563
time_t m_NextWeeklyQuestReset
Definition: World.h:876
static PersistentWorldVariable const NextGuildDailyResetTimeVarId
Definition: World.h:729
uint32 getIntConfig(WorldIntConfigs index) const
Get a server configuration element (see #WorldConfigs)
Definition: World.h:715
LocaleConstant m_defaultDbcLocale
Definition: World.h:854
static uint8 GetExitCode()
Definition: World.h:669
static int32 m_visibility_notify_periodInBG
Definition: World.h:868
static uint8 m_ExitCode
Definition: World.h:822
SessionMap m_sessions
Definition: World.h:835
static int32 m_visibility_notify_periodInInstances
Definition: World.h:867
static std::atomic< uint32 > m_worldLoopCounter
Definition: World.h:567
uint32 GetCleaningFlags() const
Definition: World.h:781
static PersistentWorldVariable const NextOldCalendarEventDeletionTimeVarId
Definition: World.h:732
AccountTypes m_allowedSecurityLevel
Definition: World.h:853
void SetAllowMovement(bool allow)
Allow/Disallow object movements.
Definition: World.h:622
time_t blackmarket_timer
Definition: World.h:833
static float GetMaxVisibleDistanceInInstances()
Definition: World.h:753
static std::atomic< bool > m_stopEvent
Definition: World.h:821
std::string m_dataPath
Definition: World.h:858
static int32 GetVisibilityNotifyPeriodOnContinents()
Definition: World.h:757
static PersistentWorldVariable const NextMonthlyQuestResetTimeVarId
Definition: World.h:730
void SetNewCharString(std::string const &str)
Set the string for new characters (first login)
Definition: World.h:630
LockedQueue< WorldSession * > addSessQueue
Definition: World.h:888
static float m_MaxVisibleDistanceInArenas
Definition: World.h:864
static float m_MaxVisibleDistanceInBG
Definition: World.h:863
QueryCallbackProcessor _queryProcessor
Definition: World.h:909
Queue m_QueuedPlayer
Definition: World.h:884
static PersistentWorldVariable const CharacterDatabaseCleaningFlagsVarId
Definition: World.h:728
std::mutex _guidAlertLock
Definition: World.h:914
uint32 GetQueuedSessionCount() const
Definition: World.h:579
uint64 GetUInt64Config(WorldInt64Configs index) const
Definition: World.h:720
uint32 GetMaxQueuedSessionCount() const
Get the maximum number of parallel sessions on the server since last reboot.
Definition: World.h:581
static PersistentWorldVariable const NextCurrencyResetTimeVarId
Definition: World.h:725
void setRate(Rates rate, float value)
Set a server rate (see Rates)
Definition: World.h:677
uint32 m_CleaningFlags
Definition: World.h:826
static PersistentWorldVariable const NextDailyQuestResetTimeVarId
Definition: World.h:731
uint32 m_maxActiveSessionCount
Definition: World.h:839
static float GetMaxVisibleDistanceInBG()
Definition: World.h:754
time_t GetNextRandomBGResetTime() const
Definition: World.h:642
uint32 GetShutDownTimeLeft() const
Definition: World.h:665
time_t m_NextDailyQuestReset
Definition: World.h:875
uint32 m_PlayerCount
Definition: World.h:841
time_t _warnShutdownTime
Definition: World.h:919
static int32 GetVisibilityNotifyPeriodInArenas()
Definition: World.h:760
bool IsShuttingDown() const
Are we in the middle of a shutdown?
Definition: World.h:664
time_t m_NextCurrencyReset
Definition: World.h:881
std::list< WorldSession * > Queue
Definition: World.h:612
LocaleConstant GetAvailableDbcLocale(LocaleConstant locale) const
Definition: World.h:769
time_t m_NextRandomBGReset
Definition: World.h:878
float getRate(Rates rate) const
Get a server rate (see Rates)
Definition: World.h:679
void setFloatConfig(WorldFloatConfigs index, float value)
Set a server configuration element (see #WorldConfigs)
Definition: World.h:695
static PersistentWorldVariable const NextGuildWeeklyResetTimeVarId
Definition: World.h:733
std::string m_DBVersion
Definition: World.h:894
time_t mail_timer_expires
Definition: World.h:832
bool getAllowMovement() const
Definition: World.h:620
std::unordered_multimap< ObjectGuid, WorldSession * > m_sessionsByBnetGuid
Definition: World.h:836
bool getBoolConfig(WorldBoolConfigs index) const
Get a server configuration element (see #WorldConfigs)
Definition: World.h:689
static PersistentWorldVariable const NextBGRandomDailyResetTimeVarId
Definition: World.h:727
uint32 GetActiveSessionCount() const
Definition: World.h:578
DisconnectMap m_disconnects
Definition: World.h:838
time_t m_NextCalendarOldEventsDeletionTime
Definition: World.h:879
bool IsGuidAlert()
Definition: World.h:791
uint32 m_availableDbcLocaleMask
Definition: World.h:855
time_t GetNextWeeklyQuestsResetTime() const
Definition: World.h:641
time_t mail_timer
Definition: World.h:831
std::string _guidWarningMsg
Definition: World.h:911
uint32 m_ShutdownMask
Definition: World.h:824
time_t m_NextGuildReset
Definition: World.h:880
AutobroadcastContainer m_Autobroadcasts
Definition: World.h:902
uint32 m_ShutdownTimer
Definition: World.h:823
static int32 m_visibility_notify_periodInArenas
Definition: World.h:869
AccountTypes GetPlayerSecurityLimit() const
Security level limitations.
Definition: World.h:603
uint32 GetPlayerAmountLimit() const
Definition: World.h:609
std::string _alertRestartReason
Definition: World.h:912
static PersistentWorldVariable const NextWeeklyQuestResetTimeVarId
Definition: World.h:726
std::string const & GetDataPath() const
Get the path where data (dbc, maps) are stored on disk.
Definition: World.h:637
uint16 GetConfigMaxSkillValue() const
Get the maximum skill level a player can reach.
Definition: World.h:645
static void StopNow(uint8 exitcode)
Definition: World.h:670
void IncreasePlayerCount()
Increase/Decrease number of players.
Definition: World.h:587
static int32 GetVisibilityNotifyPeriodInBG()
Definition: World.h:759
void SetCleaningFlags(uint32 flags)
Definition: World.h:782
char const * GetDBVersion() const
Definition: World.h:773
uint32 m_MaxPlayerCount
Definition: World.h:842
void setIntConfig(WorldIntConfigs index, uint32 value)
Set a server configuration element (see #WorldConfigs)
Definition: World.h:708
float getFloatConfig(WorldFloatConfigs index) const
Get a server configuration element (see #WorldConfigs)
Definition: World.h:702
void DecreasePlayerCount()
Definition: World.h:592
LocaleConstant GetDefaultDbcLocale() const
Definition: World.h:634
static float m_MaxVisibleDistanceOnContinents
Definition: World.h:861
std::string m_newCharString
Definition: World.h:844
uint32 GetActiveAndQueuedSessionCount() const
Definition: World.h:577
static int32 GetVisibilityNotifyPeriodInInstances()
Definition: World.h:758
static float m_MaxVisibleDistanceInInstances
Definition: World.h:862
std::unordered_map< uint32, time_t > DisconnectMap
Definition: World.h:837
bool _guidWarn
Definition: World.h:916
uint32 GetMaxActiveSessionCount() const
Definition: World.h:582
bool m_isClosed
Definition: World.h:828
uint32 GetMaxPlayerCount() const
Definition: World.h:585
uint32 GetPlayerCount() const
Get number of players.
Definition: World.h:584
bool _guidAlert
Definition: World.h:917
std::unordered_map< std::string, int32 > m_worldVariables
Definition: World.h:851
std::unordered_map< uint8, Autobroadcast > AutobroadcastContainer
Definition: World.h:901
void QueueCliCommand(CliCommandHolder *commandHolder)
Definition: World.h:763
bool IsGuidWarning()
Definition: World.h:790
static bool IsStopped()
Definition: World.h:671
time_t m_NextMonthlyQuestReset
Definition: World.h:877
std::vector< std::string > _motd
Definition: World.h:857
uint32 m_maxQueuedSessionCount
Definition: World.h:840
static int32 m_visibility_notify_periodOnContinents
Definition: World.h:866
time_t GetNextDailyQuestsResetTime() const
Next daily quests and random bg reset time.
Definition: World.h:640
uint32 m_playerLimit
Definition: World.h:852
void SetPlayerAmountLimit(uint32 limit)
Active session server limit.
Definition: World.h:608
LockedQueue< std::pair< std::weak_ptr< WorldSocket >, uint64 > > _linkSocketQueue
Definition: World.h:891
bool m_allowMovement
Definition: World.h:856
static float GetMaxVisibleDistanceOnContinents()
Definition: World.h:752
void setBoolConfig(WorldBoolConfigs index, bool value)
Set a server configuration element (see #WorldConfigs)
Definition: World.h:682
std::string const & GetNewCharString() const
Get the string for new characters (first login)
Definition: World.h:632
static float GetMaxVisibleDistanceInArenas()
Definition: World.h:755
uint32 _warnDiff
Definition: World.h:918
LockedQueue< CliCommandHolder * > cliCmdQueue
Definition: World.h:872
SessionMap const & GetAllSessions() const
Definition: World.h:576
void commandFinished(void *, bool)
Definition: CliRunnable.cpp:86
ServerMessageType
Definition: World.h:49
WorldIntConfigs
Definition: World.h:232
WorldBoolConfigs
Configuration elements.
Definition: World.h:103
std::unordered_map< uint32, WorldSession * > SessionMap
Definition: World.h:559
WorldTimers
Timers for different object refresh rates.
Definition: World.h:81
TC_GAME_API uint32 GetVirtualRealmAddress()
Definition: World.cpp:3968
Rates
Server rates.
Definition: World.h:452
TC_GAME_API Realm realm
Definition: World.cpp:3966
WorldInt64Configs
Definition: World.h:445
WorldFloatConfigs
Definition: World.h:205
ShutdownExitCode
Definition: World.h:73
ShutdownMask
Definition: World.h:66
@ SERVER_MSG_SHUTDOWN_TIME
Definition: World.h:50
@ SERVER_MSG_INSTANCE_SHUTDOWN_TIME
Definition: World.h:57
@ SERVER_MSG_BG_SHUTDOWN_TIME
Definition: World.h:55
@ SERVER_MSG_INSTANCE_RESTART_TIME
Definition: World.h:58
@ SERVER_MSG_STRING
Definition: World.h:52
@ SERVER_MSG_SHUTDOWN_CANCELLED
Definition: World.h:53
@ SERVER_MSG_TICKET_SERVICED_SOON
Definition: World.h:60
@ SERVER_MSG_WAIT_TIME_UNAVAILABLE
Definition: World.h:61
@ SERVER_MSG_CONTENT_READY
Definition: World.h:59
@ SERVER_MSG_RESTART_CANCELLED
Definition: World.h:54
@ SERVER_MSG_TICKET_WAIT_TIME
Definition: World.h:62
@ SERVER_MSG_BG_RESTART_TIME
Definition: World.h:56
@ SERVER_MSG_RESTART_TIME
Definition: World.h:51
@ CONFIG_AUTOBROADCAST_CENTER
Definition: World.h:374
@ CONFIG_CURRENCY_MAX_JUSTICE_POINTS
Definition: World.h:270
@ CONFIG_ARENA_START_MATCHMAKER_RATING
Definition: World.h:350
@ CONFIG_RESPAWN_RESTARTQUIETTIME
Definition: World.h:433
@ CONFIG_ARENA_SEASON_ID
Definition: World.h:347
@ CONFIG_CORPSE_DECAY_ELITE
Definition: World.h:331
@ CONFIG_MAX_INSTANCES_PER_HOUR
Definition: World.h:382
@ CONFIG_GUILD_EVENT_LOG_COUNT
Definition: World.h:363
@ CONFIG_ARENA_START_RATING
Definition: World.h:348
@ CONFIG_SOCKET_TIMEOUTTIME
Definition: World.h:241
@ CONFIG_MAX_OVERSPEED_PINGS
Definition: World.h:307
@ CONFIG_WARDEN_NUM_LUA_CHECKS
Definition: World.h:389
@ CONFIG_NO_GRAY_AGGRO_BELOW
Definition: World.h:424
@ CONFIG_CHARDELETE_METHOD
Definition: World.h:370
@ CONFIG_SESSION_ADD_DELAY
Definition: World.h:242
@ CONFIG_MIN_CREATURE_SCALED_XP_RATIO
Definition: World.h:284
@ CONFIG_CORPSE_DECAY_OBSOLETE
Definition: World.h:333
@ INT_CONFIG_VALUE_COUNT
Definition: World.h:441
@ CONFIG_CHARACTER_CREATING_DISABLED_CLASSMASK
Definition: World.h:252
@ CONFIG_WARDEN_CLIENT_BAN_DURATION
Definition: World.h:387
@ CONFIG_CLIENTCACHE_VERSION
Definition: World.h:361
@ CONFIG_TOLBARAD_BATTLETIME
Definition: World.h:400
@ CONFIG_DAILY_QUEST_RESET_TIME_HOUR
Definition: World.h:279
@ CONFIG_CURRENCY_RESET_DAY
Definition: World.h:272
@ CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF
Definition: World.h:317
@ CONFIG_CREATURE_PICKPOCKET_REFILL
Definition: World.h:415
@ CONFIG_BG_REWARD_WINNER_CONQUEST_FIRST
Definition: World.h:413
@ CONFIG_SKILL_CHANCE_ORANGE
Definition: World.h:299
@ CONFIG_GM_CHAT
Definition: World.h:288
@ CONFIG_RESPAWN_DYNAMICMODE
Definition: World.h:430
@ CONFIG_CHARACTER_CREATING_MIN_LEVEL_FOR_EVOKER
Definition: World.h:257
@ CONFIG_CHATFLOOD_MUTE_TIME
Definition: World.h:313
@ CONFIG_STRICT_PET_NAMES
Definition: World.h:247
@ CONFIG_CHARACTER_CREATING_DISABLED
Definition: World.h:251
@ CONFIG_MIN_PET_NAME
Definition: World.h:250
@ CONFIG_LOGDB_CLEARTIME
Definition: World.h:360
@ CONFIG_TOLBARAD_PLR_MIN_LVL
Definition: World.h:399
@ CONFIG_CURRENCY_START_APEXIS_CRYSTALS
Definition: World.h:267
@ CONFIG_QUEST_HIGH_LEVEL_HIDE_DIFF
Definition: World.h:318
@ CONFIG_INTERVAL_CHANGEWEATHER
Definition: World.h:237
@ CONFIG_PRESERVE_CUSTOM_CHANNEL_INTERVAL
Definition: World.h:379
@ CONFIG_PRESERVE_CUSTOM_CHANNEL_DURATION
Definition: World.h:378
@ CONFIG_GM_WHISPERING_TO
Definition: World.h:289
@ CONFIG_TOLBARAD_RESTART_AFTER_CRASH
Definition: World.h:403
@ CONFIG_SKILL_CHANCE_SKINNING_STEPS
Definition: World.h:304
@ CONFIG_INSTANT_LOGOUT
Definition: World.h:338
@ CONFIG_SKILL_CHANCE_YELLOW
Definition: World.h:300
@ CONFIG_RESPAWN_GUIDWARNING_FREQUENCY
Definition: World.h:436
@ CONFIG_AUTOBROADCAST_INTERVAL
Definition: World.h:375
@ CONFIG_PVP_TOKEN_MAP_TYPE
Definition: World.h:353
@ CONFIG_ENABLE_SINFO_LOGIN
Definition: World.h:356
@ CONFIG_CHARTER_COST_GUILD
Definition: World.h:419
@ CONFIG_CHARDELETE_MIN_LEVEL
Definition: World.h:371
@ CONFIG_FORCE_SHUTDOWN_THRESHOLD
Definition: World.h:294
@ CONFIG_ARENA_MAX_RATING_DIFFERENCE
Definition: World.h:344
@ CONFIG_BG_REWARD_LOSER_HONOR_LAST
Definition: World.h:412
@ CONFIG_START_ALLIED_RACE_LEVEL
Definition: World.h:265
@ CONFIG_BLACKMARKET_UPDATE_PERIOD
Definition: World.h:439
@ CONFIG_TOLBARAD_BONUSTIME
Definition: World.h:401
@ CONFIG_AUCTION_TAINTED_SEARCH_DELAY
Definition: World.h:427
@ CONFIG_GAME_TYPE
Definition: World.h:243
@ CONFIG_ARENA_RATED_UPDATE_TIMER
Definition: World.h:346
@ CONFIG_START_DEMON_HUNTER_PLAYER_LEVEL
Definition: World.h:263
@ CONFIG_START_GM_LEVEL
Definition: World.h:293
@ CONFIG_MAIL_LEVEL_REQ
Definition: World.h:329
@ CONFIG_MIN_PETITION_SIGNS
Definition: World.h:282
@ CONFIG_WARDEN_CLIENT_CHECK_HOLDOFF
Definition: World.h:385
@ CONFIG_RESPAWN_DYNAMICMINIMUM_CREATURE
Definition: World.h:434
@ CONFIG_PARTY_LEVEL_REQ
Definition: World.h:326
@ CONFIG_MIN_LEVEL_STAT_SAVE
Definition: World.h:365
@ CONFIG_START_EVOKER_PLAYER_LEVEL
Definition: World.h:264
@ CONFIG_BATTLEGROUND_INVITATION_TYPE
Definition: World.h:340
@ CONFIG_START_DEATH_KNIGHT_PLAYER_LEVEL
Definition: World.h:262
@ CONFIG_MAX_PLAYER_LEVEL
Definition: World.h:259
@ CONFIG_MIN_CHARTER_NAME
Definition: World.h:249
@ CONFIG_CHAT_CHANNEL_LEVEL_REQ
Definition: World.h:321
@ CONFIG_PORT_INSTANCE
Definition: World.h:240
@ CONFIG_CHARACTERS_PER_ACCOUNT
Definition: World.h:253
@ CONFIG_DEATH_SICKNESS_LEVEL
Definition: World.h:337
@ CONFIG_CHARTER_COST_ARENA_5v5
Definition: World.h:422
@ CONFIG_WINTERGRASP_PLR_MIN_LVL
Definition: World.h:393
@ CONFIG_PVP_TOKEN_ID
Definition: World.h:354
@ CONFIG_GUILD_RESET_HOUR
Definition: World.h:368
@ CONFIG_CURRENCY_RESET_HOUR
Definition: World.h:271
@ CONFIG_MAIL_DELIVERY_DELAY
Definition: World.h:296
@ CONFIG_WINTERGRASP_BATTLETIME
Definition: World.h:394
@ CONFIG_CORPSE_DECAY_MINUSMOB
Definition: World.h:336
@ CONFIG_GM_FREEZE_DURATION
Definition: World.h:290
@ CONFIG_WINTERGRASP_NOBATTLETIME
Definition: World.h:395
@ CONFIG_PVP_TOKEN_COUNT
Definition: World.h:355
@ CONFIG_PACKET_SPOOF_BANDURATION
Definition: World.h:407
@ CONFIG_WARDEN_NUM_CLIENT_MOD_CHECKS
Definition: World.h:390
@ CONFIG_CURRENCY_START_JUSTICE_POINTS
Definition: World.h:269
@ CONFIG_SKILL_CHANCE_MINING_STEPS
Definition: World.h:303
@ CONFIG_START_PLAYER_MONEY
Definition: World.h:266
@ CONFIG_GUILD_BANK_EVENT_LOG_COUNT
Definition: World.h:364
@ CONFIG_TRADE_LEVEL_REQ
Definition: World.h:327
@ CONFIG_AHBOT_UPDATE_INTERVAL
Definition: World.h:417
@ CONFIG_BATTLEGROUND_PREMADE_GROUP_WAIT_FOR_MATCH
Definition: World.h:342
@ CONFIG_CORPSE_DECAY_NORMAL
Definition: World.h:330
@ CONFIG_WINTERGRASP_RESTART_AFTER_CRASH
Definition: World.h:396
@ CONFIG_SOCKET_TIMEOUTTIME_ACTIVE
Definition: World.h:437
@ CONFIG_START_PLAYER_LEVEL
Definition: World.h:261
@ CONFIG_RESPAWN_GUIDALERTLEVEL
Definition: World.h:432
@ CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL
Definition: World.h:274
@ CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL_DIFFERENCE
Definition: World.h:275
@ CONFIG_CLEAN_OLD_MAIL_TIME
Definition: World.h:297
@ CONFIG_INTERVAL_GRIDCLEAN
Definition: World.h:235
@ CONFIG_BG_REWARD_WINNER_HONOR_FIRST
Definition: World.h:409
@ CONFIG_ARENA_START_PERSONAL_RATING
Definition: World.h:349
@ CONFIG_COMPRESSION
Definition: World.h:233
@ CONFIG_STRICT_CHARTER_NAMES
Definition: World.h:246
@ CONFIG_INTERVAL_SAVE
Definition: World.h:234
@ CONFIG_BG_REWARD_LOSER_HONOR_FIRST
Definition: World.h:411
@ CONFIG_RESET_SCHEDULE_WEEK_DAY
Definition: World.h:276
@ CONFIG_PACKET_SPOOF_POLICY
Definition: World.h:405
@ CONFIG_CHATFLOOD_ADDON_MESSAGE_COUNT
Definition: World.h:311
@ CONFIG_FEATURE_SYSTEM_CHARACTER_UNDELETE_COOLDOWN
Definition: World.h:418
@ CONFIG_CHAT_YELL_LEVEL_REQ
Definition: World.h:325
@ CONFIG_WARDEN_NUM_INJECT_CHECKS
Definition: World.h:388
@ CONFIG_CURRENCY_MAX_APEXIS_CRYSTALS
Definition: World.h:268
@ CONFIG_BG_REWARD_WINNER_CONQUEST_LAST
Definition: World.h:414
@ CONFIG_LFG_OPTIONSMASK
Definition: World.h:381
@ CONFIG_GM_LOGIN_STATE
Definition: World.h:286
@ CONFIG_GUILD_NEWS_LOG_COUNT
Definition: World.h:362
@ CONFIG_CORPSE_DECAY_TRIVIAL
Definition: World.h:335
@ CONFIG_AUCTION_LEVEL_REQ
Definition: World.h:328
@ CONFIG_TOLBARAD_PLR_MAX
Definition: World.h:397
@ CONFIG_REALM_ZONE
Definition: World.h:244
@ CONFIG_CHAT_STRICT_LINK_CHECKING_KICK
Definition: World.h:320
@ CONFIG_GM_LEVEL_IN_GM_LIST
Definition: World.h:291
@ CONFIG_ARENA_RATING_DISCARD_TIMER
Definition: World.h:345
@ CONFIG_TOLBARAD_PLR_MIN
Definition: World.h:398
@ CONFIG_CHARACTER_CREATING_EVOKERS_PER_REALM
Definition: World.h:255
@ CONFIG_CALENDAR_DELETE_OLD_EVENTS_HOUR
Definition: World.h:367
@ CONFIG_GM_VISIBLE_STATE
Definition: World.h:287
@ CONFIG_NO_GRAY_AGGRO_ABOVE
Definition: World.h:423
@ CONFIG_AUCTION_REPLICATE_DELAY
Definition: World.h:425
@ CONFIG_GUILD_SAVE_INTERVAL
Definition: World.h:404
@ CONFIG_GROUP_VISIBILITY
Definition: World.h:295
@ CONFIG_CREATURE_FAMILY_FLEE_DELAY
Definition: World.h:315
@ CONFIG_PACKET_SPOOF_BANMODE
Definition: World.h:406
@ CONFIG_CHARDELETE_DEMON_HUNTER_MIN_LEVEL
Definition: World.h:373
@ CONFIG_XP_BOOST_DAYMASK
Definition: World.h:383
@ CONFIG_MIN_DISCOVERED_SCALED_XP_RATIO
Definition: World.h:285
@ CONFIG_MAX_WHO
Definition: World.h:351
@ CONFIG_CHARDELETE_KEEP_DAYS
Definition: World.h:369
@ CONFIG_TOLBARAD_NOBATTLETIME
Definition: World.h:402
@ CONFIG_MAX_RESULTS_LOOKUP_COMMANDS
Definition: World.h:376
@ CONFIG_CREATURE_STOP_FOR_PLAYER
Definition: World.h:416
@ CONFIG_INTERVAL_DISCONNECT_TOLERANCE
Definition: World.h:238
@ CONFIG_CHAT_WHISPER_LEVEL_REQ
Definition: World.h:322
@ CONFIG_SKILL_GAIN_GATHERING
Definition: World.h:306
@ CONFIG_CHARTER_COST_ARENA_2v2
Definition: World.h:420
@ CONFIG_CHATFLOOD_MESSAGE_DELAY
Definition: World.h:310
@ CONFIG_CHARDELETE_DEATH_KNIGHT_MIN_LEVEL
Definition: World.h:372
@ CONFIG_DISABLE_BREATHING
Definition: World.h:339
@ CONFIG_FACTION_BALANCE_LEVEL_CHECK_DIFF
Definition: World.h:440
@ CONFIG_ACC_PASSCHANGESEC
Definition: World.h:408
@ CONFIG_STRICT_PLAYER_NAMES
Definition: World.h:245
@ CONFIG_LOGDB_CLEARINTERVAL
Definition: World.h:359
@ CONFIG_BATTLEGROUND_REPORT_AFK
Definition: World.h:343
@ CONFIG_MIN_QUEST_SCALED_XP_RATIO
Definition: World.h:283
@ CONFIG_INSTANCE_UNLOAD_DELAY
Definition: World.h:278
@ CONFIG_GM_LEVEL_IN_WHO_LIST
Definition: World.h:292
@ CONFIG_CURRENCY_RESET_INTERVAL
Definition: World.h:273
@ CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER
Definition: World.h:341
@ CONFIG_HONOR_AFTER_DUEL
Definition: World.h:352
@ CONFIG_WEEKLY_QUEST_RESET_TIME_WDAY
Definition: World.h:280
@ CONFIG_PERSISTENT_CHARACTER_CLEAN_FLAGS
Definition: World.h:380
@ CONFIG_EXPANSION
Definition: World.h:308
@ CONFIG_CORPSE_DECAY_RARE
Definition: World.h:334
@ CONFIG_CHAT_STRICT_LINK_CHECKING_SEVERITY
Definition: World.h:319
@ CONFIG_RESPAWN_GUIDWARNLEVEL
Definition: World.h:431
@ CONFIG_UPTIME_UPDATE
Definition: World.h:298
@ CONFIG_WARDEN_CLIENT_RESPONSE_DELAY
Definition: World.h:384
@ CONFIG_PLAYER_ALLOW_COMMANDS
Definition: World.h:357
@ CONFIG_TALENTS_INSPECTING
Definition: World.h:428
@ CONFIG_WINTERGRASP_PLR_MAX
Definition: World.h:391
@ CONFIG_CHAT_EMOTE_LEVEL_REQ
Definition: World.h:323
@ CONFIG_AUCTION_SEARCH_DELAY
Definition: World.h:426
@ CONFIG_CHARACTER_CREATING_MIN_LEVEL_FOR_DEMON_HUNTER
Definition: World.h:256
@ CONFIG_PORT_WORLD
Definition: World.h:239
@ CONFIG_MIN_DUALSPEC_LEVEL
Definition: World.h:260
@ CONFIG_SKILL_GAIN_CRAFTING
Definition: World.h:305
@ CONFIG_RANDOM_BG_RESET_HOUR
Definition: World.h:366
@ CONFIG_DB_PING_INTERVAL
Definition: World.h:377
@ CONFIG_WORLD_BOSS_LEVEL_DIFF
Definition: World.h:316
@ CONFIG_CORPSE_DECAY_RAREELITE
Definition: World.h:332
@ CONFIG_CHATFLOOD_MESSAGE_COUNT
Definition: World.h:309
@ CONFIG_WARDEN_CLIENT_FAIL_ACTION
Definition: World.h:386
@ CONFIG_RESPAWN_DYNAMICMINIMUM_GAMEOBJECT
Definition: World.h:435
@ CONFIG_CHARTER_COST_ARENA_3v3
Definition: World.h:421
@ CONFIG_MIN_PLAYER_NAME
Definition: World.h:248
@ CONFIG_CHATFLOOD_ADDON_MESSAGE_DELAY
Definition: World.h:312
@ CONFIG_SKILL_CHANCE_GREY
Definition: World.h:302
@ CONFIG_INTERVAL_MAPUPDATE
Definition: World.h:236
@ CONFIG_NUMTHREADS
Definition: World.h:358
@ CONFIG_CREATURE_FAMILY_ASSISTANCE_DELAY
Definition: World.h:314
@ CONFIG_MAX_PRIMARY_TRADE_SKILL
Definition: World.h:281
@ CONFIG_RESET_SCHEDULE_HOUR
Definition: World.h:277
@ CONFIG_SKIP_CINEMATICS
Definition: World.h:258
@ CONFIG_SKILL_CHANCE_GREEN
Definition: World.h:301
@ CONFIG_CHAT_SAY_LEVEL_REQ
Definition: World.h:324
@ CONFIG_WINTERGRASP_PLR_MIN
Definition: World.h:392
@ CONFIG_BLACKMARKET_MAXAUCTIONS
Definition: World.h:438
@ CONFIG_BG_REWARD_WINNER_HONOR_LAST
Definition: World.h:410
@ CONFIG_CHARACTERS_PER_REALM
Definition: World.h:254
@ CONFIG_RESPAWN_MINCHECKINTERVALMS
Definition: World.h:429
@ BOOL_CONFIG_VALUE_COUNT
Definition: World.h:201
@ CONFIG_ALLOW_TWO_SIDE_INTERACTION_CALENDAR
Definition: World.h:109
@ CONFIG_SHOW_KICK_IN_WORLD
Definition: World.h:151
@ CONFIG_QUEST_IGNORE_AUTO_COMPLETE
Definition: World.h:165
@ CONFIG_BG_XP_FOR_KILL
Definition: World.h:140
@ CONFIG_CREATURE_CHECK_INVALID_POSITION
Definition: World.h:192
@ CONFIG_SUPPORT_COMPLAINTS_ENABLED
Definition: World.h:158
@ CONFIG_AUTOBROADCAST
Definition: World.h:154
@ CONFIG_CHECK_GOBJECT_LOS
Definition: World.h:194
@ CONFIG_INSTANCEMAP_LOAD_GRIDS
Definition: World.h:182
@ CONFIG_WEATHER
Definition: World.h:124
@ CONFIG_ALL_TAXI_PATHS
Definition: World.h:115
@ CONFIG_GM_LOWER_SECURITY
Definition: World.h:121
@ CONFIG_SKILL_MILLING
Definition: World.h:123
@ CONFIG_PDUMP_NO_OVERWRITE
Definition: World.h:163
@ CONFIG_GRID_UNLOAD
Definition: World.h:107
@ CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVP
Definition: World.h:130
@ CONFIG_START_ALL_SPELLS
Definition: World.h:146
@ CONFIG_SUPPORT_BUGS_ENABLED
Definition: World.h:157
@ CONFIG_ALLOW_LOGGING_IP_ADDRESSES_IN_DATABASE
Definition: World.h:197
@ CONFIG_SHOW_MUTE_IN_WORLD
Definition: World.h:152
@ CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION
Definition: World.h:113
@ CONFIG_CHAT_PARTY_RAID_WARNINGS
Definition: World.h:126
@ CONFIG_ALLOW_GM_GROUP
Definition: World.h:120
@ CONFIG_DECLINED_NAMES_USED
Definition: World.h:135
@ CONFIG_EVENT_ANNOUNCE
Definition: World.h:171
@ CONFIG_ARENA_LOG_EXTENDED_INFO
Definition: World.h:143
@ CONFIG_CALCULATE_GAMEOBJECT_ZONE_AREA_DATA
Definition: World.h:176
@ CONFIG_STATS_LIMITS_ENABLE
Definition: World.h:172
@ CONFIG_HOTSWAP_INSTALL_ENABLED
Definition: World.h:188
@ CONFIG_QUEST_IGNORE_RAID
Definition: World.h:125
@ CONFIG_SHOW_BAN_IN_WORLD
Definition: World.h:153
@ CONFIG_HOTSWAP_EARLY_TERMINATION_ENABLED
Definition: World.h:186
@ CONFIG_HOTSWAP_ENABLED
Definition: World.h:184
@ CONFIG_CLEAN_CHARACTER_DB
Definition: World.h:106
@ CONFIG_BATTLEGROUND_QUEUE_ANNOUNCER_PLAYERONLY
Definition: World.h:138
@ CONFIG_CHAT_FAKE_MESSAGE_PREVENTING
Definition: World.h:129
@ CONFIG_ALLOW_TWO_SIDE_TRADE
Definition: World.h:114
@ CONFIG_ENABLE_AE_LOOT
Definition: World.h:200
@ CONFIG_TOLBARAD_ENABLE
Definition: World.h:170
@ CONFIG_DEATH_CORPSE_RECLAIM_DELAY_PVE
Definition: World.h:131
@ CONFIG_SKILL_PROSPECTING
Definition: World.h:122
@ CONFIG_IP_BASED_ACTION_LOGGING
Definition: World.h:174
@ CONFIG_ADDON_CHANNEL
Definition: World.h:105
@ CONFIG_START_ALL_REP
Definition: World.h:148
@ CONFIG_PVP_TOKEN_ENABLE
Definition: World.h:149
@ CONFIG_FEATURE_SYSTEM_BPAY_STORE_ENABLED
Definition: World.h:177
@ CONFIG_CHARACTER_CREATING_DISABLE_ALLIED_RACE_ACHIEVEMENT_REQUIREMENT
Definition: World.h:198
@ CONFIG_ARENA_SEASON_IN_PROGRESS
Definition: World.h:142
@ CONFIG_DETECT_POS_COLLISION
Definition: World.h:127
@ CONFIG_DEATH_BONES_BG_OR_ARENA
Definition: World.h:133
@ CONFIG_BASEMAP_LOAD_GRIDS
Definition: World.h:181
@ CONFIG_HOTSWAP_PREFIX_CORRECTION_ENABLED
Definition: World.h:189
@ CONFIG_BATTLEGROUND_STORE_STATISTICS_ENABLE
Definition: World.h:139
@ CONFIG_INSTANCE_IGNORE_RAID
Definition: World.h:118
@ CONFIG_RESET_DUEL_HEALTH_MANA
Definition: World.h:180
@ CONFIG_BATTLEGROUND_CAST_DESERTER
Definition: World.h:136
@ CONFIG_HOTSWAP_BUILD_FILE_RECREATION_ENABLED
Definition: World.h:187
@ CONFIG_STATS_SAVE_ONLY_ON_LOGOUT
Definition: World.h:108
@ CONFIG_INSTANT_TAXI
Definition: World.h:116
@ CONFIG_ARENA_QUEUE_ANNOUNCER_ENABLE
Definition: World.h:141
@ CONFIG_RESTRICTED_LFG_CHANNEL
Definition: World.h:128
@ CONFIG_NO_RESET_TALENT_COST
Definition: World.h:150
@ CONFIG_CALCULATE_CREATURE_ZONE_AREA_DATA
Definition: World.h:175
@ CONFIG_HOTSWAP_RECOMPILER_ENABLED
Definition: World.h:185
@ CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHANNEL
Definition: World.h:110
@ CONFIG_PRESERVE_CUSTOM_CHANNELS
Definition: World.h:161
@ CONFIG_ENABLE_MMAPS
Definition: World.h:168
@ CONFIG_OFFHAND_CHECK_AT_SPELL_UNLEARN
Definition: World.h:144
@ CONFIG_CAST_UNSTUCK
Definition: World.h:119
@ CONFIG_RESET_DUEL_COOLDOWNS
Definition: World.h:179
@ CONFIG_DURABILITY_LOSS_IN_PVP
Definition: World.h:104
@ CONFIG_INSTANCES_RESET_ANNOUNCE
Definition: World.h:173
@ CONFIG_WINTERGRASP_ENABLE
Definition: World.h:169
@ CONFIG_QUEST_IGNORE_AUTO_ACCEPT
Definition: World.h:164
@ CONFIG_PREVENT_RENAME_CUSTOMIZATION
Definition: World.h:190
@ CONFIG_DIE_COMMAND_MODE
Definition: World.h:134
@ CONFIG_SUPPORT_SUGGESTIONS_ENABLED
Definition: World.h:159
@ CONFIG_VMAP_INDOOR_CHECK
Definition: World.h:145
@ CONFIG_WARDEN_ENABLED
Definition: World.h:167
@ CONFIG_CACHE_DATA_QUERIES
Definition: World.h:191
@ CONFIG_PDUMP_NO_PATHS
Definition: World.h:162
@ CONFIG_SUPPORT_TICKETS_ENABLED
Definition: World.h:156
@ CONFIG_GAME_OBJECT_CHECK_INVALID_POSITION
Definition: World.h:193
@ CONFIG_RESPAWN_DYNAMIC_ESCORTNPC
Definition: World.h:195
@ CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP
Definition: World.h:111
@ CONFIG_DEATH_BONES_WORLD
Definition: World.h:132
@ CONFIG_SUPPORT_ENABLED
Definition: World.h:155
@ CONFIG_QUEST_ENABLE_QUEST_TRACKER
Definition: World.h:166
@ CONFIG_REGEN_HP_CANNOT_REACH_TARGET_IN_RAID
Definition: World.h:196
@ CONFIG_BATTLEGROUNDMAP_LOAD_GRIDS
Definition: World.h:199
@ CONFIG_BLACKMARKET_ENABLED
Definition: World.h:183
@ CONFIG_DBC_ENFORCE_ITEM_ATTRIBUTES
Definition: World.h:160
@ CONFIG_START_ALL_EXPLORED
Definition: World.h:147
@ CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD
Definition: World.h:112
@ CONFIG_BATTLEGROUND_QUEUE_ANNOUNCER_ENABLE
Definition: World.h:137
@ CONFIG_INSTANCE_IGNORE_LEVEL
Definition: World.h:117
@ CONFIG_FEATURE_SYSTEM_CHARACTER_UNDELETE_ENABLED
Definition: World.h:178
@ WUPDATE_DELETECHARS
Definition: World.h:90
@ WUPDATE_GUILDSAVE
Definition: World.h:93
@ WUPDATE_COUNT
Definition: World.h:98
@ WUPDATE_MAILBOXQUEUE
Definition: World.h:89
@ WUPDATE_CLEANDB
Definition: World.h:87
@ WUPDATE_CORPSES
Definition: World.h:85
@ WUPDATE_PINGDB
Definition: World.h:92
@ WUPDATE_CHANNEL_SAVE
Definition: World.h:97
@ WUPDATE_AUCTIONS_PENDING
Definition: World.h:83
@ WUPDATE_AUTOBROADCAST
Definition: World.h:88
@ WUPDATE_WHO_LIST
Definition: World.h:96
@ WUPDATE_CHECK_FILECHANGES
Definition: World.h:95
@ WUPDATE_UPTIME
Definition: World.h:84
@ WUPDATE_BLACKMARKET
Definition: World.h:94
@ WUPDATE_EVENTS
Definition: World.h:86
@ WUPDATE_AUCTIONS
Definition: World.h:82
@ WUPDATE_AHBOT
Definition: World.h:91
@ RATE_POWER_CHI
Definition: World.h:466
@ RATE_DAMAGE_FALL
Definition: World.h:518
@ RATE_CREATURE_DAMAGE_NORMAL
Definition: World.h:500
@ RATE_DROP_ITEM_REFERENCED_AMOUNT
Definition: World.h:481
@ RATE_POWER_RUNIC_POWER_LOSS
Definition: World.h:461
@ RATE_CREATURE_DAMAGE_RAREELITE
Definition: World.h:502
@ RATE_POWER_RAGE_INCOME
Definition: World.h:455
@ RATE_CREATURE_AGGRO
Definition: World.h:514
@ RATE_POWER_RAGE_LOSS
Definition: World.h:456
@ RATE_REPUTATION_LOWLEVEL_QUEST
Definition: World.h:491
@ RATE_CREATURE_HP_ELITE
Definition: World.h:494
@ RATE_DURABILITY_LOSS_BLOCK
Definition: World.h:530
@ RATE_DROP_ITEM_RARE
Definition: World.h:476
@ RATE_REPUTATION_LOWLEVEL_KILL
Definition: World.h:490
@ RATE_XP_KILL
Definition: World.h:483
@ RATE_INSTANCE_RESET_TIME
Definition: World.h:525
@ RATE_CREATURE_HP_RARE
Definition: World.h:497
@ RATE_CREATURE_DAMAGE_ELITE
Definition: World.h:501
@ RATE_REST_OFFLINE_IN_WILDERNESS
Definition: World.h:517
@ RATE_XP_GUILD_MODIFIER
Definition: World.h:486
@ RATE_POWER_ENERGY
Definition: World.h:458
@ RATE_TALENT
Definition: World.h:523
@ RATE_CREATURE_SPELLDAMAGE_TRIVIAL
Definition: World.h:512
@ RATE_MONEY_MAX_LEVEL_QUEST
Definition: World.h:534
@ RATE_CREATURE_SPELLDAMAGE_NORMAL
Definition: World.h:507
@ RATE_POWER_MANA
Definition: World.h:454
@ RATE_DROP_ITEM_LEGENDARY
Definition: World.h:478
@ RATE_DURABILITY_LOSS_PARRY
Definition: World.h:528
@ RATE_DROP_ITEM_POOR
Definition: World.h:473
@ RATE_REST_OFFLINE_IN_TAVERN_OR_CITY
Definition: World.h:516
@ MAX_RATES
Definition: World.h:535
@ RATE_AUCTION_DEPOSIT
Definition: World.h:520
@ RATE_DROP_ITEM_UNCOMMON
Definition: World.h:475
@ RATE_DROP_ITEM_REFERENCED
Definition: World.h:480
@ RATE_REPUTATION_RECRUIT_A_FRIEND_BONUS
Definition: World.h:492
@ RATE_REPAIRCOST
Definition: World.h:488
@ RATE_CREATURE_SPELLDAMAGE_RAREELITE
Definition: World.h:509
@ RATE_DROP_MONEY
Definition: World.h:482
@ RATE_DURABILITY_LOSS_DAMAGE
Definition: World.h:527
@ RATE_MONEY_QUEST
Definition: World.h:533
@ RATE_AUCTION_CUT
Definition: World.h:521
@ RATE_HEALTH
Definition: World.h:453
@ RATE_MOVESPEED
Definition: World.h:531
@ RATE_DURABILITY_LOSS_ON_DEATH
Definition: World.h:526
@ RATE_XP_QUEST
Definition: World.h:485
@ RATE_XP_BOOST
Definition: World.h:532
@ RATE_DROP_ITEM_EPIC
Definition: World.h:477
@ RATE_CREATURE_HP_OBSOLETE
Definition: World.h:496
@ RATE_SKILL_DISCOVERY
Definition: World.h:472
@ RATE_POWER_MAELSTROM
Definition: World.h:465
@ RATE_DROP_ITEM_ARTIFACT
Definition: World.h:479
@ RATE_CREATURE_DAMAGE_OBSOLETE
Definition: World.h:503
@ RATE_CREATURE_DAMAGE_MINUSMOB
Definition: World.h:506
@ RATE_XP_EXPLORE
Definition: World.h:487
@ RATE_POWER_INSANITY
Definition: World.h:467
@ RATE_POWER_FURY
Definition: World.h:469
@ RATE_REPUTATION_GAIN
Definition: World.h:489
@ RATE_REST_INGAME
Definition: World.h:515
@ RATE_POWER_RUNIC_POWER_INCOME
Definition: World.h:460
@ RATE_POWER_FOCUS
Definition: World.h:457
@ RATE_XP_BG_KILL
Definition: World.h:484
@ RATE_CREATURE_HP_NORMAL
Definition: World.h:493
@ RATE_POWER_ARCANE_CHARGES
Definition: World.h:468
@ RATE_CREATURE_HP_MINUSMOB
Definition: World.h:499
@ RATE_HONOR
Definition: World.h:522
@ RATE_POWER_HOLY_POWER
Definition: World.h:464
@ RATE_POWER_LUNAR_POWER
Definition: World.h:463
@ RATE_CREATURE_HP_TRIVIAL
Definition: World.h:498
@ RATE_CORPSE_DECAY_LOOTED
Definition: World.h:524
@ RATE_DURABILITY_LOSS_ABSORB
Definition: World.h:529
@ RATE_AUCTION_TIME
Definition: World.h:519
@ RATE_CREATURE_DAMAGE_RARE
Definition: World.h:504
@ RATE_CREATURE_DAMAGE_TRIVIAL
Definition: World.h:505
@ RATE_CREATURE_SPELLDAMAGE_ELITE
Definition: World.h:508
@ RATE_POWER_ESSENCE
Definition: World.h:471
@ RATE_CREATURE_SPELLDAMAGE_MINUSMOB
Definition: World.h:513
@ RATE_DROP_ITEM_NORMAL
Definition: World.h:474
@ RATE_POWER_SOUL_SHARDS
Definition: World.h:462
@ RATE_CREATURE_HP_RAREELITE
Definition: World.h:495
@ RATE_CREATURE_SPELLDAMAGE_OBSOLETE
Definition: World.h:510
@ RATE_CREATURE_SPELLDAMAGE_RARE
Definition: World.h:511
@ RATE_POWER_PAIN
Definition: World.h:470
@ RATE_POWER_COMBO_POINTS_LOSS
Definition: World.h:459
@ INT64_CONFIT_VALUE_COUNT
Definition: World.h:447
@ CONFIG_CHARACTER_CREATING_DISABLED_RACEMASK
Definition: World.h:446
@ FLOAT_CONFIG_VALUE_COUNT
Definition: World.h:228
@ CONFIG_STATS_LIMITS_DODGE
Definition: World.h:215
@ CONFIG_RESPAWN_DYNAMICRATE_CREATURE
Definition: World.h:223
@ CONFIG_SIGHT_MONSTER
Definition: World.h:208
@ CONFIG_ARENA_WIN_RATING_MODIFIER_1
Definition: World.h:219
@ CONFIG_GROUP_XP_DISTANCE
Definition: World.h:206
@ CONFIG_CALL_TO_ARMS_20_PCT
Definition: World.h:227
@ CONFIG_LISTEN_RANGE_YELL
Definition: World.h:211
@ CONFIG_STATS_LIMITS_PARRY
Definition: World.h:216
@ CONFIG_CREATURE_FAMILY_FLEE_ASSISTANCE_RADIUS
Definition: World.h:212
@ CONFIG_ARENA_WIN_RATING_MODIFIER_2
Definition: World.h:220
@ CONFIG_ARENA_LOSE_RATING_MODIFIER
Definition: World.h:221
@ CONFIG_CREATURE_FAMILY_ASSISTANCE_RADIUS
Definition: World.h:213
@ CONFIG_LISTEN_RANGE_SAY
Definition: World.h:209
@ CONFIG_THREAT_RADIUS
Definition: World.h:214
@ CONFIG_MAX_RECRUIT_A_FRIEND_DISTANCE
Definition: World.h:207
@ CONFIG_ARENA_MATCHMAKER_RATING_MODIFIER
Definition: World.h:222
@ CONFIG_CALL_TO_ARMS_5_PCT
Definition: World.h:225
@ CONFIG_RESPAWN_DYNAMICRATE_GAMEOBJECT
Definition: World.h:224
@ CONFIG_CALL_TO_ARMS_10_PCT
Definition: World.h:226
@ CONFIG_STATS_LIMITS_CRIT
Definition: World.h:218
@ CONFIG_LISTEN_RANGE_TEXTEMOTE
Definition: World.h:210
@ CONFIG_STATS_LIMITS_BLOCK
Definition: World.h:217
@ RESTART_EXIT_CODE
Definition: World.h:76
@ SHUTDOWN_EXIT_CODE
Definition: World.h:74
@ ERROR_EXIT_CODE
Definition: World.h:75
@ SHUTDOWN_MASK_RESTART
Definition: World.h:67
@ SHUTDOWN_MASK_FORCE
Definition: World.h:69
@ SHUTDOWN_MASK_IDLE
Definition: World.h:68
void Update(VignetteData &vignette, WorldObject const *owner)
Definition: Vignette.cpp:90
Storage class for commands issued for delayed execution.
Definition: World.h:542
CommandFinished m_commandFinished
Definition: World.h:549
void * m_callbackArg
Definition: World.h:546
Print m_print
Definition: World.h:548
CliCommandHolder & operator=(CliCommandHolder const &right)=delete
void(*)(void *, std::string_view) Print
Definition: World.h:543
CliCommandHolder(CliCommandHolder const &right)=delete
char * m_command
Definition: World.h:547
void(*)(void *, bool success) CommandFinished
Definition: World.h:544
Definition: Realm.h:81
std::string Message
Definition: World.h:898