AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
World.h File Reference
#include "DatabaseEnvFwd.h"
#include "IWorld.h"
#include "LockedQueue.h"
#include "ObjectGuid.h"
#include "SharedDefines.h"
#include "Timer.h"
#include <atomic>
#include <list>
#include <map>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  PetitionData
 
class  World
 The World. More...
 

Macros

#define sWorld   getWorldInstance()
 

Enumerations

enum  ShutdownMask : uint8 {
  SHUTDOWN_MASK_RESTART = 1 ,
  SHUTDOWN_MASK_IDLE = 2
}
 
enum  ShutdownExitCode : uint8 {
  SHUTDOWN_EXIT_CODE = 0 ,
  ERROR_EXIT_CODE = 1 ,
  RESTART_EXIT_CODE = 2
}
 
enum  WorldTimers {
  WUPDATE_AUCTIONS ,
  WUPDATE_WEATHERS ,
  WUPDATE_UPTIME ,
  WUPDATE_CORPSES ,
  WUPDATE_EVENTS ,
  WUPDATE_CLEANDB ,
  WUPDATE_AUTOBROADCAST ,
  WUPDATE_MAILBOXQUEUE ,
  WUPDATE_PINGDB ,
  WUPDATE_5_SECS ,
  WUPDATE_WHO_LIST ,
  WUPDATE_COUNT
}
 Timers for different object refresh rates. More...
 
enum  BillingPlanFlags {
  SESSION_NONE = 0x00 ,
  SESSION_UNUSED = 0x01 ,
  SESSION_RECURRING_BILL = 0x02 ,
  SESSION_FREE_TRIAL = 0x04 ,
  SESSION_IGR = 0x08 ,
  SESSION_USAGE = 0x10 ,
  SESSION_TIME_MIXTURE = 0x20 ,
  SESSION_RESTRICTED = 0x40 ,
  SESSION_ENABLE_CAIS = 0x80
}
 Can be used in SMSG_AUTH_RESPONSE packet. More...
 
enum  RealmZone {
  REALM_ZONE_UNKNOWN = 0 ,
  REALM_ZONE_DEVELOPMENT = 1 ,
  REALM_ZONE_UNITED_STATES = 2 ,
  REALM_ZONE_OCEANIC = 3 ,
  REALM_ZONE_LATIN_AMERICA = 4 ,
  REALM_ZONE_TOURNAMENT_5 = 5 ,
  REALM_ZONE_KOREA = 6 ,
  REALM_ZONE_TOURNAMENT_7 = 7 ,
  REALM_ZONE_ENGLISH = 8 ,
  REALM_ZONE_GERMAN = 9 ,
  REALM_ZONE_FRENCH = 10 ,
  REALM_ZONE_SPANISH = 11 ,
  REALM_ZONE_RUSSIAN = 12 ,
  REALM_ZONE_TOURNAMENT_13 = 13 ,
  REALM_ZONE_TAIWAN = 14 ,
  REALM_ZONE_TOURNAMENT_15 = 15 ,
  REALM_ZONE_CHINA = 16 ,
  REALM_ZONE_CN1 = 17 ,
  REALM_ZONE_CN2 = 18 ,
  REALM_ZONE_CN3 = 19 ,
  REALM_ZONE_CN4 = 20 ,
  REALM_ZONE_CN5 = 21 ,
  REALM_ZONE_CN6 = 22 ,
  REALM_ZONE_CN7 = 23 ,
  REALM_ZONE_CN8 = 24 ,
  REALM_ZONE_TOURNAMENT_25 = 25 ,
  REALM_ZONE_TEST_SERVER = 26 ,
  REALM_ZONE_TOURNAMENT_27 = 27 ,
  REALM_ZONE_QA_SERVER = 28 ,
  REALM_ZONE_CN9 = 29 ,
  REALM_ZONE_TEST_SERVER_2 = 30 ,
  REALM_ZONE_CN10 = 31 ,
  REALM_ZONE_CTC = 32 ,
  REALM_ZONE_CNC = 33 ,
  REALM_ZONE_CN1_4 = 34 ,
  REALM_ZONE_CN2_6_9 = 35 ,
  REALM_ZONE_CN3_7 = 36 ,
  REALM_ZONE_CN5_8 = 37
}
 
enum  WorldStates {
  WS_ARENA_DISTRIBUTION_TIME = 20001 ,
  WS_WEEKLY_QUEST_RESET_TIME = 20002 ,
  WS_BG_DAILY_RESET_TIME = 20003 ,
  WS_CLEANING_FLAGS = 20004 ,
  WS_DAILY_QUEST_RESET_TIME = 20005 ,
  WS_GUILD_DAILY_RESET_TIME = 20006 ,
  WS_MONTHLY_QUEST_RESET_TIME = 20007 ,
  WS_DAILY_CALENDAR_DELETION_OLD_EVENTS_TIME = 20008
}
 

Functions

std::unique_ptr< IWorld > & getWorldInstance ()
 

Variables

AC_GAME_API Realm realm