TrinityCore
ObjectMgr.h File Reference
#include "Common.h"
#include "ConditionMgr.h"
#include "CreatureData.h"
#include "DatabaseEnvFwd.h"
#include "GameObjectData.h"
#include "ItemTemplate.h"
#include "IteratorPair.h"
#include "MovementDefines.h"
#include "NPCHandler.h"
#include "ObjectDefines.h"
#include "ObjectGuid.h"
#include "Position.h"
#include "QuestDef.h"
#include "RaceMask.h"
#include "SceneDefines.h"
#include "SharedDefines.h"
#include "Trainer.h"
#include "VehicleDefines.h"
#include "UniqueTrackablePtr.h"
#include <iterator>
#include <map>
#include <unordered_map>
+ Include dependency graph for ObjectMgr.h:

Go to the source code of this file.

Classes

struct  PageText
 
struct  TempSummonGroupKey
 Key for storing temp summon data in TempSummonDataContainer. More...
 
struct  TempSummonData
 Stores data for temp summons. More...
 
struct  InstanceTemplate
 
struct  GameTele
 
struct  ScriptInfo
 
struct  InstanceSpawnGroupInfo
 
struct  SpellClickInfo
 
struct  AreaTriggerStruct
 
struct  AccessRequirement
 
struct  CellObjectGuids
 
struct  TrinityString
 
struct  GossipMenuItemsLocale
 
struct  PointOfInterestLocale
 
struct  PlayerChoiceResponseLocale
 
struct  PlayerChoiceLocale
 
struct  QuestRelationResult
 
struct  QuestRelationResult::Iterator
 
struct  PlayerCreateInfoItem
 
struct  PlayerLevelInfo
 
struct  PlayerCreateInfoAction
 
struct  PlayerInfo
 
struct  PlayerInfo::CreatePosition
 
struct  PetLevelInfo
 
struct  MailLevelReward
 
struct  RepRewardRate
 
struct  ReputationOnKillEntry
 
struct  RepSpilloverTemplate
 
struct  PointOfInterest
 
struct  GossipMenuItems
 
struct  GossipMenus
 
struct  GossipMenuAddon
 
struct  QuestPOIBlobPoint
 
struct  QuestPOIBlobData
 
struct  QuestPOIData
 
struct  WorldSafeLocsEntry
 
struct  GraveyardData
 
struct  SceneTemplate
 
struct  PlayerChoiceResponseRewardItem
 
struct  PlayerChoiceResponseRewardEntry
 
struct  PlayerChoiceResponseReward
 
struct  PlayerChoiceResponseMawPower
 
struct  PlayerChoiceResponse
 
struct  PlayerChoice
 
struct  SkillTiersEntry
 
struct  ExtendedPlayerName
 
struct  TerrainSwapInfo
 
struct  PhaseInfoStruct
 
struct  PhaseAreaInfo
 
struct  ClassAvailability
 
struct  RaceClassAvailability
 
struct  RaceUnlockRequirement
 
class  ObjectMgr
 
class  ObjectMgr::ScriptNameContainer
 
struct  ObjectMgr::ScriptNameContainer::Entry
 

Macros

#define MAX_SKILL_STEP   16
 
#define MAX_PLAYER_NAME   12
 
#define MAX_INTERNAL_PLAYER_NAME   15
 
#define MAX_PET_NAME   12
 
#define MAX_CHARTER_NAME   24
 
#define SPAWNGROUP_MAP_UNSET   0xFFFFFFFF
 
#define sObjectMgr   ObjectMgr::instance()
 

Typedefs

typedef std::map< uint32, PageTextPageTextContainer
 
typedef std::unordered_map< uint16, InstanceTemplateInstanceTemplateContainer
 
typedef std::unordered_map< uint32, GameTeleGameTeleContainer
 
typedef std::multimap< uint32, ScriptInfoScriptMap
 
typedef std::map< uint32, ScriptMapScriptMapMap
 
typedef std::multimap< uint32, std::pair< uint32, bool > > SpellScriptsContainer
 
typedef std::pair< SpellScriptsContainer::iterator, SpellScriptsContainer::iterator > SpellScriptsBounds
 
typedef std::multimap< uint32, SpellClickInfoSpellClickInfoContainer
 
