TrinityCore
|
#include "Log.h"
#include "Object.h"
#include "Bag.h"
#include "Creature.h"
#include "DynamicObject.h"
#include "GameObject.h"
#include "TemporarySummon.h"
#include "Corpse.h"
#include "QuestDef.h"
#include "ItemTemplate.h"
#include "NPCHandler.h"
#include "DatabaseEnv.h"
#include "Mail.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "ObjectDefines.h"
#include "VehicleDefines.h"
#include "ConditionMgr.h"
#include "DB2Stores.h"
#include <string>
#include <tuple>
#include <map>
#include <limits>
#include <functional>
#include <memory>
Go to the source code of this file.
Classes | |
struct | PageText |
struct | TempSummonGroupKey |
Key for storing temp summon data in TempSummonDataContainer. More... | |
struct | GameTele |
struct | ScriptInfo |
struct | SpellClickInfo |
struct | AreaTriggerStruct |
struct | CellObjectGuids |
struct | TrinityString |
struct | PetLevelInfo |
struct | MailLevelReward |
struct | RepRewardRate |
struct | ReputationOnKillEntry |
struct | RepSpilloverTemplate |
struct | PointOfInterest |
struct | GossipMenuItems |
struct | GossipMenus |
struct | QuestPOIPoint |
struct | QuestPOI |
struct | QuestGreeting |
struct | GraveYardData |
struct | CharcterTemplateClass |
struct | CharacterTemplate |
struct | SkillTiersEntry |
struct | ExtendedPlayerName |
struct | LanguageDesc |
struct | DungeonEncounter |
struct | PhaseInfoStruct |
class | ObjectMgr |
Macros | |
#define | TRINITY_TRAINER_START_REF 200000 |
#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 | sObjectMgr ObjectMgr::instance() |
Typedefs | |
typedef std::map< uint32, PageText > | PageTextContainer |
typedef std::unordered_map < uint16, InstanceTemplate > | InstanceTemplateContainer |
typedef std::unordered_map < uint32, GameTele > | GameTeleContainer |
typedef std::multimap< uint32, ScriptInfo > | ScriptMap |
typedef std::map< uint32, ScriptMap > | ScriptMapMap |
typedef std::multimap< uint32, uint32 > | SpellScriptsContainer |
typedef std::pair < SpellScriptsContainer::iterator, SpellScriptsContainer::iterator > | SpellScriptsBounds |
typedef std::multimap< uint32, SpellClickInfo > | SpellClickInfoContainer |
typedef std::pair < SpellClickInfoContainer::const_iterator, SpellClickInfoContainer::const_iterator > | SpellClickInfoMapBounds |
typedef std::set < ObjectGuid::LowType > | CellGuidSet |
typedef std::unordered_map < uint32, CellObjectGuids > | CellObjectGuidsMap |
typedef std::unordered_map < uint32, CellObjectGuidsMap > | MapObjectGuids |
typedef std::map< ObjectGuid, ObjectGuid > | LinkedRespawnContainer |
typedef std::unordered_map < ObjectGuid::LowType, CreatureData > | CreatureDataContainer |
typedef std::unordered_map < ObjectGuid::LowType, GameObjectData > | GameObjectDataContainer |
typedef std::map < TempSummonGroupKey, std::vector< TempSummonData > > | TempSummonDataContainer |
typedef std::unordered_map < uint32, CreatureLocale > | CreatureLocaleContainer |
typedef std::unordered_map < uint32, GameObjectLocale > | GameObjectLocaleContainer |
typedef std::unordered_map < uint32, QuestTemplateLocale > | QuestTemplateLocaleContainer |
typedef std::unordered_map < uint32, QuestObjectivesLocale > | QuestObjectivesLocaleContainer |
typedef std::unordered_map < uint32, PageTextLocale > | PageTextLocaleContainer |
typedef std::unordered_map < uint32, GossipMenuItemsLocale > | GossipMenuItemsLocaleContainer |
typedef std::unordered_map < uint32, PointOfInterestLocale > | PointOfInterestLocaleContainer |
typedef std::unordered_map < uint32, TrinityString > | TrinityStringContainer |
typedef std::multimap< uint32, uint32 > | QuestRelations |
typedef std::multimap< uint32, uint32 > | QuestRelationsReverse |
typedef std::pair < QuestRelations::const_iterator, QuestRelations::const_iterator > | QuestRelationBounds |
typedef std::pair < QuestRelationsReverse::const_iterator, QuestRelationsReverse::const_iterator > | QuestRelationReverseBounds |
typedef std::list < MailLevelReward > | MailLevelRewardList |
typedef std::unordered_map < uint8, MailLevelRewardList > | MailLevelRewardContainer |
typedef std::multimap< uint32, GossipMenus > | GossipMenusContainer |
typedef std::pair < GossipMenusContainer::const_iterator, GossipMenusContainer::const_iterator > | GossipMenusMapBounds |
typedef std::pair < GossipMenusContainer::iterator, GossipMenusContainer::iterator > | GossipMenusMapBoundsNonConst |
typedef std::multimap< uint32, GossipMenuItems > | GossipMenuItemsContainer |
typedef std::pair < GossipMenuItemsContainer::const_iterator, GossipMenuItemsContainer::const_iterator > | GossipMenuItemsMapBounds |
typedef std::pair < GossipMenuItemsContainer::iterator, GossipMenuItemsContainer::iterator > | GossipMenuItemsMapBoundsNonConst |
typedef std::vector< QuestPOI > | QuestPOIVector |
typedef std::unordered_map < uint32, QuestPOIVector > | QuestPOIContainer |
typedef std::unordered_map < uint8, std::unordered_map < uint32, QuestGreeting const * > > | QuestGreetingContainer |
typedef std::multimap< uint32, GraveYardData > | GraveYardContainer |
typedef std::pair < GraveYardContainer::const_iterator, GraveYardContainer::const_iterator > | GraveYardMapBounds |
typedef std::pair < GraveYardContainer::iterator, GraveYardContainer::iterator > | GraveYardMapBoundsNonConst |
typedef std::unordered_map < uint32, VendorItemData > | CacheVendorItemContainer |
typedef std::unordered_map < uint32, TrainerSpellData > | CacheTrainerSpellContainer |
typedef std::unordered_map < uint8, uint8 > | ExpansionRequirementContainer |
typedef std::unordered_map < uint32, std::string > | RealmNameContainer |
typedef std::unordered_map < uint32, CharacterTemplate > | CharacterTemplateContainer |
typedef std::list < DungeonEncounter const * > | DungeonEncounterList |
typedef std::unordered_map < uint64, DungeonEncounterList > | DungeonEncounterContainer |
typedef std::unordered_map < uint32, std::vector< uint32 > > | TerrainPhaseInfo |
typedef std::unordered_map < uint32, std::vector< uint32 > > | TerrainUIPhaseInfo |
typedef std::unordered_map < uint32, std::vector < PhaseInfoStruct > > | PhaseInfo |
Functions | |
std::string | GetScriptsTableNameByType (ScriptsType type) |
ScriptMapMap * | GetScriptsMapByType (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) |
LanguageDesc const * | GetLanguageDescByID (uint32 lang) |
Variables | |
TC_GAME_API ScriptMapMap | sSpellScripts |
TC_GAME_API ScriptMapMap | sEventScripts |
TC_GAME_API ScriptMapMap | sWaypointScripts |
TC_GAME_API LanguageDesc | lang_description [LANGUAGES_COUNT] |
#define MAX_CHARTER_NAME 24 |
#define MAX_INTERNAL_PLAYER_NAME 15 |
#define MAX_PET_NAME 12 |
#define MAX_PLAYER_NAME 12 |
#define MAX_SKILL_STEP 16 |
#define sObjectMgr ObjectMgr::instance() |
#define TRINITY_TRAINER_START_REF 200000 |
typedef std::unordered_map<uint32, TrainerSpellData> CacheTrainerSpellContainer |
typedef std::unordered_map<uint32, VendorItemData> CacheVendorItemContainer |
typedef std::set<ObjectGuid::LowType> CellGuidSet |
typedef std::unordered_map<uint32, CellObjectGuids> CellObjectGuidsMap |
typedef std::unordered_map<uint32, CharacterTemplate> CharacterTemplateContainer |
typedef std::unordered_map<ObjectGuid::LowType, CreatureData> CreatureDataContainer |
typedef std::unordered_map<uint32, CreatureLocale> CreatureLocaleContainer |
typedef std::unordered_map<uint64, DungeonEncounterList> DungeonEncounterContainer |
typedef std::list<DungeonEncounter const*> DungeonEncounterList |
typedef std::unordered_map<uint8, uint8> ExpansionRequirementContainer |
typedef std::unordered_map<ObjectGuid::LowType, GameObjectData> GameObjectDataContainer |
typedef std::unordered_map<uint32, GameObjectLocale> GameObjectLocaleContainer |
typedef std::unordered_map<uint32, GameTele > GameTeleContainer |
typedef std::multimap<uint32, GossipMenuItems> GossipMenuItemsContainer |
typedef std::unordered_map<uint32, GossipMenuItemsLocale> GossipMenuItemsLocaleContainer |
typedef std::pair<GossipMenuItemsContainer::const_iterator, GossipMenuItemsContainer::const_iterator> GossipMenuItemsMapBounds |
typedef std::pair<GossipMenuItemsContainer::iterator, GossipMenuItemsContainer::iterator> GossipMenuItemsMapBoundsNonConst |
typedef std::multimap<uint32, GossipMenus> GossipMenusContainer |
typedef std::pair<GossipMenusContainer::const_iterator, GossipMenusContainer::const_iterator> GossipMenusMapBounds |
typedef std::pair<GossipMenusContainer::iterator, GossipMenusContainer::iterator> GossipMenusMapBoundsNonConst |
typedef std::multimap<uint32, GraveYardData> GraveYardContainer |
typedef std::pair<GraveYardContainer::const_iterator, GraveYardContainer::const_iterator> GraveYardMapBounds |
typedef std::pair<GraveYardContainer::iterator, GraveYardContainer::iterator> GraveYardMapBoundsNonConst |
typedef std::unordered_map<uint16, InstanceTemplate> InstanceTemplateContainer |
typedef std::map<ObjectGuid, ObjectGuid> LinkedRespawnContainer |
typedef std::unordered_map<uint8, MailLevelRewardList> MailLevelRewardContainer |
typedef std::list<MailLevelReward> MailLevelRewardList |
typedef std::unordered_map<uint32, CellObjectGuidsMap> MapObjectGuids |
typedef std::map<uint32, PageText> PageTextContainer |
typedef std::unordered_map<uint32, PageTextLocale> PageTextLocaleContainer |
typedef std::unordered_map<uint32, std::vector<PhaseInfoStruct> > PhaseInfo |
typedef std::unordered_map<uint32, PointOfInterestLocale> PointOfInterestLocaleContainer |
typedef std::unordered_map<uint8, std::unordered_map<uint32, QuestGreeting const*> > QuestGreetingContainer |
typedef std::unordered_map<uint32, QuestObjectivesLocale> QuestObjectivesLocaleContainer |
typedef std::unordered_map<uint32, QuestPOIVector> QuestPOIContainer |
typedef std::vector<QuestPOI> QuestPOIVector |
typedef std::pair<QuestRelations::const_iterator, QuestRelations::const_iterator> QuestRelationBounds |
typedef std::pair<QuestRelationsReverse::const_iterator, QuestRelationsReverse::const_iterator> QuestRelationReverseBounds |
typedef std::multimap<uint32, uint32> QuestRelations |
typedef std::multimap<uint32, uint32> QuestRelationsReverse |
typedef std::unordered_map<uint32, QuestTemplateLocale> QuestTemplateLocaleContainer |
typedef std::unordered_map<uint32, std::string> RealmNameContainer |
typedef std::multimap<uint32, ScriptInfo> ScriptMap |
typedef std::map<uint32, ScriptMap > ScriptMapMap |
typedef std::multimap<uint32, SpellClickInfo> SpellClickInfoContainer |
typedef std::pair<SpellClickInfoContainer::const_iterator, SpellClickInfoContainer::const_iterator> SpellClickInfoMapBounds |
typedef std::pair<SpellScriptsContainer::iterator, SpellScriptsContainer::iterator> SpellScriptsBounds |
typedef std::multimap<uint32, uint32> SpellScriptsContainer |
typedef std::map<TempSummonGroupKey, std::vector<TempSummonData> > TempSummonDataContainer |
typedef std::unordered_map<uint32, std::vector<uint32 > > TerrainPhaseInfo |
typedef std::unordered_map<uint32, std::vector<uint32> > TerrainUIPhaseInfo |
typedef std::unordered_map<uint32, TrinityString> TrinityStringContainer |
enum EncounterCreditType |
enum eScriptFlags |
enum ScriptCommands |
enum ScriptsType |
enum SkillRangeType |
ExtendedPlayerName ExtractExtendedPlayerName | ( | std::string const & | name | ) |
LanguageDesc const* GetLanguageDescByID | ( | uint32 | lang | ) |
std::string GetScriptCommandName | ( | ScriptCommands | command | ) |
ScriptMapMap* GetScriptsMapByType | ( | ScriptsType | type | ) |
std::string GetScriptsTableNameByType | ( | ScriptsType | type | ) |
SkillRangeType GetSkillRangeType | ( | SkillRaceClassInfoEntry const * | rcEntry | ) |
TC_GAME_API bool normalizePlayerName | ( | std::string & | name | ) |
TC_GAME_API LanguageDesc lang_description[LANGUAGES_COUNT] |
TC_GAME_API ScriptMapMap sEventScripts |
TC_GAME_API ScriptMapMap sSpellScripts |
TC_GAME_API ScriptMapMap sWaypointScripts |