TrinityCore
Loading...
Searching...
No Matches
ObjectMgr.h File Reference
#include "Common.h"
#include "ConditionMgr.h"
#include "CreatureData.h"
#include "DatabaseEnvFwd.h"
#include "Errors.h"
#include "GameObjectData.h"
#include "ItemTemplate.h"
#include "IteratorPair.h"
#include "NPCHandler.h"
#include "ObjectDefines.h"
#include "ObjectGuid.h"
#include "Position.h"
#include "QuestDef.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  AreaTriggerTeleport
 
struct  AccessRequirement
 
struct  BroadcastText
 
struct  CellObjectGuids
 
struct  TrinityString
 
struct  QuestGreetingLocale
 
struct  GossipMenuItemsLocale
 
struct  PointOfInterestLocale
 
struct  QuestRelationResult
 
struct  QuestRelationResult::Iterator
 
struct  PlayerCreateInfoItem
 
struct  PlayerClassLevelInfo
 
struct  PlayerClassInfo
 
struct  PlayerLevelInfo
 
struct  PlayerCreateInfoAction
 
struct  PlayerCreateInfoSkill
 
struct  PlayerInfo
 
struct  PetLevelInfo
 
struct  MailLevelReward
 
struct  RepRewardRate
 
struct  ReputationOnKillEntry
 
struct  RepSpilloverTemplate
 
struct  PointOfInterest
 
struct  GossipMenuItems
 
struct  GossipMenus
 
struct  QuestPOIBlobPoint
 
struct  QuestPOIBlobData
 
struct  QuestPOIData
 
struct  QuestPOIWrapper
 
struct  QuestGreeting
 
struct  GraveyardData
 
struct  LanguageDesc
 
struct  DungeonEncounter
 
class  ObjectMgr
 

Macros

#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::unordered_map< uint32, BroadcastTextBroadcastTextContainer
 
typedef std::set< ObjectGuid::LowTypeCellGuidSet
 
typedef std::unordered_map< uint32, CellObjectGuidsCellObjectGuidsMap
 
typedef std::unordered_map< uint32, CellObjectGuidsMapMapObjectGuids
 
typedef std::map< ObjectGuid, ObjectGuidLinkedRespawnContainer
 
typedef std::unordered_map< uint32, CreatureTemplateCreatureTemplateContainer
 
typedef std::unordered_map< uint32, CreatureAddonCreatureTemplateAddonContainer
 
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< uint32, std::vector< uint32 > > CreatureQuestItemMap
 
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, ItemLocaleItemLocaleContainer
 
typedef std::unordered_map< uint32, ItemSetNameLocaleItemSetNameLocaleContainer
 
typedef std::unordered_map< uint32, QuestLocaleQuestLocaleContainer
 
typedef std::unordered_map< uint32, QuestOfferRewardLocaleQuestOfferRewardLocaleContainer
 
typedef std::unordered_map< uint32, QuestRequestItemsLocaleQuestRequestItemsLocaleContainer
 
typedef std::unordered_map< uint32, NpcTextLocaleNpcTextLocaleContainer
 
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, QuestGreetingLocaleQuestGreetingLocaleContainer
 
typedef std::unordered_map< uint32, TrinityStringTrinityStringContainer
 
typedef std::multimap< uint32, uint32QuestRelations
 
typedef std::vector< PlayerCreateInfoItemPlayerCreateInfoItems
 
typedef std::vector< uint32PlayerCreateInfoSpells
 
typedef std::vector< PlayerCreateInfoActionPlayerCreateInfoActions
 
typedef std::vector< PlayerCreateInfoSkillPlayerCreateInfoSkills
 
typedef std::multimap< int32, uint32ExclusiveQuestGroups
 
typedef std::pair< ExclusiveQuestGroups::const_iterator, ExclusiveQuestGroups::const_iterator > ExclusiveQuestGroupsBounds
 
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::pair< GossipMenuItemsContainer::const_iterator, GossipMenuItemsContainer::const_iterator > GossipMenuItemsMapBounds
 
typedef std::pair< GossipMenuItemsContainer::iterator, GossipMenuItemsContainer::iterator > GossipMenuItemsMapBoundsNonConst
 
typedef std::unordered_map< uint32, QuestPOIWrapperQuestPOIContainer
 
typedef std::unordered_map< uint8, std::unordered_map< uint32, QuestGreeting > > QuestGreetingContainer
 
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::vector< std::unique_ptr< DungeonEncounter const > > DungeonEncounterList
 
typedef std::unordered_map< uint32, DungeonEncounterListDungeonEncounterContainer
 