typedef std::set< ObjectGuid::LowTypeCellGuidSet
 
typedef std::unordered_map< uint32, CellObjectGuidsCellObjectGuidsMap
 
typedef std::unordered_map< std::pair< uint32, Difficulty >, CellObjectGuidsMapMapObjectGuids
 
typedef std::map< std::tuple< uint32, Difficulty, uint32 >, CellObjectGuidsMapMapPersonalObjectGuids
 
typedef std::map< ObjectGuid, ObjectGuidLinkedRespawnContainer
 
typedef std::unordered_map< uint32, CreatureTemplateCreatureTemplateContainer
 
typedef std::unordered_map< uint32, CreatureAddonCreatureTemplateAddonContainer
 
typedef std::unordered_map< uint32, std::vector< float > > CreatureTemplateSparringContainer
 
typedef std::unordered_map< ObjectGuid::LowType, CreatureDataCreatureDataContainer
 
typedef std::unordered_map< ObjectGuid::LowType, CreatureAddonCreatureAddonContainer
 
typedef std::unordered_map< uint16, CreatureBaseStatsCreatureBaseStatsContainer
 
typedef std::unordered_map< uint8, EquipmentInfoEquipmentInfoContainerInternal
 
typedef std::unordered_map< uint32, EquipmentInfoContainerInternalEquipmentInfoContainer
 
typedef std::unordered_map< uint32, CreatureModelInfoCreatureModelContainer
 
typedef std::unordered_map< std::pair< uint32, Difficulty >, std::vector< uint32 > > CreatureQuestItemMap
 
typedef std::unordered_map< uint32, std::vector< int32 > > CreatureQuestCurrenciesMap
 
typedef std::unordered_map< uint32, GameObjectTemplateGameObjectTemplateContainer
 
typedef std::unordered_map< uint32, GameObjectTemplateAddonGameObjectTemplateAddonContainer
 
typedef std::unordered_map< ObjectGuid::LowType, GameObjectOverrideGameObjectOverrideContainer
 
typedef std::unordered_map< ObjectGuid::LowType, GameObjectDataGameObjectDataContainer
 
typedef std::unordered_map< ObjectGuid::LowType, GameObjectAddonGameObjectAddonContainer
 
typedef std::unordered_map< uint32, std::vector< uint32 > > GameObjectQuestItemMap
 
typedef std::unordered_map< uint32, SpawnGroupTemplateDataSpawnGroupDataContainer
 
typedef std::multimap< uint32, SpawnMetadata const * > SpawnGroupLinkContainer
 
typedef std::unordered_map< uint16, std::vector< InstanceSpawnGroupInfo > > InstanceSpawnGroupContainer
 
typedef std::map< TempSummonGroupKey, std::vector< TempSummonData > > TempSummonDataContainer
 
typedef std::unordered_map< uint32, CreatureLocaleCreatureLocaleContainer
 
typedef std::unordered_map< uint32, GameObjectLocaleGameObjectLocaleContainer
 
typedef std::unordered_map< uint32, ItemTemplateItemTemplateContainer
 
typedef std::unordered_map< uint32, QuestTemplateLocaleQuestTemplateLocaleContainer
 
typedef std::unordered_map< uint32, QuestObjectivesLocaleQuestObjectivesLocaleContainer
 
typedef std::unordered_map< uint32, QuestOfferRewardLocaleQuestOfferRewardLocaleContainer
 
typedef std::unordered_map< uint32, QuestRequestItemsLocaleQuestRequestItemsLocaleContainer
 
typedef std::unordered_map< uint32, PageTextLocalePageTextLocaleContainer
 
typedef std::unordered_map< uint32, VehicleSeatAddonVehicleSeatAddonContainer
 
typedef std::unordered_map< std::pair< uint32, uint32 >, GossipMenuItemsLocaleGossipMenuItemsLocaleContainer
 
typedef std::unordered_map< uint32, PointOfInterestLocalePointOfInterestLocaleContainer
 
typedef std::unordered_map< uint32, TrinityStringTrinityStringContainer
 
typedef std::multimap< uint32, uint32QuestRelations
 
typedef std::multimap< uint32, uint32QuestRelationsReverse
 
typedef std::multimap< int32, uint32ExclusiveQuestGroups
 
typedef std::pair< ExclusiveQuestGroups::const_iterator, ExclusiveQuestGroups::const_iterator > ExclusiveQuestGroupsBounds
 
typedef std::vector< PlayerCreateInfoItemPlayerCreateInfoItems
 
typedef std::vector< uint32PlayerCreateInfoSpells
 
typedef std::vector< PlayerCreateInfoActionPlayerCreateInfoActions
 
typedef std::vector< SkillRaceClassInfoEntry const * > PlayerCreateInfoSkills
 
typedef std::list< MailLevelRewardMailLevelRewardList
 
typedef std::unordered_map< uint8, MailLevelRewardListMailLevelRewardContainer
 
typedef std::multimap< uint32, GossipMenusGossipMenusContainer
 
typedef std::pair< GossipMenusContainer::const_iterator, GossipMenusContainer::const_iterator > GossipMenusMapBounds
 
typedef std::pair< GossipMenusContainer::iterator, GossipMenusContainer::iterator > GossipMenusMapBoundsNonConst
 
typedef std::multimap< uint32, GossipMenuItemsGossipMenuItemsContainer
 
typedef std::unordered_map< uint32, GossipMenuAddonGossipMenuAddonContainer
 
typedef std::unordered_map< uint32, QuestPOIDataQuestPOIContainer
 
typedef std::array< std::unordered_map< uint32, QuestGreeting >, 2 > QuestGreetingContainer
 
typedef std::array< std::unordered_map< uint32, QuestGreetingLocale >, 2 > QuestGreetingLocaleContainer
 
typedef std::multimap< uint32, GraveyardDataGraveyardContainer
 
typedef std::pair< GraveyardContainer::const_iterator, GraveyardContainer::const_iterator > GraveyardMapBounds
 
typedef std::pair< GraveyardContainer::iterator, GraveyardContainer::iterator > GraveyardMapBoundsNonConst
 
typedef std::unordered_map< uint32, VendorItemDataCacheVendorItemContainer
 
typedef std::unordered_map< uint32, std::string > RealmNameContainer
 
typedef std::unordered_map< uint32, SceneTemplateSceneTemplateContainer
 
typedef std::unordered_map< uint32, std::string > PhaseNameContainer
 

Enumerations

enum  SummonerType { SUMMONER_TYPE_CREATURE = 0 , SUMMONER_TYPE_GAMEOBJECT = 1 , SUMMONER_TYPE_MAP = 2 }
 
enum  ScriptCommands {
  SCRIPT_COMMAND_TALK = 0 , SCRIPT_COMMAND_EMOTE = 1 , SCRIPT_COMMAND_FIELD_SET_DEPRECATED = 2 , SCRIPT_COMMAND_MOVE_TO = 3 ,
  SCRIPT_COMMAND_FLAG_SET_DEPRECATED = 4 , SCRIPT_COMMAND_FLAG_REMOVE_DEPRECATED = 5 , SCRIPT_COMMAND_TELEPORT_TO = 6 , SCRIPT_COMMAND_QUEST_EXPLORED = 7 ,
  SCRIPT_COMMAND_KILL_CREDIT = 8 , SCRIPT_COMMAND_RESPAWN_GAMEOBJECT = 9 , SCRIPT_COMMAND_TEMP_SUMMON_CREATURE = 10 , SCRIPT_COMMAND_OPEN_DOOR = 11 ,
  SCRIPT_COMMAND_CLOSE_DOOR = 12 , SCRIPT_COMMAND_ACTIVATE_OBJECT = 13 , SCRIPT_COMMAND_REMOVE_AURA = 14 , SCRIPT_COMMAND_CAST_SPELL = 15 ,
  SCRIPT_COMMAND_PLAY_SOUND = 16 , SCRIPT_COMMAND_CREATE_ITEM = 17 , SCRIPT_COMMAND_DESPAWN_SELF = 18 , SCRIPT_COMMAND_LOAD_PATH = 20 ,
  SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT = 21 , SCRIPT_COMMAND_KILL = 22 , SCRIPT_COMMAND_ORIENTATION = 30 , SCRIPT_COMMAND_EQUIP = 31 ,
  SCRIPT_COMMAND_MODEL = 32 , SCRIPT_COMMAND_CLOSE_GOSSIP = 33 , SCRIPT_COMMAND_PLAYMOVIE = 34 , SCRIPT_COMMAND_MOVEMENT = 35 ,
  SCRIPT_COMMAND_PLAY_ANIMKIT = 36
}
 