typedef std::map< std::pair< SummonSlot, Races >, uint32PlayerTotemModelMap
 

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 = 2 , SCRIPT_COMMAND_MOVE_TO = 3 ,
  SCRIPT_COMMAND_FLAG_SET = 4 , SCRIPT_COMMAND_FLAG_REMOVE = 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_EVENT = SCRIPTS_FIRST , 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  SkillRangeType {
  SKILL_RANGE_LANGUAGE , SKILL_RANGE_LEVEL , SKILL_RANGE_MONO , SKILL_RANGE_RANK ,
  SKILL_RANGE_NONE
}
 
enum  EncounterCreditType : uint8 { ENCOUNTER_CREDIT_KILL_CREATURE = 0 , ENCOUNTER_CREDIT_CAST_SPELL = 1 }
 
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)
 
LanguageDesc const * GetLanguageDescByID (uint32 lang)
 

Variables

TC_GAME_API ScriptMapMap sEventScripts
 
TC_GAME_API ScriptMapMap sWaypointScripts
 
TC_GAME_API LanguageDesc lang_description [LANGUAGES_COUNT]
 

Macro Definition Documentation

◆ MAX_CHARTER_NAME

#define MAX_CHARTER_NAME   24

Definition at line 879 of file ObjectMgr.h.

◆ MAX_INTERNAL_PLAYER_NAME

#define MAX_INTERNAL_PLAYER_NAME   15

Definition at line 877 of file ObjectMgr.h.

◆ MAX_PET_NAME

#define MAX_PET_NAME   12

Definition at line 878 of file ObjectMgr.h.

◆ MAX_PLAYER_NAME

#define MAX_PLAYER_NAME   12

Definition at line 876 of file ObjectMgr.h.

◆ sObjectMgr

#define sObjectMgr   ObjectMgr::instance()

Definition at line 1721 of file ObjectMgr.h.

◆ SPAWNGROUP_MAP_UNSET

#define SPAWNGROUP_MAP_UNSET   0xFFFFFFFF

Definition at line 882 of file ObjectMgr.h.

Typedef Documentation

◆ BroadcastTextContainer

typedef std::unordered_map<uint32, BroadcastText> BroadcastTextContainer

Definition at line 513 of file ObjectMgr.h.

◆ CacheVendorItemContainer

typedef std::unordered_map<uint32, VendorItemData> CacheVendorItemContainer

Definition at line 863 of file ObjectMgr.h.

◆ CellGuidSet

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

Definition at line 515 of file ObjectMgr.h.

◆ CellObjectGuidsMap

typedef std::unordered_map<uint32, CellObjectGuids> CellObjectGuidsMap

Definition at line 521 of file ObjectMgr.h.

◆ CreatureAddonContainer

Definition at line 538 of file ObjectMgr.h.

◆ CreatureBaseStatsContainer

typedef std::unordered_map<uint16, CreatureBaseStats> CreatureBaseStatsContainer

Definition at line 539 of file ObjectMgr.h.

◆ CreatureDataContainer

Definition at line 537 of file ObjectMgr.h.

◆ CreatureLocaleContainer

typedef std::unordered_map<uint32, CreatureLocale> CreatureLocaleContainer

Definition at line 554 of file ObjectMgr.h.

◆ CreatureModelContainer

typedef std::unordered_map<uint32, CreatureModelInfo> CreatureModelContainer

Definition at line 542 of file ObjectMgr.h.

◆ CreatureQuestItemMap

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

Definition at line 543 of file ObjectMgr.h.

◆ CreatureTemplateAddonContainer

typedef std::unordered_map<uint32, CreatureAddon> CreatureTemplateAddonContainer

Definition at line 536 of file ObjectMgr.h.

◆ CreatureTemplateContainer

typedef std::unordered_map<uint32, CreatureTemplate> CreatureTemplateContainer

Definition at line 535 of file ObjectMgr.h.

◆ DungeonEncounterContainer

Definition at line 912 of file ObjectMgr.h.

◆ DungeonEncounterList

typedef std::vector<std::unique_ptr<DungeonEncounter const> > DungeonEncounterList

Definition at line 911 of file ObjectMgr.h.

◆ EquipmentInfoContainer

Definition at line 541 of file ObjectMgr.h.

◆ EquipmentInfoContainerInternal

typedef std::unordered_map<uint8, EquipmentInfo> EquipmentInfoContainerInternal

Definition at line 540 of file ObjectMgr.h.

◆ ExclusiveQuestGroups

typedef std::multimap<int32, uint32> ExclusiveQuestGroups

Definition at line 702 of file ObjectMgr.h.

◆ ExclusiveQuestGroupsBounds

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

Definition at line 703 of file ObjectMgr.h.

◆ GameObjectAddonContainer

Definition at line 548 of file ObjectMgr.h.

◆ GameObjectDataContainer

Definition at line 547 of file ObjectMgr.h.

◆ GameObjectLocaleContainer

typedef std::unordered_map<uint32, GameObjectLocale> GameObjectLocaleContainer