enum  ChatType {
  CHAT_TYPE_SAY = 0 , CHAT_TYPE_YELL = 1 , CHAT_TYPE_TEXT_EMOTE = 2 , CHAT_TYPE_BOSS_EMOTE = 3 ,
  CHAT_TYPE_WHISPER = 4 , CHAT_TYPE_BOSS_WHISPER = 5 , CHAT_TYPE_ZONE_YELL = 6 , CHAT_TYPE_END = 255
}
 
enum  ScriptsType {
  SCRIPTS_FIRST = 1 , SCRIPTS_SPELL = SCRIPTS_FIRST , SCRIPTS_EVENT , SCRIPTS_WAYPOINT ,
  SCRIPTS_LAST
}
 
enum  eScriptFlags {
  SF_TALK_USE_PLAYER = 0x1 , SF_EMOTE_USE_STATE = 0x1 , SF_TELEPORT_USE_CREATURE = 0x1 , SF_KILLCREDIT_REWARD_GROUP = 0x1 ,
  SF_REMOVEAURA_REVERSE = 0x1 , SF_CASTSPELL_SOURCE_TO_TARGET = 0 , SF_CASTSPELL_SOURCE_TO_SOURCE = 1 , SF_CASTSPELL_TARGET_TO_TARGET = 2 ,
  SF_CASTSPELL_TARGET_TO_SOURCE = 3 , SF_CASTSPELL_SEARCH_CREATURE = 4 , SF_CASTSPELL_TRIGGERED = 0x1 , SF_PLAYSOUND_TARGET_PLAYER = 0x1 ,
  SF_PLAYSOUND_DISTANCE_SOUND = 0x2 , SF_ORIENTATION_FACE_TARGET = 0x1
}
 
enum class  PlayerCreateMode : int8 { Normal = 0 , NPE = 1 , Max }
 
enum  SkillRangeType {
  SKILL_RANGE_LANGUAGE , SKILL_RANGE_LEVEL , SKILL_RANGE_MONO , SKILL_RANGE_RANK ,
  SKILL_RANGE_NONE
}
 
enum  QueryDataGroup {
  QUERY_DATA_CREATURES = 0x01 , QUERY_DATA_GAMEOBJECTS = 0x02 , QUERY_DATA_ITEMS = 0x04 , QUERY_DATA_QUESTS = 0x08 ,
  QUERY_DATA_POIS = 0x10 , QUERY_DATA_ALL = 0xFF
}
 

Functions

std::string GetScriptsTableNameByType (ScriptsType type)
 
ScriptMapMapGetScriptsMapByType (ScriptsType type)
 
std::string GetScriptCommandName (ScriptCommands command)
 
SkillRangeType GetSkillRangeType (SkillRaceClassInfoEntry const *rcEntry)
 
TC_GAME_API bool normalizePlayerName (std::string &name)
 
ExtendedPlayerName ExtractExtendedPlayerName (std::string const &name)
 

Variables

TC_GAME_API ScriptMapMap sSpellScripts
 
TC_GAME_API ScriptMapMap sEventScripts
 

Macro Definition Documentation

◆ MAX_CHARTER_NAME

#define MAX_CHARTER_NAME   24

Definition at line 983 of file ObjectMgr.h.

◆ MAX_INTERNAL_PLAYER_NAME

#define MAX_INTERNAL_PLAYER_NAME   15

Definition at line 981 of file ObjectMgr.h.

◆ MAX_PET_NAME

#define MAX_PET_NAME   12

Definition at line 982 of file ObjectMgr.h.

◆ MAX_PLAYER_NAME

#define MAX_PLAYER_NAME   12

Definition at line 980 of file ObjectMgr.h.

◆ MAX_SKILL_STEP

#define MAX_SKILL_STEP   16

Definition at line 968 of file ObjectMgr.h.

◆ sObjectMgr

#define sObjectMgr   ObjectMgr::instance()

Definition at line 1946 of file ObjectMgr.h.

◆ SPAWNGROUP_MAP_UNSET

#define SPAWNGROUP_MAP_UNSET   0xFFFFFFFF

Definition at line 986 of file ObjectMgr.h.

Typedef Documentation

◆ CacheVendorItemContainer

typedef std::unordered_map<uint32, VendorItemData> CacheVendorItemContainer

Definition at line 848 of file ObjectMgr.h.

◆ CellGuidSet

typedef std::set<ObjectGuid::LowType> CellGuidSet

Definition at line 479 of file ObjectMgr.h.

◆ CellObjectGuidsMap

typedef std::unordered_map<uint32, CellObjectGuids> CellObjectGuidsMap

Definition at line 485 of file ObjectMgr.h.

◆ CreatureAddonContainer

Definition at line 499 of file ObjectMgr.h.

◆ CreatureBaseStatsContainer

typedef std::unordered_map<uint16, CreatureBaseStats> CreatureBaseStatsContainer

Definition at line 500 of file ObjectMgr.h.

◆ CreatureDataContainer

Definition at line 498 of file ObjectMgr.h.

◆ CreatureLocaleContainer

typedef std::unordered_map<uint32, CreatureLocale> CreatureLocaleContainer

Definition at line 516 of file ObjectMgr.h.

◆ CreatureModelContainer

typedef std::unordered_map<uint32, CreatureModelInfo> CreatureModelContainer

Definition at line 503 of file ObjectMgr.h.

◆ CreatureQuestCurrenciesMap

typedef std::unordered_map<uint32, std::vector<int32> > CreatureQuestCurrenciesMap

Definition at line 505 of file ObjectMgr.h.

◆ CreatureQuestItemMap

typedef std::unordered_map<std::pair<uint32, Difficulty>, std::vector<uint32> > CreatureQuestItemMap

Definition at line 504 of file ObjectMgr.h.

◆ CreatureTemplateAddonContainer

typedef std::unordered_map<uint32, CreatureAddon> CreatureTemplateAddonContainer

Definition at line 496 of file ObjectMgr.h.

◆ CreatureTemplateContainer

typedef std::unordered_map<uint32, CreatureTemplate> CreatureTemplateContainer

Definition at line 495 of file ObjectMgr.h.

◆ CreatureTemplateSparringContainer

typedef std::unordered_map<uint32, std::vector<float> > CreatureTemplateSparringContainer

Definition at line 497 of file ObjectMgr.h.

◆ EquipmentInfoContainer

Definition at line 502 of file ObjectMgr.h.

◆ EquipmentInfoContainerInternal

typedef std::unordered_map<uint8, EquipmentInfo> EquipmentInfoContainerInternal

Definition at line 501 of file ObjectMgr.h.

◆ ExclusiveQuestGroups

typedef std::multimap<int32, uint32> ExclusiveQuestGroups

Definition at line 609 of file ObjectMgr.h.

◆ ExclusiveQuestGroupsBounds

typedef std::pair<ExclusiveQuestGroups::const_iterator, ExclusiveQuestGroups::const_iterator> ExclusiveQuestGroupsBounds

Definition at line 610 of file ObjectMgr.h.

◆ GameObjectAddonContainer

Definition at line 510 of file ObjectMgr.h.

◆ GameObjectDataContainer

Definition at line 509 of file ObjectMgr.h.

◆ GameObjectLocaleContainer

typedef std::unordered_map<uint32, GameObjectLocale> GameObjectLocaleContainer

Definition at line 517 of file ObjectMgr.h.

◆ GameObjectOverrideContainer

Definition at line 508 of file ObjectMgr.h.

◆ GameObjectQuestItemMap

typedef std::unordered_map<uint32, std::vector<uint32> > GameObjectQuestItemMap

Definition at line 511 of file ObjectMgr.h.

◆ GameObjectTemplateAddonContainer

Definition at line 507 of file ObjectMgr.h.

◆ GameObjectTemplateContainer

Definition at line 506 of file ObjectMgr.h.

◆ GameTeleContainer

typedef std::unordered_map<uint32, GameTele> GameTeleContainer

Definition at line 172 of file ObjectMgr.h.

◆ GossipMenuAddonContainer

typedef std::unordered_map<uint32, GossipMenuAddon> GossipMenuAddonContainer

Definition at line 779 of file ObjectMgr.h.

◆ GossipMenuItemsContainer