Definition at line 555 of file ObjectMgr.h.

◆ GameObjectOverrideContainer

Definition at line 546 of file ObjectMgr.h.

◆ GameObjectQuestItemMap

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

Definition at line 549 of file ObjectMgr.h.

◆ GameObjectTemplateAddonContainer

Definition at line 545 of file ObjectMgr.h.

◆ GameObjectTemplateContainer

Definition at line 544 of file ObjectMgr.h.

◆ GameTeleContainer

typedef std::unordered_map<uint32, GameTele> GameTeleContainer

Definition at line 170 of file ObjectMgr.h.

◆ GossipMenuItemsContainer

Definition at line 799 of file ObjectMgr.h.

◆ GossipMenuItemsLocaleContainer

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

Definition at line 572 of file ObjectMgr.h.

◆ GossipMenuItemsMapBounds

typedef std::pair<GossipMenuItemsContainer::const_iterator, GossipMenuItemsContainer::const_iterator> GossipMenuItemsMapBounds

Definition at line 800 of file ObjectMgr.h.

◆ GossipMenuItemsMapBoundsNonConst

typedef std::pair<GossipMenuItemsContainer::iterator, GossipMenuItemsContainer::iterator> GossipMenuItemsMapBoundsNonConst

Definition at line 801 of file ObjectMgr.h.

◆ GossipMenusContainer

typedef std::multimap<uint32, GossipMenus> GossipMenusContainer

Definition at line 796 of file ObjectMgr.h.

◆ GossipMenusMapBounds

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

Definition at line 797 of file ObjectMgr.h.

◆ GossipMenusMapBoundsNonConst

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

Definition at line 798 of file ObjectMgr.h.

◆ GraveyardContainer

typedef std::multimap<uint32, GraveyardData> GraveyardContainer

Definition at line 859 of file ObjectMgr.h.

◆ GraveyardMapBounds

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

Definition at line 860 of file ObjectMgr.h.

◆ GraveyardMapBoundsNonConst

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

Definition at line 861 of file ObjectMgr.h.

◆ InstanceSpawnGroupContainer

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

Definition at line 552 of file ObjectMgr.h.

◆ InstanceTemplateContainer

typedef std::unordered_map<uint16, InstanceTemplate> InstanceTemplateContainer

Definition at line 157 of file ObjectMgr.h.

◆ ItemLocaleContainer

typedef std::unordered_map<uint32, ItemLocale> ItemLocaleContainer

Definition at line 557 of file ObjectMgr.h.

◆ ItemSetNameLocaleContainer

typedef std::unordered_map<uint32, ItemSetNameLocale> ItemSetNameLocaleContainer

Definition at line 558 of file ObjectMgr.h.

◆ ItemTemplateContainer

typedef std::unordered_map<uint32, ItemTemplate> ItemTemplateContainer

Definition at line 556 of file ObjectMgr.h.

◆ LinkedRespawnContainer

Definition at line 534 of file ObjectMgr.h.

◆ MailLevelRewardContainer

typedef std::unordered_map<uint8, MailLevelRewardList> MailLevelRewardContainer

Definition at line 726 of file ObjectMgr.h.

◆ MailLevelRewardList

Definition at line 725 of file ObjectMgr.h.

◆ MapObjectGuids

typedef std::unordered_map<uint32, CellObjectGuidsMap> MapObjectGuids

Definition at line 522 of file ObjectMgr.h.

◆ NpcTextLocaleContainer

typedef std::unordered_map<uint32, NpcTextLocale> NpcTextLocaleContainer

Definition at line 562 of file ObjectMgr.h.

◆ PageTextContainer

typedef std::map<uint32, PageText> PageTextContainer

Definition at line 148 of file ObjectMgr.h.

◆ PageTextLocaleContainer

typedef std::unordered_map<uint32, PageTextLocale> PageTextLocaleContainer

Definition at line 563 of file ObjectMgr.h.

◆ PlayerCreateInfoActions

Definition at line 671 of file ObjectMgr.h.

◆ PlayerCreateInfoItems

Definition at line 641 of file ObjectMgr.h.

◆ PlayerCreateInfoSkills

Definition at line 679 of file ObjectMgr.h.

◆ PlayerCreateInfoSpells

typedef std::vector<uint32> PlayerCreateInfoSpells

Definition at line 660 of file ObjectMgr.h.

◆ PlayerTotemModelMap

typedef std::map<std::pair<SummonSlot , Races >, uint32 > PlayerTotemModelMap

Definition at line 914 of file ObjectMgr.h.

◆ PointOfInterestLocaleContainer

Definition at line 579 of file ObjectMgr.h.

◆ QuestGreetingContainer

typedef std::unordered_map<uint8, std::unordered_map<uint32, QuestGreeting> > QuestGreetingContainer

Definition at line 851 of file ObjectMgr.h.

◆ QuestGreetingLocaleContainer

Definition at line 580 of file ObjectMgr.h.

◆ QuestLocaleContainer

typedef std::unordered_map<uint32, QuestLocale> QuestLocaleContainer

Definition at line 559 of file ObjectMgr.h.

◆ QuestOfferRewardLocaleContainer

Definition at line 560 of file ObjectMgr.h.

◆ QuestPOIContainer

typedef std::unordered_map<uint32, QuestPOIWrapper> QuestPOIContainer

Definition at line 838 of file ObjectMgr.h.

◆ QuestRelations

typedef std::multimap<uint32, uint32> QuestRelations

Definition at line 584 of file ObjectMgr.h.

◆ QuestRequestItemsLocaleContainer

Definition at line 561 of file ObjectMgr.h.

◆ ScriptMap

typedef std::multimap<uint32, ScriptInfo> ScriptMap

Definition at line 410 of file ObjectMgr.h.

◆ ScriptMapMap

typedef std::map<uint32, ScriptMap> ScriptMapMap

Definition at line 411 of file ObjectMgr.h.

◆ SpawnGroupDataContainer

Definition at line 550 of file ObjectMgr.h.

◆ SpawnGroupLinkContainer

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

Definition at line 551 of file ObjectMgr.h.

◆ SpellClickInfoContainer

Definition at line 448 of file ObjectMgr.h.

◆ SpellScriptsBounds

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

Definition at line 413 of file ObjectMgr.h.

◆ SpellScriptsContainer

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

Definition at line 412 of file ObjectMgr.h.

◆ TempSummonDataContainer

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

Definition at line 553 of file ObjectMgr.h.

◆ TrinityStringContainer

typedef std::unordered_map<uint32, TrinityString> TrinityStringContainer

Definition at line 582 of file ObjectMgr.h.

◆ VehicleSeatAddonContainer

typedef std::unordered_map<uint32, VehicleSeatAddon> VehicleSeatAddonContainer

Definition at line 564 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 136 of file ObjectMgr.h.

◆ EncounterCreditType

Enumerator
ENCOUNTER_CREDIT_KILL_CREATURE 
ENCOUNTER_CREDIT_CAST_SPELL 

Definition at line 894 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 182 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 916 of file ObjectMgr.h.

◆ ScriptCommands

Enumerator
SCRIPT_COMMAND_TALK 
SCRIPT_COMMAND_EMOTE 
SCRIPT_COMMAND_FIELD_SET 
SCRIPT_COMMAND_MOVE_TO 
SCRIPT_COMMAND_FLAG_SET 
SCRIPT_COMMAND_FLAG_REMOVE 
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 100 of file ObjectMgr.h.

◆ ScriptsType

Enumerator
SCRIPTS_FIRST 
SCRIPTS_EVENT 
SCRIPTS_WAYPOINT 
SCRIPTS_LAST 

Definition at line 172 of file ObjectMgr.h.

◆ SkillRangeType

Enumerator
SKILL_RANGE_LANGUAGE 
SKILL_RANGE_LEVEL 
SKILL_RANGE_MONO 
SKILL_RANGE_RANK 
SKILL_RANGE_NONE 

Definition at line 865 of file ObjectMgr.h.

◆ SummonerType

Enumerator
SUMMONER_TYPE_CREATURE 
SUMMONER_TYPE_GAMEOBJECT 
SUMMONER_TYPE_MAP 

Definition at line 64 of file ObjectMgr.h.

Function Documentation

◆ GetLanguageDescByID()

LanguageDesc const * GetLanguageDescByID ( uint32  lang)

Definition at line 177 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetScriptCommandName()

std::string GetScriptCommandName ( ScriptCommands  command)

Definition at line 87 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 75 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetScriptsTableNameByType()

std::string GetScriptsTableNameByType ( ScriptsType  type)

Definition at line 63 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ GetSkillRangeType()

SkillRangeType GetSkillRangeType ( SkillRaceClassInfoEntry const *  rcEntry)

Definition at line 8923 of file ObjectMgr.cpp.

+ Here is the caller graph for this function:

◆ normalizePlayerName()

TC_GAME_API bool normalizePlayerName ( std::string &  name)

Definition at line 135 of file ObjectMgr.cpp.

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

Variable Documentation

◆ lang_description

TC_GAME_API LanguageDesc lang_description[LANGUAGES_COUNT]
extern

Definition at line 154 of file ObjectMgr.cpp.

◆ sEventScripts

TC_GAME_API ScriptMapMap sEventScripts
extern

Definition at line 60 of file ObjectMgr.cpp.

◆ sWaypointScripts

TC_GAME_API ScriptMapMap sWaypointScripts
extern

Definition at line 61 of file ObjectMgr.cpp.