Definition at line 778 of file ObjectMgr.h.

◆ GossipMenuItemsLocaleContainer

typedef std::unordered_map<std::pair<uint32, uint32>, GossipMenuItemsLocale> GossipMenuItemsLocaleContainer

Definition at line 532 of file ObjectMgr.h.

◆ GossipMenusContainer

typedef std::multimap<uint32, GossipMenus> GossipMenusContainer

Definition at line 775 of file ObjectMgr.h.

◆ GossipMenusMapBounds

typedef std::pair<GossipMenusContainer::const_iterator, GossipMenusContainer::const_iterator> GossipMenusMapBounds

Definition at line 776 of file ObjectMgr.h.

◆ GossipMenusMapBoundsNonConst

typedef std::pair<GossipMenusContainer::iterator, GossipMenusContainer::iterator> GossipMenusMapBoundsNonConst

Definition at line 777 of file ObjectMgr.h.

◆ GraveyardContainer

typedef std::multimap<uint32, GraveyardData> GraveyardContainer

Definition at line 844 of file ObjectMgr.h.

◆ GraveyardMapBounds

typedef std::pair<GraveyardContainer::const_iterator, GraveyardContainer::const_iterator> GraveyardMapBounds

Definition at line 845 of file ObjectMgr.h.

◆ GraveyardMapBoundsNonConst

typedef std::pair<GraveyardContainer::iterator, GraveyardContainer::iterator> GraveyardMapBoundsNonConst

Definition at line 846 of file ObjectMgr.h.

◆ InstanceSpawnGroupContainer

typedef std::unordered_map<uint16, std::vector<InstanceSpawnGroupInfo> > InstanceSpawnGroupContainer

Definition at line 514 of file ObjectMgr.h.

◆ InstanceTemplateContainer

typedef std::unordered_map<uint16, InstanceTemplate> InstanceTemplateContainer

Definition at line 159 of file ObjectMgr.h.

◆ ItemTemplateContainer

typedef std::unordered_map<uint32, ItemTemplate> ItemTemplateContainer

Definition at line 518 of file ObjectMgr.h.

◆ LinkedRespawnContainer

Definition at line 494 of file ObjectMgr.h.

◆ MailLevelRewardContainer

typedef std::unordered_map<uint8, MailLevelRewardList> MailLevelRewardContainer

Definition at line 696 of file ObjectMgr.h.

◆ MailLevelRewardList

Definition at line 695 of file ObjectMgr.h.

◆ MapObjectGuids

typedef std::unordered_map<std::pair<uint32 , Difficulty>, CellObjectGuidsMap> MapObjectGuids

Definition at line 486 of file ObjectMgr.h.

◆ MapPersonalObjectGuids

Definition at line 487 of file ObjectMgr.h.

◆ PageTextContainer

typedef std::map<uint32, PageText> PageTextContainer

Definition at line 151 of file ObjectMgr.h.

◆ PageTextLocaleContainer

typedef std::unordered_map<uint32, PageTextLocale> PageTextLocaleContainer

Definition at line 523 of file ObjectMgr.h.

◆ PhaseNameContainer

typedef std::unordered_map<uint32, std::string> PhaseNameContainer

Definition at line 863 of file ObjectMgr.h.

◆ PlayerCreateInfoActions

Definition at line 646 of file ObjectMgr.h.

◆ PlayerCreateInfoItems

Definition at line 628 of file ObjectMgr.h.

◆ PlayerCreateInfoSkills

typedef std::vector<SkillRaceClassInfoEntry const*> PlayerCreateInfoSkills

Definition at line 648 of file ObjectMgr.h.

◆ PlayerCreateInfoSpells

typedef std::vector<uint32> PlayerCreateInfoSpells

Definition at line 635 of file ObjectMgr.h.

◆ PointOfInterestLocaleContainer

Definition at line 539 of file ObjectMgr.h.

◆ QuestGreetingContainer

typedef std::array<std::unordered_map<uint32, QuestGreeting>, 2> QuestGreetingContainer

Definition at line 829 of file ObjectMgr.h.

◆ QuestGreetingLocaleContainer

typedef std::array<std::unordered_map<uint32, QuestGreetingLocale>, 2> QuestGreetingLocaleContainer

Definition at line 830 of file ObjectMgr.h.

◆ QuestObjectivesLocaleContainer

Definition at line 520 of file ObjectMgr.h.

◆ QuestOfferRewardLocaleContainer

Definition at line 521 of file ObjectMgr.h.

◆ QuestPOIContainer

typedef std::unordered_map<uint32, QuestPOIData> QuestPOIContainer

Definition at line 827 of file ObjectMgr.h.

◆ QuestRelations

typedef std::multimap<uint32, uint32> QuestRelations

Definition at line 559 of file ObjectMgr.h.

◆ QuestRelationsReverse

typedef std::multimap<uint32, uint32> QuestRelationsReverse

Definition at line 560 of file ObjectMgr.h.

◆ QuestRequestItemsLocaleContainer

Definition at line 522 of file ObjectMgr.h.

◆ QuestTemplateLocaleContainer

Definition at line 519 of file ObjectMgr.h.

◆ RealmNameContainer

typedef std::unordered_map<uint32, std::string> RealmNameContainer

Definition at line 850 of file ObjectMgr.h.

◆ SceneTemplateContainer

typedef std::unordered_map<uint32, SceneTemplate> SceneTemplateContainer

Definition at line 861 of file ObjectMgr.h.

◆ ScriptMap

typedef std::multimap<uint32, ScriptInfo> ScriptMap

Definition at line 418 of file ObjectMgr.h.

◆ ScriptMapMap

typedef std::map<uint32, ScriptMap> ScriptMapMap

Definition at line 419 of file ObjectMgr.h.

◆ SpawnGroupDataContainer

Definition at line 512 of file ObjectMgr.h.

◆ SpawnGroupLinkContainer

typedef std::multimap<uint32, SpawnMetadata const*> SpawnGroupLinkContainer

Definition at line 513 of file ObjectMgr.h.

◆ SpellClickInfoContainer

Definition at line 456 of file ObjectMgr.h.

◆ SpellScriptsBounds

typedef std::pair<SpellScriptsContainer::iterator, SpellScriptsContainer::iterator> SpellScriptsBounds

Definition at line 421 of file ObjectMgr.h.

◆ SpellScriptsContainer

typedef std::multimap<uint32 , std::pair<uint32 , bool > > SpellScriptsContainer

Definition at line 420 of file ObjectMgr.h.

◆ TempSummonDataContainer

typedef std::map<TempSummonGroupKey, std::vector<TempSummonData> > TempSummonDataContainer

Definition at line 515 of file ObjectMgr.h.

◆ TrinityStringContainer

typedef std::unordered_map<uint32, TrinityString> TrinityStringContainer

Definition at line 557 of file ObjectMgr.h.

◆ VehicleSeatAddonContainer

typedef std::unordered_map<uint32, VehicleSeatAddon> VehicleSeatAddonContainer

Definition at line 524 of file ObjectMgr.h.

Enumeration Type Documentation

◆ ChatType

enum ChatType
Enumerator
CHAT_TYPE_SAY 
CHAT_TYPE_YELL 
CHAT_TYPE_TEXT_EMOTE 
CHAT_TYPE_BOSS_EMOTE 
CHAT_TYPE_WHISPER 
CHAT_TYPE_BOSS_WHISPER 
CHAT_TYPE_ZONE_YELL 
CHAT_TYPE_END 

Definition at line 139 of file ObjectMgr.h.

◆ eScriptFlags

Enumerator
SF_TALK_USE_PLAYER 
SF_EMOTE_USE_STATE 
SF_TELEPORT_USE_CREATURE 
SF_KILLCREDIT_REWARD_GROUP 
SF_REMOVEAURA_REVERSE 
SF_CASTSPELL_SOURCE_TO_TARGET 
SF_CASTSPELL_SOURCE_TO_SOURCE 
SF_CASTSPELL_TARGET_TO_TARGET 
SF_CASTSPELL_TARGET_TO_SOURCE 
SF_CASTSPELL_SEARCH_CREATURE 
SF_CASTSPELL_TRIGGERED 
SF_PLAYSOUND_TARGET_PLAYER 
SF_PLAYSOUND_DISTANCE_SOUND 
SF_ORIENTATION_FACE_TARGET 

Definition at line 185 of file ObjectMgr.h.

◆ PlayerCreateMode

enum class PlayerCreateMode : int8
strong
Enumerator
Normal 
NPE 
Max 

Definition at line 612 of file ObjectMgr.h.

◆ QueryDataGroup

Enumerator
QUERY_DATA_CREATURES 
QUERY_DATA_GAMEOBJECTS 
QUERY_DATA_ITEMS 
QUERY_DATA_QUESTS 
QUERY_DATA_POIS 
QUERY_DATA_ALL 

Definition at line 1040 of file ObjectMgr.h.

◆ ScriptCommands

Enumerator
SCRIPT_COMMAND_TALK 
SCRIPT_COMMAND_EMOTE 
SCRIPT_COMMAND_FIELD_SET_DEPRECATED 
SCRIPT_COMMAND_MOVE_TO 
SCRIPT_COMMAND_FLAG_SET_DEPRECATED 
SCRIPT_COMMAND_FLAG_REMOVE_DEPRECATED 
SCRIPT_COMMAND_TELEPORT_TO 
SCRIPT_COMMAND_QUEST_EXPLORED 
SCRIPT_COMMAND_KILL_CREDIT 
SCRIPT_COMMAND_RESPAWN_GAMEOBJECT 
SCRIPT_COMMAND_TEMP_SUMMON_CREATURE 
SCRIPT_COMMAND_OPEN_DOOR 
SCRIPT_COMMAND_CLOSE_DOOR 
SCRIPT_COMMAND_ACTIVATE_OBJECT 
SCRIPT_COMMAND_REMOVE_AURA 
SCRIPT_COMMAND_CAST_SPELL 
SCRIPT_COMMAND_PLAY_SOUND 
SCRIPT_COMMAND_CREATE_ITEM 
SCRIPT_COMMAND_DESPAWN_SELF 
SCRIPT_COMMAND_LOAD_PATH 
SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT 
SCRIPT_COMMAND_KILL 
SCRIPT_COMMAND_ORIENTATION 
SCRIPT_COMMAND_EQUIP 
SCRIPT_COMMAND_MODEL 
SCRIPT_COMMAND_CLOSE_GOSSIP 
SCRIPT_COMMAND_PLAYMOVIE 
SCRIPT_COMMAND_MOVEMENT 
SCRIPT_COMMAND_PLAY_ANIMKIT 

Definition at line 103 of file ObjectMgr.h.

◆ ScriptsType

Enumerator
SCRIPTS_FIRST 
SCRIPTS_SPELL 
SCRIPTS_EVENT 
SCRIPTS_WAYPOINT 
SCRIPTS_LAST 

Definition at line 174 of file ObjectMgr.h.

◆ SkillRangeType

Enumerator
SKILL_RANGE_LANGUAGE 
SKILL_RANGE_LEVEL 
SKILL_RANGE_MONO 
SKILL_RANGE_RANK 
SKILL_RANGE_NONE 

Definition at line 959 of file ObjectMgr.h.

◆ SummonerType

Enumerator
SUMMONER_TYPE_CREATURE 
SUMMONER_TYPE_GAMEOBJECT 
SUMMONER_TYPE_MAP 

Definition at line 66 of file ObjectMgr.h.

Function Documentation

◆ ExtractExtendedPlayerName()

ExtendedPlayerName ExtractExtendedPlayerName ( std::string const &  name)

Definition at line 174 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetScriptCommandName()

std::string GetScriptCommandName ( ScriptCommands  command)

Definition at line 105 of file ObjectMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetScriptsMapByType()

ScriptMapMap * GetScriptsMapByType ( ScriptsType  type)

Definition at line 93 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetScriptsTableNameByType()

std::string GetScriptsTableNameByType ( ScriptsType  type)

Definition at line 81 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetSkillRangeType()

SkillRangeType GetSkillRangeType ( SkillRaceClassInfoEntry const *  rcEntry)

Definition at line 8986 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ normalizePlayerName()

TC_GAME_API bool normalizePlayerName ( std::string &  name)

Definition at line 154 of file ObjectMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ sEventScripts

TC_GAME_API ScriptMapMap sEventScripts
extern

Definition at line 79 of file ObjectMgr.cpp.

◆ sSpellScripts

TC_GAME_API ScriptMapMap sSpellScripts
extern

Definition at line 78 of file ObjectMgr.cpp.