![]() |
TrinityCore
|
#include <ObjectMgr.h>
Public Types | |
| typedef std::unordered_map< uint32, Trinity::unique_trackable_ptr< Quest > > | QuestContainer |
| typedef std::unordered_map< uint32, AreaTriggerTeleport > | AreaTriggerContainer |
| typedef std::map< uint32, uint32 > | AreaTriggerScriptContainer |
| typedef std::unordered_map< uint32, std::unique_ptr< AccessRequirement > > | AccessRequirementContainer |
| typedef std::unordered_map< uint32, RepRewardRate > | RepRewardRateContainer |
| typedef std::unordered_map< uint32, ReputationOnKillEntry > | RepOnKillContainer |
| typedef std::unordered_map< uint32, RepSpilloverTemplate > | RepSpilloverTemplateContainer |
| typedef std::unordered_map< uint32, PointOfInterest > | PointOfInterestContainer |
| typedef std::vector< std::string > | ScriptNameContainer |
| typedef std::map< uint32, uint32 > | CharacterConversionMap |
Static Public Member Functions | |
| static ObjectMgr * | instance () |
| static uint32 | ChooseDisplayId (CreatureTemplate const *cinfo, CreatureData const *data=nullptr) |
| static void | ChooseCreatureFlags (CreatureTemplate const *cinfo, uint32 *npcflag, uint32 *unit_flags, uint32 *dynamicflags, CreatureData const *data=nullptr) |
| static ResponseCodes | CheckPlayerName (std::string_view name, LocaleConstant locale, bool create=false) |
| static PetNameInvalidReason | CheckPetName (std::string_view name, LocaleConstant locale) |
| static bool | IsValidCharterName (std::string_view name) |
| static bool | CheckDeclinedNames (const std::wstring &w_ownname, DeclinedName const &names) |
| static void | AddLocaleString (std::string &&value, LocaleConstant localeConstant, std::vector< std::string > &data) |
| static std::string_view | GetLocaleString (std::vector< std::string > const &data, LocaleConstant locale) |
| static void | GetLocaleString (std::vector< std::string > const &data, LocaleConstant localeConstant, std::string &value) |
| static void | GetLocaleString (std::vector< std::string > const &data, LocaleConstant localeConstant, std::string_view &value) |
Private Types | |
| typedef std::unordered_map< uint32, GossipText > | GossipTextContainer |
| typedef std::map< uint32, uint32 > | QuestAreaTriggerContainer |
| typedef std::set< uint32 > | TavernAreaTriggerContainer |
| typedef std::set< uint32 > | GameObjectForQuestContainer |
| typedef std::set< std::wstring > | ReservedNamesContainer |
| typedef std::unordered_map< uint32, std::unique_ptr< PetLevelInfo[] > > | PetLevelInfoContainer |
| typedef std::vector< uint32 > | PlayerXPperLevel |
| typedef std::map< uint32, uint32 > | BaseXPContainer |
| typedef std::map< uint32, int32 > | FishingBaseSkillContainer |
| typedef std::map< uint32, std::vector< std::string > > | HalfNameContainer |
| typedef std::unordered_map< uint32, ItemSetNameEntry > | ItemSetNameContainer |
Private Member Functions | |
| ObjectMgr () | |
| ~ObjectMgr () | |
| ObjectGuidGenerator & | GetGuidSequenceGenerator (HighGuid high) |
| void | LoadScripts (ScriptsType type) |
| void | LoadQuestRelationsHelper (QuestRelations &map, std::string const &table) |
| QuestRelationResult | GetQuestRelationsFrom (QuestRelations const &map, uint32 key, bool onlyActive) const |
| void | PlayerCreateInfoAddItemHelper (uint32 race_, uint32 class_, uint32 itemId, int32 count) |
| void | BuildPlayerLevelInfo (uint8 race, uint8 class_, uint8 level, PlayerLevelInfo *plinfo) const |
Friends | |
| class | PlayerDumpReader |
| class | UnitTestDataLoader |
Definition at line 923 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, std::unique_ptr<AccessRequirement> > ObjectMgr::AccessRequirementContainer |
Definition at line 947 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, AreaTriggerTeleport> ObjectMgr::AreaTriggerContainer |
Definition at line 943 of file ObjectMgr.h.
| typedef std::map<uint32, uint32> ObjectMgr::AreaTriggerScriptContainer |
Definition at line 945 of file ObjectMgr.h.
|
private |
Definition at line 1654 of file ObjectMgr.h.
| typedef std::map<uint32, uint32> ObjectMgr::CharacterConversionMap |
Definition at line 957 of file ObjectMgr.h.
|
private |
Definition at line 1657 of file ObjectMgr.h.
|
private |
Definition at line 1582 of file ObjectMgr.h.
|
private |
Definition at line 1579 of file ObjectMgr.h.
|
private |
Definition at line 1660 of file ObjectMgr.h.
|
private |
Definition at line 1664 of file ObjectMgr.h.
|
private |
Definition at line 1642 of file ObjectMgr.h.
|
private |
Definition at line 1651 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, PointOfInterest> ObjectMgr::PointOfInterestContainer |
Definition at line 953 of file ObjectMgr.h.
|
private |
Definition at line 1580 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, Trinity::unique_trackable_ptr<Quest> > ObjectMgr::QuestContainer |
Definition at line 941 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, ReputationOnKillEntry> ObjectMgr::RepOnKillContainer |
Definition at line 950 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, RepRewardRate > ObjectMgr::RepRewardRateContainer |
Definition at line 949 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, RepSpilloverTemplate> ObjectMgr::RepSpilloverTemplateContainer |
Definition at line 951 of file ObjectMgr.h.
|
private |
Definition at line 1612 of file ObjectMgr.h.
| typedef std::vector<std::string> ObjectMgr::ScriptNameContainer |
Definition at line 955 of file ObjectMgr.h.
|
private |
Definition at line 1581 of file ObjectMgr.h.
|
private |
Definition at line 223 of file ObjectMgr.cpp.
|
private |
Definition at line 240 of file ObjectMgr.cpp.
|
delete |
|
delete |
| ObjectGuid::LowType ObjectMgr::AddCreatureData | ( | uint32 | entry, |
| uint32 | map, | ||
| Position const & | pos, | ||
| uint32 | spawntimedelay = 0 |
||
| ) |
Definition at line 2427 of file ObjectMgr.cpp.
References AddCreatureToGrid(), CreatureData::curhealth, CreatureData::curmana, CreatureData::currentwaypoint, SpawnMetadata::dbData, CreatureData::displayid, CreatureTemplate::dynamicflags, CreatureData::dynamicflags, CreatureData::equipmentId, GenerateCreatureSpawnId(), CreatureBaseStats::GenerateHealth(), CreatureBaseStats::GenerateMana(), GetCreatureBaseStats(), GetCreatureTemplate(), GetLegacySpawnGroup(), SpawnData::id, Map::Instanceable(), Map::IsRemovalGrid(), Creature::LoadFromDB(), SpawnMetadata::mapId, CreatureTemplate::maxlevel, CreatureTemplate::minlevel, CreatureTemplate::MovementType, CreatureData::movementType, NewOrExistCreatureData(), CreatureTemplate::npcflag, CreatureData::npcflag, SpawnData::phaseMask, PHASEMASK_NORMAL, Position::Relocate(), sMapMgr, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnMask, SpawnData::spawnPoint, SpawnData::spawntimesecs, TC_LOG_ERROR, CreatureTemplate::unit_class, CreatureTemplate::unit_flags, CreatureData::unit_flags, urand(), and CreatureData::wander_distance.
| void ObjectMgr::AddCreatureToGrid | ( | ObjectGuid::LowType | guid, |
| CreatureData const * | data | ||
| ) |
Definition at line 2352 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Trinity::ComputeCellCoord(), CellObjectGuids::creatures, CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), MAKE_PAIR32(), SpawnMetadata::mapId, SpawnData::spawnMask, and SpawnData::spawnPoint.
Referenced by AddCreatureData(), and LoadCreatures().
| ObjectGuid::LowType ObjectMgr::AddGameObjectData | ( | uint32 | entry, |
| uint32 | map, | ||
| Position const & | pos, | ||
| QuaternionData const & | rot, | ||
| uint32 | spawntimedelay = 0 |
||
| ) |
Definition at line 2380 of file ObjectMgr.cpp.
References AddGameobjectToGrid(), GameObjectData::animprogress, GameObjectData::artKit, SpawnMetadata::dbData, GAMEOBJECT_TYPE_CAPTURE_POINT, GenerateGameObjectSpawnId(), GetGameObjectTemplate(), GetLegacySpawnGroup(), GO_STATE_READY, GameObjectData::goState, SpawnData::id, Map::Instanceable(), Map::IsGridLoaded(), GameObject::LoadFromDB(), SpawnMetadata::mapId, NewOrExistGameObjectData(), SpawnData::phaseMask, PHASEMASK_NORMAL, Position::Relocate(), GameObjectData::rotation, sMapMgr, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnMask, SpawnData::spawnPoint, SpawnData::spawntimesecs, TC_LOG_DEBUG, TC_LOG_ERROR, Position::ToString(), and GameObjectTemplate::type.
| void ObjectMgr::AddGameobjectToGrid | ( | ObjectGuid::LowType | guid, |
| GameObjectData const * | data | ||
| ) |
Definition at line 2866 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Trinity::ComputeCellCoord(), CellObjectGuids::gameobjects, CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), MAKE_PAIR32(), SpawnMetadata::mapId, SpawnData::spawnMask, and SpawnData::spawnPoint.
Referenced by AddGameObjectData(), and LoadGameObjects().
| bool ObjectMgr::AddGameTele | ( | GameTele & | data | ) |
Definition at line 9047 of file ObjectMgr.cpp.
References GameTele::mapId, GameTele::name, GameTele::orientation, GameTele::position_x, GameTele::position_y, GameTele::position_z, PreparedStatementBase::setFloat(), PreparedStatementBase::setString(), PreparedStatementBase::setUInt16(), PreparedStatementBase::setUInt32(), Utf8toWStr(), GameTele::wnameLow, WORLD_INS_GAME_TELE, WorldDatabase, and wstrToLower().
Definition at line 7068 of file ObjectMgr.cpp.
References FindGraveyardData(), GraveyardStore, GraveyardData::safeLocId, PreparedStatementBase::setUInt16(), PreparedStatementBase::setUInt32(), GraveyardData::team, WORLD_INS_GRAVEYARD_ZONE, and WorldDatabase.
Referenced by LoadGraveyardZones().
|
static |
Definition at line 244 of file ObjectMgr.cpp.
Referenced by LoadCreatureLocales(), CreatureTextMgr::LoadCreatureTextLocales(), LoadGameObjectLocales(), LoadGossipMenuItemsLocales(), LoadItemLocales(), LoadItemSetNameLocales(), LoadNpcTextLocales(), LoadPageTextLocales(), LoadPointOfInterestLocales(), LoadQuestGreetingLocales(), LoadQuestLocales(), LoadQuestOfferRewardLocale(), LoadQuestRequestItemsLocale(), and AchievementGlobalMgr::LoadRewardLocales().
| void ObjectMgr::AddVendorItem | ( | uint32 | entry, |
| uint32 | item, | ||
| int32 | maxcount, | ||
| uint32 | incrtime, | ||
| uint32 | extendedCost, | ||
| bool | persist = true |
||
| ) |
Definition at line 9561 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt8(), WORLD_INS_NPC_VENDOR, and WorldDatabase.
|
private |
Definition at line 4560 of file ObjectMgr.cpp.
References _playerInfo, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, CLASS_WARRIOR, CONFIG_MAX_PLAYER_LEVEL, STAT_AGILITY, STAT_INTELLECT, STAT_SPIRIT, STAT_STAMINA, STAT_STRENGTH, PlayerLevelInfo::stats, and sWorld.
Referenced by GetPlayerLevelInfo().
| void ObjectMgr::CheckCreatureMovement | ( | char const * | table, |
| uint64 | id, | ||
| CreatureMovementData & | creatureMovement | ||
| ) |
Definition at line 1246 of file ObjectMgr.cpp.
References CreatureMovementData::Chase, CreatureMovementData::Flight, CreatureMovementData::Ground, Max, None, CreatureMovementData::Random, Run, TC_LOG_ERROR, and Walk.
Referenced by CheckCreatureTemplate(), and LoadCreatureMovementOverrides().
| void ObjectMgr::CheckCreatureTemplate | ( | CreatureTemplate const * | cInfo | ) |
if not set custom creature scale then load scale from CreatureDisplayInfo.dbc
Definition at line 824 of file ObjectMgr.cpp.
References _difficultyEntries, Creature::_GetDamageMod(), _hasDifficultyEntries, ABORT, CreatureTemplate::AIName, ASSERT_NOTNULL, BASE_ATTACK_TIME, CreatureTemplate::BaseAttackTime, CheckCreatureMovement(), CLASSMASK_ALL_CREATURES, CREATURE_FAMILY_HORSE_CUSTOM, CREATURE_FAMILY_NONE, CREATURE_FLAG_EXTRA_DB_ALLOWED, CREATURE_FLAG_EXTRA_INSTANCE_BIND, CREATURE_TYPE_HUMANOID, CreatureDisplayInfoEntry::CreatureModelScale, CreatureTemplate::DifficultyEntry, CreatureTemplate::dmgschool, CreatureTemplate::dynamicflags, CreatureTemplate::Entry, CreatureTemplate::expansion, CreatureTemplate::faction, CreatureTemplate::family, CreatureTemplate::flags_extra, GetCreatureModelInfo(), GetCreatureTemplate(), CreatureTemplate::GossipMenuId, CreatureTemplate::HoverHeight, IDLE_MOTION_TYPE, CreatureTemplate::KillCredit, MAX_CREATURE_SPELLS, MAX_DB_MOTION_TYPE, MAX_DIFFICULTY, MAX_EXPANSIONS, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, CreatureTemplate::maxgold, CreatureTemplate::maxlevel, CreatureTemplate::MechanicImmuneMask, CreatureTemplate::mingold, CreatureTemplate::minlevel, CreatureTemplate::Modelid1, CreatureTemplate::Modelid2, CreatureTemplate::Modelid3, CreatureTemplate::Modelid4, CreatureTemplate::Movement, CreatureTemplate::MovementType, CreatureTemplate::npcflag, CreatureTemplate::PetSpellDataId, CreatureTemplate::RangeAttackTime, CreatureTemplate::rank, CreatureTemplate::RegenHealth, CreatureTemplate::scale, sCreatureAIRegistry, sCreatureDisplayInfoStore, sCreatureFamilyStore, sCreatureSpellDataStore, sCreatureTypeStore, CreatureTemplate::ScriptID, sFactionTemplateStore, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_NORMAL, CreatureTemplate::spells, sSpellMgr, sVehicleStore, TC_LOG_ERROR, TC_LOG_FATAL, TC_LOG_INFO, CreatureTemplate::type, CreatureTemplate::unit_class, UNIT_CLASS_WARRIOR, UNIT_FLAG2_ALLOWED, UNIT_FLAG_ALLOWED, CreatureTemplate::unit_flags, CreatureTemplate::unit_flags2, UNIT_NPC_FLAG_GOSSIP, and CreatureTemplate::VehicleId.
Referenced by LoadCreatureTemplates().
|
static |
Definition at line 8869 of file ObjectMgr.cpp.
References GetMainPartOfName(), MAX_DECLINED_NAME_CASES, DeclinedName::name, and Utf8toWStr().
Referenced by WorldSession::HandlePetRename(), and WorldSession::HandleSetPlayerDeclinedNames().
|
static |
Definition at line 8703 of file ObjectMgr.cpp.
References CHAR_NAME_PROFANE, CHAR_NAME_RESERVED, CONFIG_MIN_PET_NAME, CONFIG_STRICT_PET_NAMES, isValidString(), MAX_PET_NAME, PET_NAME_INVALID, PET_NAME_MIXED_LANGUAGES, PET_NAME_PROFANE, PET_NAME_RESERVED, PET_NAME_SUCCESS, PET_NAME_TOO_LONG, PET_NAME_TOO_SHORT, RESPONSE_FAILURE, sWorld, Utf8toWStr(), and ValidateName().
Referenced by WorldSession::HandlePetRename().
|
static |
Definition at line 8660 of file ObjectMgr.cpp.
References CHAR_NAME_INVALID_CHARACTER, CHAR_NAME_MIXED_LANGUAGES, CHAR_NAME_THREE_CONSECUTIVE, CHAR_NAME_TOO_LONG, CHAR_NAME_TOO_SHORT, CONFIG_MIN_PLAYER_NAME, CONFIG_STRICT_PLAYER_NAMES, isValidString(), MAX_PLAYER_NAME, sWorld, Utf8toWStr(), ValidateName(), and wstrToLower().
Referenced by character_commandscript::HandleCharacterRenameCommand(), WorldSession::HandleCharCreateOpcode(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameOpcode(), PlayerDumpReader::LoadDump(), Player::LoadFromDB(), and character_commandscript::ValidatePDumpTarget().
|
static |
Definition at line 1675 of file ObjectMgr.cpp.
References ChooseCreatureFlagSource.
Referenced by Creature::setDeathState(), and Creature::UpdateEntry().
|
static |
Definition at line 1662 of file ObjectMgr.cpp.
References CREATURE_FLAG_EXTRA_TRIGGER, CreatureData::displayid, CreatureTemplate::flags_extra, CreatureTemplate::GetFirstInvisibleModel(), and CreatureTemplate::GetRandomValidModelId().
Referenced by AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraMounted(), AuraEffect::HandleAuraTransform(), Creature::InitEntry(), and SmartScript::ProcessAction().
| void ObjectMgr::DeleteCreatureData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8410 of file ObjectMgr.cpp.
References _creatureDataStore, GetCreatureData(), OnDeleteSpawnData(), and RemoveCreatureFromGrid().
| void ObjectMgr::DeleteGameObjectData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8423 of file ObjectMgr.cpp.
References _gameObjectDataStore, GetGameObjectData(), OnDeleteSpawnData(), and RemoveGameobjectFromGrid().
| bool ObjectMgr::DeleteGameTele | ( | std::string_view | name | ) |
Definition at line 9080 of file ObjectMgr.cpp.
References PreparedStatementBase::setString(), Utf8toWStr(), WORLD_DEL_GAME_TELE, WorldDatabase, and wstrToLower().
| GraveyardData const * ObjectMgr::FindGraveyardData | ( | uint32 | id, |
| uint32 | zone | ||
| ) | const |
Definition at line 7040 of file ObjectMgr.cpp.
References GraveyardStore, and GraveyardData::safeLocId.
Referenced by AddGraveyardLink().
| uint32 ObjectMgr::GenerateAuctionID | ( | ) |
Definition at line 7406 of file ObjectMgr.cpp.
References _auctionId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint32 ObjectMgr::GenerateCreatureSpawnId | ( | ) |
Definition at line 7446 of file ObjectMgr.cpp.
References _creatureSpawnId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
Referenced by AddCreatureData().
| uint64 ObjectMgr::GenerateEquipmentSetGuid | ( | ) |
Definition at line 7416 of file ObjectMgr.cpp.
References _equipmentSetGuid, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint32 ObjectMgr::GenerateGameObjectSpawnId | ( | ) |
Definition at line 7456 of file ObjectMgr.cpp.
References _gameObjectSpawnId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
Referenced by AddGameObjectData().
| uint32 ObjectMgr::GenerateMailID | ( | ) |
Definition at line 7426 of file ObjectMgr.cpp.
References _mailId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| std::string ObjectMgr::GeneratePetName | ( | uint32 | entry | ) |
Definition at line 7933 of file ObjectMgr.cpp.
References _petHalfName0, _petHalfName1, CreatureTemplate::family, GetCreatureTemplate(), GetPetName(), CreatureTemplate::Name, sWorld, and urand().
| uint32 ObjectMgr::GeneratePetNumber | ( | ) |
Definition at line 7436 of file ObjectMgr.cpp.
References _hiPetNumber, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| AccessRequirement const * ObjectMgr::GetAccessRequirement | ( | uint32 | mapid, |
| Difficulty | difficulty | ||
| ) | const |
Definition at line 7060 of file ObjectMgr.cpp.
References _accessRequirementStore, and MAKE_PAIR32().
|
inline |
Definition at line 1331 of file ObjectMgr.h.
|
inline |
Definition at line 1352 of file ObjectMgr.h.
| ObjectMgr::ScriptNameContainer const & ObjectMgr::GetAllScriptNames | ( | ) | const |
Definition at line 9738 of file ObjectMgr.cpp.
| AreaTriggerTeleport const * ObjectMgr::GetAreaTrigger | ( | uint32 | trigger | ) | const |
Definition at line 7052 of file ObjectMgr.cpp.
References _areaTriggerStore.
Definition at line 8893 of file ObjectMgr.cpp.
| int32 ObjectMgr::GetBaseReputationOf | ( | FactionEntry const * | factionEntry, |
| uint8 | race, | ||
| uint8 | playerClass | ||
| ) | const |
Definition at line 8907 of file ObjectMgr.cpp.
References FactionEntry::ReputationBase, FactionEntry::ReputationClassMask, and FactionEntry::ReputationRaceMask.
Definition at line 7876 of file ObjectMgr.cpp.
References _baseXPTable.
|
inline |
Definition at line 1299 of file ObjectMgr.h.
| CellObjectGuids const * ObjectMgr::GetCellObjectGuids | ( | uint16 | mapid, |
| uint8 | spawnMode, | ||
| uint32 | cell_id | ||
| ) |
Definition at line 2339 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, MAKE_PAIR32(), and Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1472 of file ObjectMgr.h.
| WorldSafeLocsEntry const * ObjectMgr::GetClosestGraveyard | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint32 | MapId, | ||
| uint32 | team, | ||
| WorldObject * | conditionObject | ||
| ) | const |
Definition at line 6914 of file ObjectMgr.cpp.
References WorldSafeLocsEntry::Continent, MapEntry::Corpse, MapEntry::CorpseMapID, GetDefaultGraveyard(), Object::GetGUID(), WorldObject::GetName(), GraveyardStore, MapEntry::IsBattlegroundOrArena(), WorldSafeLocsEntry::Loc, PHASEMASK_NORMAL, GraveyardData::safeLocId, sMapMgr, sMapStore, sWorldSafeLocsStore, TC_LOG_ERROR, GraveyardData::team, DBCPosition2D::X, DBCPosition3D::X, DBCPosition2D::Y, DBCPosition3D::Y, and DBCPosition3D::Z.
| CreatureAddon const * ObjectMgr::GetCreatureAddon | ( | ObjectGuid::LowType | lowguid | ) | const |
Definition at line 1468 of file ObjectMgr.cpp.
References _creatureAddonStore.
| CreatureBaseStats const * ObjectMgr::GetCreatureBaseStats | ( | uint8 | level, |
| uint8 | unitClass | ||
| ) |
Definition at line 9864 of file ObjectMgr.cpp.
References MAKE_PAIR16(), and MAX_EXPANSIONS.
Referenced by AddCreatureData().
|
inline |
Definition at line 1332 of file ObjectMgr.h.
Referenced by DeleteCreatureData(), LoadCreatureAddons(), LoadCreatureMovementOverrides(), LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
|
inline |
Definition at line 1346 of file ObjectMgr.h.
| CreatureModelInfo const * ObjectMgr::GetCreatureModelInfo | ( | uint32 | modelId | ) | const |
Definition at line 1653 of file ObjectMgr.cpp.
References _creatureModelStore.
Referenced by CheckCreatureTemplate(), and GetCreatureModelRandomGender().
| CreatureModelInfo const * ObjectMgr::GetCreatureModelRandomGender | ( | uint32 * | displayID | ) | const |
Definition at line 1691 of file ObjectMgr.cpp.
References CreatureModelInfo::displayId_other_gender, GetCreatureModelInfo(), TC_LOG_ERROR, and urand().
Referenced by GetTaxiMountDisplayId().
| CreatureMovementData const * ObjectMgr::GetCreatureMovementOverride | ( | ObjectGuid::LowType | spawnId | ) | const |
Definition at line 1486 of file ObjectMgr.cpp.
References _creatureMovementOverrides, and Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1123 of file ObjectMgr.h.
Definition at line 1015 of file ObjectMgr.h.
|
inline |
Definition at line 1022 of file ObjectMgr.h.
|
inline |
Definition at line 1121 of file ObjectMgr.h.
|
inline |
Definition at line 1122 of file ObjectMgr.h.
| CreatureTemplate const * ObjectMgr::GetCreatureTemplate | ( | uint32 | entry | ) | const |
Definition at line 10186 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by AddCreatureData(), CheckCreatureTemplate(), GeneratePetName(), GetTaxiMountDisplayId(), LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadCreatures(), LoadInstanceEncounters(), LoadNPCSpellClickSpells(), LoadReputationOnKill(), LoadScripts(), and LoadTempSummons().
| CreatureAddon const * ObjectMgr::GetCreatureTemplateAddon | ( | uint32 | entry | ) | const |
Definition at line 1477 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore.
|
inline |
Definition at line 968 of file ObjectMgr.h.
|
inline |
Definition at line 1437 of file ObjectMgr.h.
| WorldSafeLocsEntry const * ObjectMgr::GetDefaultGraveyard | ( | uint32 | team | ) | const |
Definition at line 6899 of file ObjectMgr.cpp.
References ALLIANCE, HORDE, and sWorldSafeLocsStore.
Referenced by GetClosestGraveyard().
|
inline |
Definition at line 1259 of file ObjectMgr.h.
Referenced by LoadCreatures(), and LoadGameObjects().
| DungeonEncounterList const * ObjectMgr::GetDungeonEncounterList | ( | uint32 | mapId, |
| Difficulty | difficulty | ||
| ) | const |
Definition at line 10218 of file ObjectMgr.cpp.
References MAKE_PAIR32().
| EquipmentInfo const * ObjectMgr::GetEquipmentInfo | ( | uint32 | entry, |
| int8 & | id | ||
| ) | const |
Definition at line 1491 of file ObjectMgr.cpp.
References _equipmentInfoStore, and urand().
Referenced by LoadCreatures().
|
inline |
Definition at line 1125 of file ObjectMgr.h.
Definition at line 1230 of file ObjectMgr.h.
| GameObjectAddon const * ObjectMgr::GetGameObjectAddon | ( | ObjectGuid::LowType | lowguid | ) | const |
Definition at line 1459 of file ObjectMgr.cpp.
References _gameObjectAddonStore.
|
inline |
Definition at line 1353 of file ObjectMgr.h.
Referenced by DeleteGameObjectData(), LoadGameObjectAddons(), LoadGameObjectOverrides(), LoadLinkedRespawn(), and LoadScripts().
|
inline |
Definition at line 1361 of file ObjectMgr.h.
| GameObjectOverride const * ObjectMgr::GetGameObjectOverride | ( | ObjectGuid::LowType | spawnId | ) | const |
Definition at line 10181 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Definition at line 1006 of file ObjectMgr.h.
|
inline |
Definition at line 1013 of file ObjectMgr.h.
| GameObjectTemplate const * ObjectMgr::GetGameObjectTemplate | ( | uint32 | entry | ) | const |
Definition at line 10167 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by AddGameObjectData(), LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), LoadGameObjects(), LoadQuests(), LoadScripts(), and LoadTempSummons().
| GameObjectTemplateAddon const * ObjectMgr::GetGameObjectTemplateAddon | ( | uint32 | entry | ) | const |
Definition at line 10172 of file ObjectMgr.cpp.
|
inline |
Definition at line 960 of file ObjectMgr.h.
| GameTele const * ObjectMgr::GetGameTele | ( | std::string_view | name | ) | const |
Definition at line 9005 of file ObjectMgr.cpp.
References Utf8toWStr(), GameTele::wnameLow, and wstrToLower().
Definition at line 1459 of file ObjectMgr.h.
| GameTele const * ObjectMgr::GetGameTeleExactName | ( | std::string_view | name | ) | const |
Definition at line 9028 of file ObjectMgr.cpp.
References Utf8toWStr(), and wstrToLower().
|
inline |
Definition at line 1467 of file ObjectMgr.h.
|
inline |
Definition at line 1243 of file ObjectMgr.h.
References Global.
| AreaTriggerTeleport const * ObjectMgr::GetGoBackTrigger | ( | uint32 | Map | ) | const |
Definition at line 7296 of file ObjectMgr.cpp.
References _areaTriggerStore, AreaTriggerEntry::ContinentID, MapEntry::CorpseMapID, MapEntry::IsDungeon(), InstanceTemplate::Parent, sAreaTriggerStore, sMapStore, and sObjectMgr.
|
inline |
Definition at line 1120 of file ObjectMgr.h.
|
inline |
Definition at line 1118 of file ObjectMgr.h.
|
inline |
Definition at line 1119 of file ObjectMgr.h.
|
inline |
Definition at line 1409 of file ObjectMgr.h.
|
inline |
Definition at line 1506 of file ObjectMgr.h.
|
inline |
Definition at line 1510 of file ObjectMgr.h.
|
inline |
Definition at line 1496 of file ObjectMgr.h.
|
inline |
Definition at line 1501 of file ObjectMgr.h.
| GossipText const * ObjectMgr::GetGossipText | ( | uint32 | Text_ID | ) | const |
Definition at line 6167 of file ObjectMgr.cpp.
References _gossipTextStore.
|
private |
Definition at line 7397 of file ObjectMgr.cpp.
References _guidGenerators.
| InstanceTemplate const * ObjectMgr::GetInstanceTemplate | ( | uint32 | mapId | ) | const |
Definition at line 6071 of file ObjectMgr.cpp.
References _instanceTemplateStore.
|
inline |
Definition at line 993 of file ObjectMgr.h.
|
inline |
Definition at line 1367 of file ObjectMgr.h.
|
inline |
Definition at line 985 of file ObjectMgr.h.
|
inline |
Definition at line 1373 of file ObjectMgr.h.
| ItemTemplate const * ObjectMgr::GetItemTemplate | ( | uint32 | entry | ) | const |
Definition at line 3452 of file ObjectMgr.cpp.
References _itemTemplateStore, and Trinity::Containers::MapGetValuePtr().
Referenced by LoadAccessRequirements(), LoadItemTemplates(), LoadPlayerInfo(), and LoadScripts().
|
inline |
Definition at line 981 of file ObjectMgr.h.
|
inline |
Definition at line 1260 of file ObjectMgr.h.
Referenced by AddCreatureData(), AddGameObjectData(), LoadCreatures(), and LoadGameObjects().
|
inline |
Definition at line 1340 of file ObjectMgr.h.
References ObjectGuid::Empty.
|
inlinestatic |
Definition at line 1519 of file ObjectMgr.h.
Referenced by GossipMenu::AddMenuItem(), AuctionHouseObject::BuildListAuctionItems(), CreatureTemplate::BuildQueryData(), GameObjectTemplate::BuildQueryData(), ItemTemplate::BuildQueryData(), Quest::BuildQueryData(), AchievementMgr::CompletedAchievement(), CreatureTextMgr::GetLocalizedChatString(), WorldSession::HandleItemNameQueryOpcode(), WorldSession::HandleNpcTextQueryOpcode(), WorldSession::HandleQueryPageText(), LinkValidator< LinkTags::quest >::IsTextValid(), Player::PrepareGossipMenu(), PlayerMenu::SendGossipMenu(), PlayerMenu::SendPointOfInterest(), Player::SendPreparedQuest(), Player::SendQuestConfirmAccept(), PlayerMenu::SendQuestGiverOfferReward(), PlayerMenu::SendQuestGiverQuestDetails(), PlayerMenu::SendQuestGiverQuestList(), and PlayerMenu::SendQuestGiverRequestItems().
|
inlinestatic |
Definition at line 1526 of file ObjectMgr.h.
|
inlinestatic |
Definition at line 1532 of file ObjectMgr.h.
|
inline |
Definition at line 1264 of file ObjectMgr.h.
| AreaTriggerTeleport const * ObjectMgr::GetMapEntranceTrigger | ( | uint32 | Map | ) | const |
Searches for the areatrigger which teleports players to the given map
Definition at line 7329 of file ObjectMgr.cpp.
References _areaTriggerStore, and sAreaTriggerStore.
| CellObjectGuidsMap const * ObjectMgr::GetMapObjectGuids | ( | uint16 | mapid, |
| uint8 | spawnMode | ||
| ) |
Definition at line 2347 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, MAKE_PAIR32(), and Trinity::Containers::MapGetValuePtr().
| uint32 ObjectMgr::GetModelForTotem | ( | SummonSlot | totemSlot, |
| Races | race | ||
| ) | const |
Definition at line 1826 of file ObjectMgr.cpp.
References _playerTotemModel.
Definition at line 6729 of file ObjectMgr.cpp.
References ALLIANCE, TaxiNodesEntry::ContinentID, TaxiNodesEntry::ID, TaxiNodesEntry::MountCreatureID, TaxiNodesEntry::Pos, sTaxiNodesMask, sTaxiNodesStore, DBCPosition3D::X, DBCPosition3D::Y, and DBCPosition3D::Z.
|
inline |
Definition at line 1397 of file ObjectMgr.h.
|
inline |
Definition at line 1474 of file ObjectMgr.h.
Definition at line 5991 of file ObjectMgr.cpp.
References _pageTextStore.
Referenced by LoadGameObjectTemplate(), and LoadItemTemplates().
|
inline |
Definition at line 1403 of file ObjectMgr.h.
| PetLevelInfo const * ObjectMgr::GetPetLevelInfo | ( | uint32 | creature_id, |
| uint8 | level | ||
| ) | const |
Definition at line 3847 of file ObjectMgr.cpp.
References _petInfoStore, CONFIG_MAX_PLAYER_LEVEL, and sWorld.
|
inline |
Definition at line 998 of file ObjectMgr.h.
References MAX_CLASSES.
| void ObjectMgr::GetPlayerClassLevelInfo | ( | uint32 | class_, |
| uint8 | level, | ||
| PlayerClassLevelInfo * | info | ||
| ) | const |
Definition at line 4532 of file ObjectMgr.cpp.
References _playerClassInfo, CONFIG_MAX_PLAYER_LEVEL, MAX_CLASSES, and sWorld.
| PlayerInfo const * ObjectMgr::GetPlayerInfo | ( | uint32 | race, |
| uint32 | class_ | ||
| ) | const |
Definition at line 10226 of file ObjectMgr.cpp.
References MAX_CLASSES, and MAX_RACES.
| void ObjectMgr::GetPlayerLevelInfo | ( | uint32 | race, |
| uint32 | class_, | ||
| uint8 | level, | ||
| PlayerLevelInfo * | info | ||
| ) | const |
Definition at line 4545 of file ObjectMgr.cpp.
References _playerInfo, BuildPlayerLevelInfo(), CONFIG_MAX_PLAYER_LEVEL, MAX_CLASSES, and MAX_RACES.
|
inline |
Definition at line 1096 of file ObjectMgr.h.
|
inline |
Definition at line 1415 of file ObjectMgr.h.
Definition at line 1032 of file ObjectMgr.h.
| QuestGreeting const * ObjectMgr::GetQuestGreeting | ( | ObjectGuid | guid | ) | const |
Definition at line 6476 of file ObjectMgr.cpp.
References _questGreetingStore, ObjectGuid::GetEntry(), and ObjectGuid::GetTypeId().
|
inline |
Definition at line 1421 of file ObjectMgr.h.
|
inline |
Definition at line 1379 of file ObjectMgr.h.
|
inline |
Definition at line 1385 of file ObjectMgr.h.
| QuestPOIWrapper const * ObjectMgr::GetQuestPOIWrapper | ( | uint32 | questId | ) | const |
Definition at line 10191 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inlineprivate |
Definition at line 1635 of file ObjectMgr.h.
|
inline |
Definition at line 1391 of file ObjectMgr.h.
Definition at line 6833 of file ObjectMgr.cpp.
References _questTemplates.
Referenced by LoadAccessRequirements(), LoadQuestAreaTriggers(), LoadQuests(), and LoadScripts().
|
inline |
Definition at line 1030 of file ObjectMgr.h.
|
inline |
Definition at line 1068 of file ObjectMgr.h.
|
inline |
Definition at line 1087 of file ObjectMgr.h.
|
inline |
Definition at line 1077 of file ObjectMgr.h.
| uint32 ObjectMgr::GetScriptId | ( | std::string const & | name | ) |
Definition at line 9749 of file ObjectMgr.cpp.
Referenced by LoadAreaTriggerScripts(), LoadCreatures(), LoadCreatureTemplate(), LoadGameObjects(), LoadGameObjectTemplate(), and LoadSpellScriptNames().
| std::string const & ObjectMgr::GetScriptName | ( | uint32 | id | ) | const |
Definition at line 9743 of file ObjectMgr.cpp.
Referenced by ValidateSpellScripts().
|
inline |
Definition at line 1315 of file ObjectMgr.h.
References ABORT_MSG, SPAWN_TYPE_CREATURE, SPAWN_TYPE_GAMEOBJECT, and SpawnMetadata::TypeHasData().
|
inline |
Definition at line 1258 of file ObjectMgr.h.
References SpawnMetadata::spawnGroupData.
|
inline |
Definition at line 1257 of file ObjectMgr.h.
|
inline |
Definition at line 1262 of file ObjectMgr.h.
|
inline |
Definition at line 1307 of file ObjectMgr.h.
References SpawnMetadata::TypeHasData().
Referenced by LoadSpawnGroups().
|
inline |
Definition at line 1261 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
|
inline |
Definition at line 1491 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
| SpellScriptsBounds ObjectMgr::GetSpellScriptsBounds | ( | uint32 | spellId | ) |
Definition at line 8901 of file ObjectMgr.cpp.
|
inline |
Gets temp summon data for all creatures of specified group.
| summonerId | Summoner's entry. |
| summonerType | Summoner's type, see SummonerType for available types. |
| group | Id of required group. |
Definition at line 1290 of file ObjectMgr.h.
Definition at line 6793 of file ObjectMgr.cpp.
References ALLIANCE, GetCreatureModelRandomGender(), GetCreatureTemplate(), CreatureTemplate::GetRandomValidModelId(), TaxiNodesEntry::MountCreatureID, sTaxiNodesStore, and TC_LOG_ERROR.
Definition at line 6769 of file ObjectMgr.cpp.
References sTaxiPathSetBySource.
| Trainer::Trainer const * ObjectMgr::GetTrainer | ( | uint32 | creatureId | ) | const |
Definition at line 9552 of file ObjectMgr.cpp.
|
inline |
Definition at line 1428 of file ObjectMgr.h.
| char const * ObjectMgr::GetTrinityString | ( | uint32 | entry, |
| LocaleConstant | locale | ||
| ) | const |
Definition at line 8819 of file ObjectMgr.cpp.
References TrinityString::Content, DEFAULT_LOCALE, and TC_LOG_ERROR.
|
inline |
Definition at line 1436 of file ObjectMgr.h.
| VehicleAccessoryList const * ObjectMgr::GetVehicleAccessoryList | ( | Vehicle * | veh | ) | const |
Definition at line 10201 of file ObjectMgr.cpp.
References Vehicle::GetBase(), Vehicle::GetCreatureEntry(), and Object::ToCreature().
|
inline |
Definition at line 1554 of file ObjectMgr.h.
| VehicleTemplate const * ObjectMgr::GetVehicleTemplate | ( | Vehicle * | veh | ) | const |
Definition at line 10196 of file ObjectMgr.cpp.
References Vehicle::GetCreatureEntry(), and Trinity::Containers::MapGetValuePtr().
Definition at line 7881 of file ObjectMgr.cpp.
References _playerXPperLevel.
| void ObjectMgr::InitializeQueriesData | ( | QueryDataGroup | mask | ) |
Definition at line 10328 of file ObjectMgr.cpp.
References CONFIG_CACHE_DATA_QUERIES, getMSTime(), GetMSTimeDiffToNow(), Trinity::ThreadPool::Join(), Trinity::ThreadPool::PostWork(), QUERY_DATA_CREATURES, QUERY_DATA_GAMEOBJECTS, QUERY_DATA_ITEMS, QUERY_DATA_POIS, QUERY_DATA_QUESTS, sWorld, and TC_LOG_INFO.
|
static |
|
inline |
Definition at line 1045 of file ObjectMgr.h.
| bool ObjectMgr::IsReservedName | ( | std::string_view | name | ) | const |
Definition at line 8576 of file ObjectMgr.cpp.
References Utf8toWStr(), and wstrToLower().
|
inline |
Definition at line 1040 of file ObjectMgr.h.
|
inline |
Definition at line 1552 of file ObjectMgr.h.
Referenced by LoadCreatures(), and LoadGameObjects().
|
static |
Definition at line 8685 of file ObjectMgr.cpp.
References CONFIG_MIN_CHARTER_NAME, CONFIG_STRICT_CHARTER_NAMES, isValidString(), MAX_CHARTER_NAME, sWorld, and Utf8toWStr().
Referenced by WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionRenameGuild(), ArenaTeam::SetName(), and Guild::SetName().
| bool ObjectMgr::IsVendorItemValid | ( | uint32 | vendor_entry, |
| uint32 | id, | ||
| int32 | maxcount, | ||
| uint32 | ptime, | ||
| uint32 | ExtendedCost, | ||
| Player * | player = nullptr, |
||
| std::set< uint32 > * | skip_vendors = nullptr, |
||
| uint32 | ORnpcflag = 0 |
||
| ) | const |
Definition at line 9602 of file ObjectMgr.cpp.
References VendorItemData::FindItemCostPair(), Player::GetSession(), LANG_COMMAND_VENDORSELECTION, LANG_EXTENDED_COST_NOT_EXIST, LANG_ITEM_ALREADY_IN_LIST, LANG_ITEM_NOT_FOUND, CreatureTemplate::npcflag, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), sItemExtendedCostStore, sObjectMgr, TC_LOG_ERROR, and UNIT_NPC_FLAG_VENDOR.
| void ObjectMgr::LoadAccessRequirements | ( | ) |
Definition at line 7202 of file ObjectMgr.cpp.
References _accessRequirementStore, GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MAKE_PAIR32(), sAchievementStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerScripts | ( | ) |
Definition at line 6696 of file ObjectMgr.cpp.
References _areaTriggerScriptStore, getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetString(), Field::GetUInt32(), sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerTeleports | ( | ) |
Definition at line 7143 of file ObjectMgr.cpp.
References _areaTriggerStore, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), sAreaTriggerStore, sMapStore, AreaTriggerTeleport::target_mapId, AreaTriggerTeleport::target_Orientation, AreaTriggerTeleport::target_X, AreaTriggerTeleport::target_Y, AreaTriggerTeleport::target_Z, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadBroadcastTextLocales | ( | ) |
Definition at line 9827 of file ObjectMgr.cpp.
References GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadBroadcastTexts | ( | ) |
Definition at line 9763 of file ObjectMgr.cpp.
References DEFAULT_LOCALE, BroadcastTextEntry::EmoteDelay, BroadcastTextEntry::EmoteID, BroadcastTextEntry::EmotesID, BroadcastTextEntry::Flags, GetLanguageDescByID(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), BroadcastTextEntry::Id, LANG_UNIVERSAL, BroadcastTextEntry::LanguageID, sEmotesStore, BroadcastTextEntry::SoundEntriesID, sSoundEntriesStore, TC_LOG_DEBUG, TC_LOG_INFO, BroadcastTextEntry::Text, BroadcastTextEntry::Text1, and WorldDatabase.
| void ObjectMgr::LoadCreatureAddons | ( | ) |
Definition at line 1277 of file ObjectMgr.cpp.
References _creatureAddonStore, CreatureAddon::animTier, AsUnderlyingType(), CreatureAddon::auras, CreatureAddon::emote, GetCreatureData(), SpellInfo::GetDuration(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SpellInfo::HasAura(), SpellInfo::Id, IDLE_MOTION_TYPE, Max, MAX_SHEATH_STATE, MAX_UNIT_STAND_STATE, CreatureAddon::mount, CreatureData::movementType, Normal, CreatureAddon::path_id, CreatureAddon::pvpFlags, sCreatureDisplayInfoStore, sEmotesStore, CreatureAddon::sheathState, SPELL_AURA_CONTROL_VEHICLE, sSpellMgr, CreatureAddon::standState, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), CreatureAddon::visFlags, CreatureAddon::visibilityDistanceType, WAYPOINT_MOTION_TYPE, and WorldDatabase.
| void ObjectMgr::LoadCreatureClassLevelStats | ( | ) |
Definition at line 9890 of file ObjectMgr.cpp.
References CreatureBaseStats::AttackPower, CreatureBaseStats::BaseArmor, CreatureBaseStats::BaseDamage, CreatureBaseStats::BaseHealth, CreatureBaseStats::BaseMana, CLASSMASK_ALL_CREATURES, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MAKE_PAIR16(), MAX_EXPANSIONS, CreatureBaseStats::RangedAttackPower, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureDefaultTrainers | ( | ) |
Definition at line 9315 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Trinity::Containers::MapGetValuePtr(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureLocales | ( | ) |
Definition at line 255 of file ObjectMgr.cpp.
References _creatureLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, CreatureLocale::Name, TC_LOG_INFO, CreatureLocale::Title, and WorldDatabase.
| void ObjectMgr::LoadCreatureModelInfo | ( | ) |
Definition at line 1714 of file ObjectMgr.cpp.
References _creatureModelStore, CreatureModelInfo::bounding_radius, CreatureModelInfo::combat_reach, DEFAULT_PLAYER_COMBAT_REACH, CreatureModelInfo::displayId_other_gender, CreatureModelInfo::gender, GENDER_MALE, GENDER_NONE, Field::GetFloat(), Field::GetInt8(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), CreatureModelInfo::is_trigger, CreatureDisplayInfoEntry::ModelID, sCreatureDisplayInfoStore, sCreatureModelDataStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureMovementOverrides | ( | ) |
Definition at line 1594 of file ObjectMgr.cpp.
References _creatureMovementOverrides, CreatureMovementData::Chase, CheckCreatureMovement(), CreatureMovementData::Flight, Field::GetBool(), GetCreatureData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), CreatureMovementData::Ground, CreatureMovementData::InteractionPauseTimer, CreatureMovementData::Random, CreatureMovementData::Rooted, CreatureMovementData::Swim, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestEnders | ( | ) |
Definition at line 8512 of file ObjectMgr.cpp.
References _creatureQuestInvolvedRelations, GetCreatureTemplate(), LoadQuestRelationsHelper(), CreatureTemplate::npcflag, TC_LOG_ERROR, and UNIT_NPC_FLAG_QUESTGIVER.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadCreatureQuestItems | ( | ) |
Definition at line 10283 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sItemStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestStarters | ( | ) |
Definition at line 8498 of file ObjectMgr.cpp.
References _creatureQuestRelations, GetCreatureTemplate(), LoadQuestRelationsHelper(), CreatureTemplate::npcflag, TC_LOG_ERROR, and UNIT_NPC_FLAG_QUESTGIVER.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadCreatures | ( | ) |
Definition at line 2156 of file ObjectMgr.cpp.
References _creatureDataStore, _difficultyEntries, AddCreatureToGrid(), CONFIG_CALCULATE_CREATURE_ZONE_AREA_DATA, CREATURE_FLAG_EXTRA_INSTANCE_BIND, CreatureData::curhealth, CreatureData::curmana, CreatureData::currentwaypoint, CreatureData::displayid, CreatureData::dynamicflags, CreatureData::equipmentId, CreatureTemplate::flags_extra, GetCreatureTemplate(), GetDefaultSpawnGroup(), GetEquipmentInfo(), Field::GetFloat(), Field::GetInt8(), GetLegacySpawnGroup(), GetMapDifficultyData(), getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SpawnData::id, IDLE_MOTION_TYPE, MapEntry::IsDungeon(), IsTransportMap(), SpawnMetadata::mapId, MAX_DB_MOTION_TYPE, MAX_DIFFICULTY, CreatureData::movementType, CreatureData::npcflag, SpawnData::phaseMask, RANDOM_MOTION_TYPE, Position::Relocate(), SpawnData::scriptId, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), sMapMgr, sMapStore, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnMask, SpawnData::spawnPoint, SpawnData::spawntimesecs, SpawnData::StringId, sWorld, TC_LOG_ERROR, TC_LOG_INFO, UNIT_FLAG_ALLOWED, CreatureData::unit_flags, CreatureData::wander_distance, WORLD_UPD_CREATURE_ZONE_AREA_DATA, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplate | ( | Field * | fields | ) |
Definition at line 520 of file ObjectMgr.cpp.
References _creatureTemplateStore, CreatureTemplate::AIName, CreatureTemplate::BaseAttackTime, CreatureTemplate::BaseVariance, CreatureMovementData::Chase, CreatureTemplate::DifficultyEntry, CreatureTemplate::dmgschool, CreatureTemplate::dynamicflags, CreatureTemplate::Entry, CreatureTemplate::expansion, CreatureTemplate::faction, CreatureTemplate::family, CreatureTemplate::flags_extra, CreatureMovementData::Flight, Field::GetBool(), Field::GetFloat(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), CreatureTemplate::GossipMenuId, CreatureMovementData::Ground, CreatureTemplate::HoverHeight, CreatureTemplate::IconName, CreatureMovementData::InteractionPauseTimer, CreatureTemplate::KillCredit, CreatureTemplate::lootid, MAX_CREATURE_SPELLS, MAX_DIFFICULTY, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, CreatureTemplate::maxgold, CreatureTemplate::maxlevel, CreatureTemplate::MechanicImmuneMask, CreatureTemplate::mingold, CreatureTemplate::minlevel, CreatureTemplate::ModArmor, CreatureTemplate::ModDamage, CreatureTemplate::Modelid1, CreatureTemplate::Modelid2, CreatureTemplate::Modelid3, CreatureTemplate::Modelid4, CreatureTemplate::ModExperience, CreatureTemplate::ModHealth, CreatureTemplate::ModMana, CreatureTemplate::Movement, CreatureTemplate::movementId, CreatureTemplate::MovementType, CreatureTemplate::Name, CreatureTemplate::npcflag, CreatureTemplate::PetSpellDataId, CreatureTemplate::pickpocketLootId, CreatureTemplate::RacialLeader, CreatureMovementData::Random, CreatureTemplate::RangeAttackTime, CreatureTemplate::RangeVariance, CreatureTemplate::rank, CreatureTemplate::RegenHealth, CreatureTemplate::resistance, CreatureMovementData::Rooted, CreatureTemplate::scale, CreatureTemplate::ScriptID, CreatureTemplate::SkinLootId, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_HOLY, CreatureTemplate::spells, CreatureTemplate::SpellSchoolImmuneMask, CreatureTemplate::StringId, CreatureMovementData::Swim, CreatureTemplate::Title, CreatureTemplate::type, CreatureTemplate::type_flags, CreatureTemplate::unit_class, CreatureTemplate::unit_flags, CreatureTemplate::unit_flags2, and CreatureTemplate::VehicleId.
Referenced by LoadCreatureTemplates().
| void ObjectMgr::LoadCreatureTemplateAddons | ( | ) |
Definition at line 706 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore, CreatureAddon::animTier, AsUnderlyingType(), CreatureAddon::auras, CreatureAddon::emote, SpellInfo::GetDuration(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SpellInfo::HasAura(), SpellInfo::Id, Max, MAX_SHEATH_STATE, MAX_UNIT_STAND_STATE, CreatureAddon::mount, Normal, CreatureAddon::path_id, CreatureAddon::pvpFlags, sCreatureDisplayInfoStore, sEmotesStore, CreatureAddon::sheathState, sObjectMgr, SPELL_AURA_CONTROL_VEHICLE, sSpellMgr, CreatureAddon::standState, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), CreatureAddon::visFlags, CreatureAddon::visibilityDistanceType, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateResistances | ( | ) |
Definition at line 616 of file ObjectMgr.cpp.
References _creatureTemplateStore, Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_SPELL_SCHOOL, CreatureTemplate::resistance, SPELL_SCHOOL_NORMAL, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by LoadCreatureTemplates().
| void ObjectMgr::LoadCreatureTemplates | ( | ) |
Definition at line 347 of file ObjectMgr.cpp.
References _creatureTemplateStore, CheckCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), LoadCreatureTemplate(), LoadCreatureTemplateResistances(), LoadCreatureTemplateSpells(), TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateSpells | ( | ) |
Definition at line 661 of file ObjectMgr.cpp.
References _creatureTemplateStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_CREATURE_SPELLS, CreatureTemplate::spells, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by LoadCreatureTemplates().
| void ObjectMgr::LoadEquipmentTemplates | ( | ) |
Definition at line 1517 of file ObjectMgr.cpp.
References _equipmentInfoStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), ItemEntry::InventoryType, INVTYPE_2HWEAPON, INVTYPE_HOLDABLE, INVTYPE_RANGED, INVTYPE_RANGEDRIGHT, INVTYPE_SHIELD, INVTYPE_THROWN, INVTYPE_WEAPON, INVTYPE_WEAPONMAINHAND, INVTYPE_WEAPONOFFHAND, EquipmentInfo::ItemEntry, MAX_EQUIPMENT_ITEMS, sItemStore, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadEventScripts | ( | ) |
Definition at line 5739 of file ObjectMgr.cpp.
References _gameObjectTemplateStore, TaxiPathNodeEntry::ArrivalEventID, TaxiPathNodeEntry::DepartureEventID, LoadScripts(), SCRIPTS_EVENT, sEventScripts, SPELL_EFFECT_SEND_EVENT, sSpellMgr, sTaxiPathNodesByPath, and TC_LOG_ERROR.
| void ObjectMgr::LoadExplorationBaseXP | ( | ) |
Definition at line 7849 of file ObjectMgr.cpp.
References _baseXPTable, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt8(), TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeAchievements | ( | ) |
Definition at line 9957 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sAchievementStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeItems | ( | ) |
Definition at line 9992 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeQuests | ( | ) |
Definition at line 10027 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeReputations | ( | ) |
Definition at line 10062 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sFactionStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeSpells | ( | ) |
Definition at line 10097 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeTitles | ( | ) |
Definition at line 10132 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sCharTitlesStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFishingBaseSkillLevel | ( | ) |
Definition at line 8832 of file ObjectMgr.cpp.
References Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sAreaTableStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameObjectAddons | ( | ) |
Definition at line 1401 of file ObjectMgr.cpp.
References _gameObjectAddonStore, GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), INVISIBILITY_GENERAL, GameObjectAddon::invisibilityType, GameObjectAddon::InvisibilityValue, QuaternionData::isUnit(), GameObjectAddon::ParentRotation, TC_LOG_ERROR, TC_LOG_INFO, TOTAL_INVISIBILITY_TYPES, and WorldDatabase.
| void ObjectMgr::LoadGameObjectForQuests | ( | ) |
Definition at line 8734 of file ObjectMgr.cpp.
References GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_GENERIC, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, getMSTime(), GetMSTimeDiffToNow(), LootStore::HaveQuestLootFor(), LootTemplates_Gameobject, and TC_LOG_INFO.
| void ObjectMgr::LoadGameObjectLocales | ( | ) |
Definition at line 7466 of file ObjectMgr.cpp.
References _gameObjectLocaleStore, AddLocaleString(), GameObjectLocale::CastBarCaption, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, GameObjectLocale::Name, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameObjectOverrides | ( | ) |
Definition at line 7811 of file ObjectMgr.cpp.
References _gameObjectOverrideStore, GameObjectOverride::Faction, GameObjectOverride::Flags, GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), sFactionTemplateStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameobjectQuestEnders | ( | ) |
Definition at line 8484 of file ObjectMgr.cpp.
References _goQuestInvolvedRelations, GAMEOBJECT_TYPE_QUESTGIVER, GetGameObjectTemplate(), LoadQuestRelationsHelper(), TC_LOG_ERROR, and GameObjectTemplate::type.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadGameObjectQuestItems | ( | ) |
Definition at line 10238 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sItemStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameobjectQuestStarters | ( | ) |
Definition at line 8470 of file ObjectMgr.cpp.
References _goQuestRelations, GAMEOBJECT_TYPE_QUESTGIVER, GetGameObjectTemplate(), LoadQuestRelationsHelper(), TC_LOG_ERROR, and GameObjectTemplate::type.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadGameObjects | ( | ) |
Definition at line 2478 of file ObjectMgr.cpp.
References _gameObjectDataStore, AddGameobjectToGrid(), GameObjectData::animprogress, GameObjectData::artKit, CONFIG_CALCULATE_GAMEOBJECT_ZONE_AREA_DATA, GameObjectTemplate::displayId, QuaternionData::fromEulerAnglesZYX(), GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_TRAP, GetDefaultSpawnGroup(), Field::GetFloat(), GetGameObjectTemplate(), Field::GetInt32(), Field::GetInt8(), GetLegacySpawnGroup(), GetMapDifficultyData(), getMSTime(), GetMSTimeDiffToNow(), Position::GetOrientation(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), GameObjectData::goState, SpawnData::id, GameObjectTemplate::IsDespawnAtAction(), IsTransportMap(), QuaternionData::isUnit(), MapManager::IsValidMapCoord(), SpawnMetadata::mapId, MAX_DIFFICULTY, MAX_GO_STATE, SpawnData::phaseMask, Position::Relocate(), GameObjectData::rotation, SpawnData::scriptId, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), sGameObjectDisplayInfoStore, sMapMgr, sMapStore, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnMask, SpawnData::spawnPoint, SpawnData::spawntimesecs, SpawnData::StringId, sWorld, TC_LOG_ERROR, TC_LOG_INFO, GameObjectTemplate::type, QuaternionData::w, WORLD_UPD_GAMEOBJECT_ZONE_AREA_DATA, WorldDatabase, QuaternionData::x, QuaternionData::y, and QuaternionData::z.
| void ObjectMgr::LoadGameObjectTemplate | ( | ) |
Definition at line 7555 of file ObjectMgr.cpp.
References _gameObjectTemplateStore, _transportMaps, GameObjectTemplate::AIName, GameObjectTemplate::areadamage, GameObjectTemplate::barberChair, GameObjectTemplate::button, GameObjectTemplate::camera, GameObjectTemplate::castBarCaption, GameObjectTemplate::chair, GameObjectTemplate::chairheight, CheckAndFixGOChairHeightId(), CheckGOConsumable(), CheckGOLinkedTrapId(), CheckGOLockId(), CheckGONoDamageImmuneId(), CheckGOSpellId(), GameObjectTemplate::chest, GameObjectTemplate::consumable, GameObjectTemplate::data, GameObjectTemplate::displayId, GameObjectTemplate::door, GameObjectTemplate::entry, GameObjectTemplate::fishinghole, GameObjectTemplate::flagdrop, GameObjectTemplate::flagstand, GameObjectTemplate::focusId, GAMEOBJECT_TYPE_AREADAMAGE, GAMEOBJECT_TYPE_BARBER_CHAIR, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CAMERA, GAMEOBJECT_TYPE_CHAIR, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_RITUAL, GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_SPELLCASTER, GAMEOBJECT_TYPE_TRAP, Field::GetFloat(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), GetPageText(), GetScriptId(), Field::GetString(), Field::GetUInt32(), GameObjectTemplate::goober, GameObjectTemplate::height, GameObjectTemplate::IconName, GameObjectTemplate::linkedTrapId, GameObjectTemplate::lockId, GameObjectTemplate::mapID, MAX_GAMEOBJECT_DATA, GameObjectTemplate::moTransport, GameObjectTemplate::name, GameObjectTemplate::noDamageImmune, GameObjectTemplate::pageId, GameObjectTemplate::questgiver, GameObjectTemplate::raw, GameObjectTemplate::ScriptId, sGameObjectAIRegistry, GameObjectTemplate::size, GameObjectTemplate::spellcaster, GameObjectTemplate::spellFocus, GameObjectTemplate::spellId, sSpellFocusObjectStore, sTaxiPathNodesByPath, GameObjectTemplate::StringId, GameObjectTemplate::taxiPathId, TC_LOG_ERROR, TC_LOG_INFO, GameObjectTemplate::trap, GameObjectTemplate::type, GameObjectTemplate::unk1, and WorldDatabase.
| void ObjectMgr::LoadGameObjectTemplateAddons | ( | ) |
Definition at line 7739 of file ObjectMgr.cpp.
References _gameObjectTemplateAddonStore, GameObjectTemplateAddon::artKits, GameObjectOverride::Faction, GameObjectOverride::Flags, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_FISHINGHOLE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GameObjectTemplateAddon::Maxgold, GameObjectTemplateAddon::Mingold, sFactionTemplateStore, sGameObjectArtKitStore, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, GameObjectTemplate::type, and WorldDatabase.
| void ObjectMgr::LoadGameTele | ( | ) |
Definition at line 8950 of file ObjectMgr.cpp.
References Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), MapManager::IsValidMapCoord(), GameTele::mapId, GameTele::name, GameTele::orientation, GameTele::position_x, GameTele::position_y, GameTele::position_z, TC_LOG_ERROR, TC_LOG_INFO, Utf8toWStr(), GameTele::wnameLow, WorldDatabase, and wstrToLower().
| void ObjectMgr::LoadGossipMenu | ( | ) |
Definition at line 9440 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), GossipMenus::MenuID, TC_LOG_ERROR, TC_LOG_INFO, GossipMenus::TextID, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItems | ( | ) |
Definition at line 9476 of file ObjectMgr.cpp.
References GossipMenuItems::ActionMenuID, GossipMenuItems::ActionPoiID, GossipMenuItems::BoxBroadcastTextID, GossipMenuItems::BoxCoded, GossipMenuItems::BoxMoney, GossipMenuItems::BoxText, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), GOSSIP_ICON_CHAT, GOSSIP_ICON_MAX, GOSSIP_OPTION_MAX, GossipMenuItems::MenuID, GossipMenuItems::OptionBroadcastTextID, GossipMenuItems::OptionIcon, GossipMenuItems::OptionID, GossipMenuItems::OptionNpcFlag, GossipMenuItems::OptionText, GossipMenuItems::OptionType, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItemsLocales | ( | ) |
Definition at line 285 of file ObjectMgr.cpp.
References _gossipMenuItemsLocaleStore, AddLocaleString(), GossipMenuItemsLocale::BoxText, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), LOCALE_enUS, GossipMenuItemsLocale::OptionText, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipText | ( | ) |
Definition at line 6175 of file ObjectMgr.cpp.
References QEmote::_Delay, QEmote::_Emote, _gossipTextStore, GossipTextOption::BroadcastTextID, DEFAULT_LOCALE, GossipTextOption::Emotes, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), GossipTextOption::Language, MAX_GOSSIP_TEXT_EMOTES, MAX_GOSSIP_TEXT_OPTIONS, GossipText::Options, GossipTextOption::Probability, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, GossipTextOption::Text_0, GossipTextOption::Text_1, and WorldDatabase.
| void ObjectMgr::LoadGraveyardZones | ( | ) |
Definition at line 6839 of file ObjectMgr.cpp.
References AddGraveyardLink(), ALLIANCE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), GraveyardStore, HORDE, AreaTableEntry::ParentAreaID, sAreaTableStore, sWorldSafeLocsStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadInstanceEncounters | ( | ) |
Definition at line 6080 of file ObjectMgr.cpp.
References _dungeonEncounterStore, CREATURE_FLAG_EXTRA_DUNGEON_BOSS, DungeonEncounterEntry::Difficulty, CreatureTemplate::DifficultyEntry, ENCOUNTER_CREDIT_CAST_SPELL, ENCOUNTER_CREDIT_KILL_CREATURE, CreatureTemplate::flags_extra, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MAKE_PAIR32(), DungeonEncounterEntry::MapID, MAX_DIFFICULTY, DungeonEncounterEntry::Name, sDungeonEncounterStore, sLFGMgr, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadInstanceSpawnGroups | ( | ) |
Definition at line 2780 of file ObjectMgr.cpp.
References _instanceSpawnGroupStore, _spawnGroupDataStore, InstanceSpawnGroupInfo::BossStateId, InstanceSpawnGroupInfo::BossStates, InstanceSpawnGroupInfo::FLAG_ALL, InstanceSpawnGroupInfo::FLAG_ALLIANCE_ONLY, InstanceSpawnGroupInfo::FLAG_HORDE_ONLY, flags, InstanceSpawnGroupInfo::Flags, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SPAWNGROUP_FLAG_SYSTEM, InstanceSpawnGroupInfo::SpawnGroupId, TC_LOG_ERROR, TC_LOG_INFO, TO_BE_DECIDED, and WorldDatabase.
| void ObjectMgr::LoadInstanceTemplate | ( | ) |
Definition at line 6030 of file ObjectMgr.cpp.
References _instanceTemplateStore, InstanceTemplate::AllowMount, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), MapManager::IsValidMAP(), InstanceTemplate::Parent, InstanceTemplate::ScriptId, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemLocales | ( | ) |
Definition at line 2894 of file ObjectMgr.cpp.
References _itemLocaleStore, AddLocaleString(), ItemLocale::Description, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, ItemLocale::Name, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemSetNameLocales | ( | ) |
Definition at line 3457 of file ObjectMgr.cpp.
References _itemSetNameLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, ItemSetNameLocale::Name, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemSetNames | ( | ) |
Definition at line 3486 of file ObjectMgr.cpp.
References _itemSetNameStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), ItemTemplate::InventoryType, ItemSetNameEntry::InventoryType, INVTYPE_NON_EQUIP, ItemSetEntry::ItemID, MAX_INVTYPE, MAX_ITEM_SET_ITEMS, ItemSetNameEntry::name, ItemTemplate::Name1, sItemSetStore, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemTemplates | ( | ) |
Definition at line 2924 of file ObjectMgr.cpp.
References _itemTemplateStore, ItemTemplate::_LoadTotalAP(), ALLIANCE, ItemTemplate::AllowableClass, ItemTemplate::AllowableRace, ItemTemplate::AmmoType, ItemTemplate::ArcaneRes, ItemTemplate::Area, ItemTemplate::Armor, ItemTemplate::ArmorDamageModifier, BAG_FAMILY_MASK_CURRENCY_TOKENS, ItemTemplate::BagFamily, ItemTemplate::Block, ItemTemplate::Bonding, ItemTemplate::BuyCount, ItemTemplate::BuyPrice, ItemTemplate::Class, ItemEntry::ClassID, CLASSMASK_ALL_PLAYABLE, CONFIG_DBC_ENFORCE_ITEM_ATTRIBUTES, ItemTemplate::ContainerSlots, ItemTemplate::Damage, ItemTemplate::Delay, ItemTemplate::Description, DISABLE_TYPE_SPELL, ItemTemplate::DisenchantID, ItemTemplate::DisplayInfoID, ItemEntry::DisplayInfoID, ItemTemplate::Duration, ItemTemplate::Effects, ItemTemplate::FireRes, ItemTemplate::Flags, ItemTemplate::FlagsCu, ItemTemplate::FoodType, ItemTemplate::FrostRes, ItemTemplate::GemProperties, Field::GetFloat(), Field::GetInt32(), GetItemEnchantMod(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetPageText(), Field::GetString(), Field::GetUInt32(), ItemTemplate::HasFlag(), ItemTemplate::HolidayId, ItemTemplate::HolyRes, HORDE, ItemTemplate::InventoryType, ItemEntry::InventoryType, INVTYPE_NON_EQUIP, DisableMgr::IsDisabledFor(), ITEM_CLASS_MISCELLANEOUS, ITEM_FLAG2_FACTION_ALLIANCE, ITEM_FLAG2_FACTION_HORDE, ITEM_FLAGS_CU_DURATION_REAL_TIME, ITEM_MOD_SPELL_DAMAGE_DONE, ITEM_MOD_SPELL_HEALING_DONE, ITEM_QUALITY_NORMAL, ITEM_SPELLTRIGGER_ON_USE, ItemTemplate::ItemId, CharStartOutfitEntry::ItemID, ItemTemplate::ItemLevel, ItemTemplate::ItemLimitCategory, ItemTemplate::ItemSet, ItemTemplate::ItemStat, ItemTemplate::LanguageID, ItemTemplate::LockID, ItemTemplate::Map, ItemTemplate::Material, ItemEntry::Material, MAX_BAG_SIZE, MAX_BIND_TYPE, MAX_INVTYPE, MAX_ITEM_CLASS, MAX_ITEM_MOD, MAX_ITEM_PROTO_DAMAGES, MAX_ITEM_PROTO_SOCKETS, MAX_ITEM_PROTO_SPELLS, MAX_ITEM_PROTO_STATS, MAX_ITEM_QUALITY, MAX_ITEM_SPELLTRIGGER, MAX_OUTFIT_ITEMS, MAX_PET_DIET, MAX_REPUTATION_RANK, MAX_SHEATHETYPE, MAX_SKILL_TYPE, MAX_SPELL_SCHOOL, ItemTemplate::MaxCount, ItemTemplate::MaxDurability, MaxItemSubclassValues, ItemTemplate::MaxMoneyLoot, MIN_REPUTATION_RANK, ItemTemplate::MinMoneyLoot, ItemTemplate::Name1, ItemTemplate::NatureRes, ItemTemplate::PageMaterial, ItemTemplate::PageText, ItemTemplate::Quality, RACEMASK_ALL_PLAYABLE, ItemTemplate::RandomProperty, ItemTemplate::RandomSuffix, ItemTemplate::RangedModRange, ItemTemplate::RequiredCityRank, ItemTemplate::RequiredDisenchantSkill, ItemTemplate::RequiredHonorRank, ItemTemplate::RequiredLevel, ItemTemplate::RequiredReputationFaction, ItemTemplate::RequiredReputationRank, ItemTemplate::RequiredSkill, ItemTemplate::RequiredSkillRank, ItemTemplate::RequiredSpell, sAreaTableStore, ItemTemplate::ScalingStatDistribution, ItemTemplate::ScalingStatValue, sCharStartOutfitStore, ItemTemplate::ScriptId, sCurrencyTypesStore, ItemTemplate::SellPrice, sFactionStore, sGemPropertiesStore, ItemTemplate::ShadowRes, ItemTemplate::Sheath, ItemEntry::SheatheType, SHEATHETYPE_NONE, sHolidaysStore, sItemBagFamilyStore, sItemLimitCategoryStore, sItemRandomPropertiesStore, sItemRandomSuffixStore, sItemSetStore, sItemStore, sLockStore, sMapStore, sObjectMgr, ItemTemplate::Socket, SOCKET_COLOR_ALL, ItemTemplate::socketBonus, ItemTemplate::SoundOverrideSubclass, ItemEntry::SoundOverrideSubclassID, sSpellMgr, ItemTemplate::Stackable, ItemTemplate::StartQuest, ItemTemplate::StatsCount, sTotemCategoryStore, ItemTemplate::SubClass, sWorld, TC_LOG_ERROR, TC_LOG_INFO, ItemTemplate::TotemCategory, and WorldDatabase.
| void ObjectMgr::LoadLinkedRespawn | ( | ) |
Definition at line 1834 of file ObjectMgr.cpp.
References _linkedRespawnStore, GetCreatureData(), GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SpawnData::id, MapEntry::Instanceable(), LINKED_RESPAWN_CREATURE_TO_CREATURE, LINKED_RESPAWN_CREATURE_TO_GO, LINKED_RESPAWN_GO_TO_CREATURE, LINKED_RESPAWN_GO_TO_GO, SpawnMetadata::mapId, sMapStore, SpawnData::spawnMask, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadMailLevelRewards | ( | ) |
Definition at line 9108 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_LEVEL, RACEMASK_ALL_PLAYABLE, sMailTemplateStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadNPCSpellClickSpells | ( | ) |
Definition at line 8345 of file ObjectMgr.cpp.
References _creatureTemplateStore, _spellClickInfoStore, SpellClickInfo::castFlags, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SPELL_CLICK_USER_MAX, SpellClickInfo::spellId, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, UNIT_NPC_FLAG_SPELLCLICK, SpellClickInfo::userType, and WorldDatabase.
| void ObjectMgr::LoadNpcTextLocales | ( | ) |
Definition at line 6257 of file ObjectMgr.cpp.
References _npcTextLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, MAX_GOSSIP_TEXT_OPTIONS, TC_LOG_INFO, NpcTextLocale::Text_0, NpcTextLocale::Text_1, and WorldDatabase.
| void ObjectMgr::LoadPageTextLocales | ( | ) |
Definition at line 6000 of file ObjectMgr.cpp.
References _pageTextLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, TC_LOG_INFO, PageTextLocale::Text, and WorldDatabase.
| void ObjectMgr::LoadPageTexts | ( | ) |
Definition at line 5950 of file ObjectMgr.cpp.
References _pageTextStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), PageText::NextPageID, TC_LOG_ERROR, TC_LOG_INFO, PageText::Text, and WorldDatabase.
| void ObjectMgr::LoadPetLevelInfo | ( | ) |
Definition at line 3757 of file ObjectMgr.cpp.
References _petInfoStore, ABORT, PetLevelInfo::armor, CONFIG_MAX_PLAYER_LEVEL, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), PetLevelInfo::health, PetLevelInfo::mana, MAX_STATS, PetLevelInfo::maxDamage, PetLevelInfo::minDamage, sObjectMgr, PetLevelInfo::stats, STRONG_MAX_LEVEL, sWorld, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPetNames | ( | ) |
Definition at line 7888 of file ObjectMgr.cpp.
References _petHalfName0, _petHalfName1, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPetNumber | ( | ) |
Definition at line 7919 of file ObjectMgr.cpp.
References _hiPetNumber, CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), and TC_LOG_INFO.
| void ObjectMgr::LoadPlayerInfo | ( | ) |
Definition at line 3893 of file ObjectMgr.cpp.
References _playerClassInfo, _playerInfo, _playerXPperLevel, ABORT, PlayerClassLevelInfo::basehealth, PlayerClassLevelInfo::basemana, CLASS_DEATH_KNIGHT, CLASS_WARRIOR, CLASSMASK_ALL_PLAYABLE, CONFIG_EXPANSION, CONFIG_MAX_PLAYER_LEVEL, EXPANSION_THE_BURNING_CRUSADE, EXPANSION_WRATH_OF_THE_LICH_KING, ChrRacesEntry::FemaleDisplayID, Field::GetFloat(), Field::GetInt8(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetSkillRaceClassInfo(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MapManager::IsValidMapCoord(), ChrRacesEntry::MaleDisplayID, MAX_CLASSES, MAX_RACES, MAX_SKILL_STEP, MAX_STATS, PlayerCreateInfoAddItemHelper(), RACE_BLOODELF, RACE_DRAENEI, RACE_HUMAN, RACEMASK_ALL_PLAYABLE, PlayerCreateInfoSkill::Rank, sChrClassesStore, sChrRacesStore, PlayerCreateInfoSkill::SkillId, sMapStore, sSkillLineStore, PlayerLevelInfo::stats, STRONG_MAX_LEVEL, sWorld, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPlayerTotemModels | ( | ) |
Definition at line 1777 of file ObjectMgr.cpp.
References _playerTotemModel, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_TOTEM_SLOT, sChrRacesStore, sCreatureDisplayInfoStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPointOfInterestLocales | ( | ) |
Definition at line 317 of file ObjectMgr.cpp.
References _pointOfInterestLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, PointOfInterestLocale::Name, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPointsOfInterest | ( | ) |
Definition at line 8206 of file ObjectMgr.cpp.
References _pointsOfInterestStore, PointOfInterest::Flags, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), PointOfInterest::Icon, PointOfInterest::ID, PointOfInterest::Importance, Trinity::IsValidMapCoord(), PointOfInterest::Name, PointOfInterest::PositionX, PointOfInterest::PositionY, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestAreaTriggers | ( | ) |
Definition at line 6419 of file ObjectMgr.cpp.
References _questAreaTriggerStore, getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetUInt32(), Quest::HasSpecialFlag(), QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestGreetingLocales | ( | ) |
Definition at line 6557 of file ObjectMgr.cpp.
References _questGreetingLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), QuestGreetingLocale::greeting, LOCALE_enUS, MAKE_PAIR32(), TC_LOG_INFO, TYPEID_GAMEOBJECT, TYPEID_UNIT, and WorldDatabase.
| void ObjectMgr::LoadQuestGreetings | ( | ) |
Definition at line 6489 of file ObjectMgr.cpp.
References _questGreetingStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), sEmotesStore, sObjectMgr, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_INFO, TYPEID_GAMEOBJECT, TYPEID_UNIT, and WorldDatabase.
| void ObjectMgr::LoadQuestLocales | ( | ) |
Definition at line 5390 of file ObjectMgr.cpp.
References _questLocaleStore, AddLocaleString(), QuestLocale::AreaDescription, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, QuestLocale::LogDescription, QuestLocale::LogTitle, QuestLocale::ObjectiveText, QUEST_OBJECTIVES_COUNT, QuestLocale::QuestCompletionLog, QuestLocale::QuestDescription, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestOfferRewardLocale | ( | ) |
Definition at line 6603 of file ObjectMgr.cpp.
References _questOfferRewardLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, QuestOfferRewardLocale::RewardText, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestPOI | ( | ) |
Definition at line 8252 of file ObjectMgr.cpp.
References _questPOIStore, QuestPOIBlobData::BlobIndex, QuestPOIBlobData::Floor, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), QuestPOIBlobData::MapID, QuestPOIBlobData::ObjectiveIndex, QuestPOIWrapper::POIData, QuestPOIData::QuestID, QuestPOIData::QuestPOIBlobDataStats, QuestPOIBlobData::QuestPOIBlobPointStats, TC_LOG_ERROR, TC_LOG_INFO, QuestPOIBlobData::Unk3, QuestPOIBlobData::Unk4, WorldDatabase, QuestPOIBlobData::WorldMapAreaID, QuestPOIBlobPoint::X, and QuestPOIBlobPoint::Y.
|
private |
Definition at line 8436 of file ObjectMgr.cpp.
References _questTemplates, getMSTime(), GetMSTimeDiffToNow(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadGameobjectQuestEnders(), and LoadGameobjectQuestStarters().
| void ObjectMgr::LoadQuestRequestItemsLocale | ( | ) |
Definition at line 6631 of file ObjectMgr.cpp.
References _questRequestItemsLocaleStore, AddLocaleString(), QuestRequestItemsLocale::CompletionText, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), LOCALE_enUS, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuests | ( | ) |
Definition at line 4636 of file ObjectMgr.cpp.
References Quest::_allowableClasses, Quest::_allowableRaces, Quest::_breadcrumbForQuestId, Quest::_exclusiveGroup, _exclusiveQuestGroups, Quest::_flags, Quest::_id, Quest::_limitTime, Quest::_nextQuestID, Quest::_prevQuestID, _questTemplates, Quest::_requiredFactionId1, Quest::_requiredFactionId2, Quest::_requiredFactionValue1, Quest::_requiredFactionValue2, Quest::_requiredMaxRepFaction, Quest::_requiredMaxRepValue, Quest::_requiredMinRepFaction, Quest::_requiredMinRepValue, Quest::_requiredPlayerKills, Quest::_requiredSkillId, Quest::_requiredSkillPoints, Quest::_rewardDisplaySpell, Quest::_rewardMailDelay, Quest::_rewardMailSenderEntry, Quest::_rewardMailTemplateId, Quest::_rewardNextQuest, Quest::_rewardSpell, Quest::_rewardTitleId, Quest::_sourceItemId, Quest::_sourceItemIdCount, Quest::_sourceSpellID, Quest::_specialFlags, Quest::_zoneOrSort, CLASSMASK_ALL_PLAYABLE, Quest::DependentBreadcrumbQuests, Quest::DependentPreviousQuests, DISABLE_TYPE_QUEST, Quest::GetBreadcrumbForQuestId(), SpellInfo::GetEffects(), GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Quest::GetQuestId(), GetQuestTemplate(), Quest::GetQuestType(), Quest::GetRewTitle(), Quest::GetSrcItemCount(), Quest::GetSrcItemId(), GetTalentSpellCost(), Field::GetUInt32(), Quest::HasSpecialFlag(), SpellInfo::Id, DisableMgr::IsDisabledFor(), SpellMgr::IsSpellValid(), Quest::ItemDrop, Quest::ItemDropQuantity, Quest::LoadQuestDetails(), Quest::LoadQuestMailSender(), Quest::LoadQuestOfferReward(), Quest::LoadQuestRequestItems(), Quest::LoadQuestTemplateAddon(), MAX_DB_ALLOWED_QUEST_TYPES, QUEST_FLAGS_DAILY, QUEST_FLAGS_TRACKING, QUEST_FLAGS_WEEKLY, QUEST_ITEM_DROP_COUNT, QUEST_ITEM_OBJECTIVES_COUNT, QUEST_OBJECTIVES_COUNT, QUEST_REWARD_CHOICES_COUNT, QUEST_REWARD_ITEM_COUNT, QUEST_REWARD_REPUTATIONS_COUNT, QUEST_SPECIAL_FLAGS_CAST, QUEST_SPECIAL_FLAGS_COMPLETED_AT_START, QUEST_SPECIAL_FLAGS_DB_ALLOWED, QUEST_SPECIAL_FLAGS_DELIVER, QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, QUEST_SPECIAL_FLAGS_KILL, QUEST_SPECIAL_FLAGS_MONTHLY, QUEST_SPECIAL_FLAGS_PLAYER_KILL, QUEST_SPECIAL_FLAGS_REPEATABLE, QUEST_SPECIAL_FLAGS_SPEAKTO, QUEST_SPECIAL_FLAGS_TIMED, RACEMASK_ALL_PLAYABLE, ReputationMgr::Reputation_Cap, Quest::RequiredItemCount, Quest::RequiredItemId, Quest::RequiredNpcOrGo, Quest::RequiredNpcOrGoCount, Quest::RewardChoiceItemCount, Quest::RewardChoiceItemId, Quest::RewardFactionId, Quest::RewardFactionOverride, Quest::RewardFactionValue, Quest::RewardItemCount, Quest::RewardItemId, sAreaTableStore, sCharTitlesStore, Quest::SetSpecialFlag(), sFactionStore, SkillByQuestSort(), sMailTemplateStore, sObjectMgr, SPELL_EFFECT_QUEST_COMPLETE, sQuestSortStore, sSkillLineStore, sSpellMgr, sWorld, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestStartersAndEnders | ( | ) |
Definition at line 5378 of file ObjectMgr.cpp.
References LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), and TC_LOG_INFO.
| uint32 ObjectMgr::LoadReferenceVendor | ( | int32 | vendor, |
| int32 | item, | ||
| std::set< uint32 > * | skip_vendors | ||
| ) |
Definition at line 9350 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), Field::GetInt32(), Field::GetUInt32(), Field::GetUInt8(), PreparedStatementBase::setUInt32(), WORLD_SEL_NPC_VENDOR_REF, and WorldDatabase.
| void ObjectMgr::LoadReputationOnKill | ( | ) |
Definition at line 8042 of file ObjectMgr.cpp.
References _repOnKillStore, Field::GetBool(), GetCreatureTemplate(), Field::GetInt16(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), ReputationOnKillEntry::IsTeamAward1, ReputationOnKillEntry::IsTeamAward2, ReputationOnKillEntry::RepFaction1, ReputationOnKillEntry::RepFaction2, ReputationOnKillEntry::ReputationMaxCap1, ReputationOnKillEntry::ReputationMaxCap2, ReputationOnKillEntry::RepValue1, ReputationOnKillEntry::RepValue2, sFactionStore, TC_LOG_ERROR, TC_LOG_INFO, ReputationOnKillEntry::TeamDependent, and WorldDatabase.
| void ObjectMgr::LoadReputationRewardRate | ( | ) |
Definition at line 7954 of file ObjectMgr.cpp.
References _repRewardRateStore, RepRewardRate::creatureRate, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), RepRewardRate::questDailyRate, RepRewardRate::questMonthlyRate, RepRewardRate::questRate, RepRewardRate::questRepeatableRate, RepRewardRate::questWeeklyRate, sFactionStore, RepRewardRate::spellRate, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadReputationSpilloverTemplate | ( | ) |
Definition at line 8114 of file ObjectMgr.cpp.
References _repSpilloverTemplateStore, FactionEntry::CanHaveReputation(), RepSpilloverTemplate::faction, RepSpilloverTemplate::faction_rank, RepSpilloverTemplate::faction_rate, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt8(), MAX_REPUTATION_RANK, MAX_SPILLOVER_FACTIONS, FactionEntry::ParentFactionID, sFactionStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadReservedPlayersNames | ( | ) |
Definition at line 8537 of file ObjectMgr.cpp.
References CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), TC_LOG_ERROR, TC_LOG_INFO, Utf8toWStr(), and wstrToLower().
| void ObjectMgr::LoadScriptNames | ( | ) |
Definition at line 9680 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), TC_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 5429 of file ObjectMgr.cpp.
References ScriptInfo::Amount, ScriptInfo::CastSpell, CHAT_MSG_RAID_BOSS_WHISPER, CHAT_TYPE_WHISPER, ScriptInfo::ChatType, ScriptInfo::command, ScriptInfo::CreateItem, ScriptInfo::CreatureEntry, DEFAULT_VISIBILITY_DISTANCE, ScriptInfo::delay, ScriptInfo::DestX, ScriptInfo::DestY, ScriptInfo::DestZ, ScriptInfo::Distance, ScriptInfo::Emote, ScriptInfo::EmoteID, GameObjectTemplate::entry, ScriptInfo::fData, ScriptInfo::Flags, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FISHINGNODE, GAMEOBJECT_TYPE_TRAP, GetCreatureTemplate(), Field::GetFloat(), GetGameObjectData(), GetGameObjectTemplate(), Field::GetInt32(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), GetScriptCommandName(), GetScriptsMapByType(), GetScriptsTableNameByType(), Field::GetUInt32(), ScriptInfo::GOGuid, Quest::HasSpecialFlag(), ScriptInfo::id, SpawnData::id, INTERACTION_DISTANCE, Trinity::IsValidMapCoord(), ScriptInfo::ItemEntry, ScriptInfo::KillCredit, ScriptInfo::MapID, ScriptInfo::nData, ScriptInfo::Orientation, ScriptInfo::PosX, ScriptInfo::PosY, ScriptInfo::PosZ, QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, ScriptInfo::QuestExplored, ScriptInfo::QuestID, ScriptInfo::Raw, ScriptInfo::RemoveAura, ScriptInfo::RespawnGameobject, SCRIPT_COMMAND_CAST_SPELL, SCRIPT_COMMAND_CLOSE_DOOR, SCRIPT_COMMAND_CREATE_ITEM, SCRIPT_COMMAND_EMOTE, SCRIPT_COMMAND_KILL_CREDIT, SCRIPT_COMMAND_OPEN_DOOR, SCRIPT_COMMAND_QUEST_EXPLORED, SCRIPT_COMMAND_REMOVE_AURA, SCRIPT_COMMAND_RESPAWN_GAMEOBJECT, SCRIPT_COMMAND_TALK, SCRIPT_COMMAND_TELEPORT_TO, SCRIPT_COMMAND_TEMP_SUMMON_CREATURE, sEmotesStore, sMapMgr, sMapStore, sObjectMgr, ScriptInfo::SpellID, sSpellMgr, ScriptInfo::Talk, TC_LOG_ERROR, TC_LOG_INFO, ScriptInfo::TeleportTo, ScriptInfo::TempSummonCreature, ScriptInfo::TextID, ScriptInfo::ToggleDoor, GameObjectTemplate::type, ScriptInfo::type, and WorldDatabase.
Referenced by LoadEventScripts(), and LoadWaypointScripts().
| void ObjectMgr::LoadSpawnGroups | ( | ) |
Definition at line 2717 of file ObjectMgr.cpp.
References _spawnGroupDataStore, _spawnGroupMapStore, SpawnGroupTemplateData::flags, getMSTime(), GetMSTimeDiffToNow(), GetSpawnMetadata(), Field::GetUInt32(), SpawnGroupTemplateData::groupId, SpawnGroupTemplateData::mapId, SpawnMetadata::mapId, SPAWNGROUP_FLAG_SYSTEM, SPAWNGROUP_MAP_UNSET, SpawnMetadata::spawnGroupData, TC_LOG_ERROR, TC_LOG_INFO, SpawnMetadata::TypeIsValid(), and WorldDatabase.
| void ObjectMgr::LoadSpawnGroupTemplates | ( | ) |
Definition at line 2658 of file ObjectMgr.cpp.
References _spawnGroupDataStore, flags, SpawnGroupTemplateData::flags, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), SpawnGroupTemplateData::groupId, SpawnGroupTemplateData::mapId, SpawnGroupTemplateData::name, SPAWNGROUP_FLAG_COMPATIBILITY_MODE, SPAWNGROUP_FLAG_MANUAL_SPAWN, SPAWNGROUP_FLAG_SYSTEM, SPAWNGROUP_FLAGS_ALL, SPAWNGROUP_MAP_UNSET, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadSpellScriptNames | ( | ) |
Definition at line 5810 of file ObjectMgr.cpp.
References _spellScriptsStore, SpellInfo::GetFirstRankSpell(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), SpellInfo::GetNextRankSpell(), GetScriptId(), Field::GetString(), SpellInfo::Id, SpellInfo::IsRanked(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadTavernAreaTriggers | ( | ) |
Definition at line 6659 of file ObjectMgr.cpp.
References _tavernAreaTriggerStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadTempSummons | ( | ) |
Definition at line 2068 of file ObjectMgr.cpp.
References _tempSummonDataStore, TempSummonData::entry, GetCreatureTemplate(), Field::GetFloat(), GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), TempSummonData::pos, Position::Relocate(), sMapStore, SUMMONER_TYPE_CREATURE, SUMMONER_TYPE_GAMEOBJECT, SUMMONER_TYPE_MAP, TC_LOG_ERROR, TC_LOG_INFO, TEMPSUMMON_MANUAL_DESPAWN, TempSummonData::time, TempSummonData::type, and WorldDatabase.
| void ObjectMgr::LoadTrainers | ( | ) |
Definition at line 9167 of file ObjectMgr.cpp.
References ASSERT, Trainer::Class, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), GetTalentSpellCost(), Field::GetUInt32(), Field::GetUInt8(), LOCALE_enUS, Trinity::Containers::MapGetValuePtr(), Trainer::Spell::MoneyCost, Trainer::Mount, Trainer::Pet, Trainer::Spell::ReqAbility, Trainer::Spell::ReqLevel, Trainer::Spell::ReqSkillLine, Trainer::Spell::ReqSkillRank, sChrClassesStore, sChrRacesStore, Trainer::Spell::SpellId, sSkillLineStore, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, Trainer::Tradeskill, and WorldDatabase.
| bool ObjectMgr::LoadTrinityStrings | ( | ) |
Definition at line 8787 of file ObjectMgr.cpp.
References TrinityString::Content, DEFAULT_LOCALE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TC_LOG_INFO, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadVehicleAccessories | ( | ) |
Definition at line 3658 of file ObjectMgr.cpp.
References _vehicleAccessoryStore, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVehicleSeatAddon | ( | ) |
Definition at line 3701 of file ObjectMgr.cpp.
References _vehicleSeatAddonStore, AsUnderlyingType(), Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), M_PI, sVehicleSeatStore, TC_LOG_ERROR, TC_LOG_INFO, VehicleExitParamMax, and WorldDatabase.
| void ObjectMgr::LoadVehicleTemplate | ( | ) |
Definition at line 3623 of file ObjectMgr.cpp.
References _vehicleTemplateStore, VehicleTemplate::DespawnDelay, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVehicleTemplateAccessories | ( | ) |
Definition at line 3568 of file ObjectMgr.cpp.
References _spellClickInfoStore, _vehicleTemplateAccessoryStore, Field::GetBool(), Field::GetInt8(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVendors | ( | ) |
Definition at line 9389 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadWaypointScripts | ( | ) |
Definition at line 5782 of file ObjectMgr.cpp.
References Field::GetUInt32(), LoadScripts(), SCRIPTS_WAYPOINT, sWaypointScripts, TC_LOG_ERROR, WORLD_SEL_WAYPOINT_DATA_ACTION, and WorldDatabase.
|
inline |
Definition at line 1338 of file ObjectMgr.h.
Referenced by AddCreatureData().
|
inline |
Definition at line 1359 of file ObjectMgr.h.
Referenced by AddGameObjectData().
| void ObjectMgr::OnDeleteSpawnData | ( | SpawnData const * | data | ) |
Definition at line 2848 of file ObjectMgr.cpp.
References _spawnGroupDataStore, _spawnGroupMapStore, ABORT_MSG, ASSERT, SpawnGroupTemplateData::groupId, SPAWNGROUP_FLAG_SYSTEM, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, and SpawnMetadata::type.
Referenced by DeleteCreatureData(), and DeleteGameObjectData().
|
private |
Definition at line 3859 of file ObjectMgr.cpp.
References _playerInfo, GENDER_NONE, GetCharStartOutfitEntry(), MAX_OUTFIT_ITEMS, and TC_LOG_ERROR.
Referenced by LoadPlayerInfo().
| void ObjectMgr::RemoveCreatureFromGrid | ( | ObjectGuid::LowType | guid, |
| CreatureData const * | data | ||
| ) |
Definition at line 2366 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Trinity::ComputeCellCoord(), CellObjectGuids::creatures, CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), MAKE_PAIR32(), SpawnMetadata::mapId, SpawnData::spawnMask, and SpawnData::spawnPoint.
Referenced by DeleteCreatureData().
| void ObjectMgr::RemoveGameobjectFromGrid | ( | ObjectGuid::LowType | guid, |
| GameObjectData const * | data | ||
| ) |
Definition at line 2880 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Trinity::ComputeCellCoord(), CellObjectGuids::gameobjects, CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), MAKE_PAIR32(), SpawnMetadata::mapId, SpawnData::spawnMask, and SpawnData::spawnPoint.
Referenced by DeleteGameObjectData().
Definition at line 7095 of file ObjectMgr.cpp.
References GraveyardStore, GraveyardData::safeLocId, PreparedStatementBase::setUInt16(), PreparedStatementBase::setUInt32(), GraveyardData::team, WORLD_DEL_GRAVEYARD_ZONE, and WorldDatabase.
Definition at line 9580 of file ObjectMgr.cpp.
References PreparedStatementBase::setUInt32(), WORLD_DEL_NPC_VENDOR, and WorldDatabase.
| void ObjectMgr::ReturnOrDeleteOldMails | ( | bool | serverUp | ) |
Definition at line 6294 of file ObjectMgr.cpp.
References CHAR_DEL_EMPTY_EXPIRED_MAIL, CHAR_DEL_ITEM_INSTANCE, CHAR_DEL_MAIL_BY_ID, CHAR_DEL_MAIL_ITEM_BY_ID, CHAR_SEL_EXPIRED_MAIL, CHAR_SEL_EXPIRED_MAIL_ITEMS, CHAR_UPD_ITEM_OWNER, CHAR_UPD_MAIL_ITEM_RECEIVER, CHAR_UPD_MAIL_RETURNED, CharacterDatabase, Mail::checked, Mail::COD, DAY, Mail::deliver_time, Mail::expire_time, ObjectAccessor::FindConnectedPlayer(), Field::GetBool(), GameTime::GetGameTime(), Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MailItemInfo::item_guid, MailItemInfo::item_template, Mail::items, MAIL_CHECK_MASK_COD_PAYMENT, MAIL_CHECK_MASK_NOT_RETURNABLE, MAIL_CHECK_MASK_RETURNED, MAIL_NORMAL, Mail::mailTemplateId, Mail::messageID, Mail::messageType, Mail::receiver, Mail::sender, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), PreparedStatementBase::setUInt8(), and TC_LOG_INFO.
| bool ObjectMgr::SetCreatureLinkedRespawn | ( | ObjectGuid::LowType | guid, |
| ObjectGuid::LowType | linkedGuid | ||
| ) |
Definition at line 2018 of file ObjectMgr.cpp.
References _linkedRespawnStore, ASSERT, GetCreatureData(), SpawnData::id, MapEntry::Instanceable(), LINKED_RESPAWN_CREATURE_TO_CREATURE, SpawnMetadata::mapId, PreparedStatementBase::setUInt32(), sMapStore, SpawnData::spawnMask, TC_LOG_ERROR, WORLD_DEL_LINKED_RESPAWN, WORLD_REP_LINKED_RESPAWN, and WorldDatabase.
|
inline |
Definition at line 1438 of file ObjectMgr.h.
| void ObjectMgr::SetHighestGuids | ( | ) |
Definition at line 7343 of file ObjectMgr.cpp.
References _auctionId, _creatureSpawnId, _equipmentSetGuid, _gameObjectSpawnId, _mailId, CharacterDatabase, sArenaTeamMgr, sGroupMgr, sGuildMgr, and WorldDatabase.
| void ObjectMgr::ValidateSpellScripts | ( | ) |
Definition at line 5880 of file ObjectMgr.cpp.
References _spellScriptsStore, getMSTime(), GetMSTimeDiffToNow(), GetScriptName(), SpellInfo::Id, sObjectMgr, sScriptMgr, sSpellMgr, TC_LOG_ERROR, and TC_LOG_INFO.
|
friend |
Definition at line 925 of file ObjectMgr.h.
|
friend |
Definition at line 926 of file ObjectMgr.h.
|
private |
Definition at line 1591 of file ObjectMgr.h.
Referenced by GetAccessRequirement(), and LoadAccessRequirements().
|
private |
Definition at line 1590 of file ObjectMgr.h.
Referenced by LoadAreaTriggerScripts().
|
private |
Definition at line 1589 of file ObjectMgr.h.
Referenced by GetAreaTrigger(), GetGoBackTrigger(), GetMapEntranceTrigger(), and LoadAreaTriggerTeleports().
|
private |
Definition at line 1565 of file ObjectMgr.h.
Referenced by GenerateAuctionID(), and SetHighestGuids().
|
private |
Definition at line 1655 of file ObjectMgr.h.
Referenced by GetBaseXP(), and LoadExplorationBaseXP().
|
private |
Definition at line 1691 of file ObjectMgr.h.
|
private |
Definition at line 1707 of file ObjectMgr.h.
|
private |
Definition at line 1709 of file ObjectMgr.h.
|
private |
Definition at line 1671 of file ObjectMgr.h.
Referenced by GetCreatureAddon(), and LoadCreatureAddons().
|
private |
Definition at line 1640 of file ObjectMgr.h.
|
private |
Definition at line 1668 of file ObjectMgr.h.
Referenced by DeleteCreatureData(), and LoadCreatures().
|
private |
Definition at line 1710 of file ObjectMgr.h.
|
private |
Definition at line 1679 of file ObjectMgr.h.
Referenced by LoadCreatureLocales().
|
private |
Definition at line 1670 of file ObjectMgr.h.
Referenced by GetCreatureModelInfo(), and LoadCreatureModelInfo().
|
private |
Definition at line 1673 of file ObjectMgr.h.
Referenced by GetCreatureMovementOverride(), and LoadCreatureMovementOverrides().
|
private |
Definition at line 1607 of file ObjectMgr.h.
Referenced by LoadCreatureQuestEnders().
|
private |
Definition at line 1676 of file ObjectMgr.h.
|
private |
Definition at line 1606 of file ObjectMgr.h.
Referenced by LoadCreatureQuestStarters().
|
private |
Definition at line 1570 of file ObjectMgr.h.
Referenced by GenerateCreatureSpawnId(), and SetHighestGuids().
|
private |
Definition at line 1672 of file ObjectMgr.h.
Referenced by GetCreatureTemplateAddon(), and LoadCreatureTemplateAddons().
|
private |
Definition at line 1669 of file ObjectMgr.h.
Referenced by LoadCreatureTemplate(), LoadCreatureTemplateResistances(), LoadCreatureTemplates(), LoadCreatureTemplateSpells(), and LoadNPCSpellClickSpells().
|
private |
Definition at line 1712 of file ObjectMgr.h.
Referenced by CheckCreatureTemplate(), and LoadCreatures().
|
private |
Definition at line 1592 of file ObjectMgr.h.
Referenced by LoadInstanceEncounters().
|
private |
Definition at line 1677 of file ObjectMgr.h.
Referenced by GetEquipmentInfo(), and LoadEquipmentTemplates().
|
private |
Definition at line 1566 of file ObjectMgr.h.
Referenced by GenerateEquipmentSetGuid(), and SetHighestGuids().
|
private |
Definition at line 1609 of file ObjectMgr.h.
Referenced by LoadQuests().
|
private |
Definition at line 1658 of file ObjectMgr.h.
|
private |
Definition at line 1674 of file ObjectMgr.h.
Referenced by GetGameObjectAddon(), and LoadGameObjectAddons().
|
private |
Definition at line 1680 of file ObjectMgr.h.
Referenced by DeleteGameObjectData(), and LoadGameObjects().
|
private |
Definition at line 1586 of file ObjectMgr.h.
|
private |
Definition at line 1681 of file ObjectMgr.h.
Referenced by LoadGameObjectLocales().
|
private |
Definition at line 1684 of file ObjectMgr.h.
Referenced by LoadGameObjectOverrides().
|
private |
Definition at line 1675 of file ObjectMgr.h.
|
private |
Definition at line 1571 of file ObjectMgr.h.
Referenced by GenerateGameObjectSpawnId(), and SetHighestGuids().
|
private |
Definition at line 1683 of file ObjectMgr.h.
Referenced by LoadGameObjectTemplateAddons().
|
private |
Definition at line 1682 of file ObjectMgr.h.
Referenced by LoadEventScripts(), and LoadGameObjectTemplate().
|
private |
Definition at line 1615 of file ObjectMgr.h.
|
private |
Definition at line 1605 of file ObjectMgr.h.
Referenced by LoadGameobjectQuestEnders().
|
private |
Definition at line 1604 of file ObjectMgr.h.
Referenced by LoadGameobjectQuestStarters().
|
private |
Definition at line 1701 of file ObjectMgr.h.
Referenced by LoadGossipMenuItemsLocales().
|
private |
Definition at line 1599 of file ObjectMgr.h.
|
private |
Definition at line 1598 of file ObjectMgr.h.
|
private |
Definition at line 1587 of file ObjectMgr.h.
Referenced by GetGossipText(), and LoadGossipText().
|
private |
Definition at line 1576 of file ObjectMgr.h.
Referenced by GetGuidSequenceGenerator().
|
private |
Definition at line 1713 of file ObjectMgr.h.
Referenced by CheckCreatureTemplate().
|
private |
Definition at line 1568 of file ObjectMgr.h.
Referenced by GeneratePetNumber(), and LoadPetNumber().
|
private |
Definition at line 1687 of file ObjectMgr.h.
Referenced by LoadInstanceSpawnGroups().
|
private |
Definition at line 1630 of file ObjectMgr.h.
Referenced by GetInstanceTemplate(), and LoadInstanceTemplate().
|
private |
Definition at line 1693 of file ObjectMgr.h.
Referenced by LoadItemLocales().
|
private |
Definition at line 1694 of file ObjectMgr.h.
Referenced by LoadItemSetNameLocales().
|
private |
Definition at line 1665 of file ObjectMgr.h.
Referenced by LoadItemSetNames().
|
private |
Definition at line 1692 of file ObjectMgr.h.
Referenced by GetItemTemplate(), and LoadItemTemplates().
|
private |
Definition at line 1678 of file ObjectMgr.h.
Referenced by LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
|
private |
Definition at line 1567 of file ObjectMgr.h.
Referenced by GenerateMailID(), and SetHighestGuids().
|
private |
Definition at line 1638 of file ObjectMgr.h.
|
private |
Definition at line 1667 of file ObjectMgr.h.
Referenced by AddCreatureToGrid(), AddGameobjectToGrid(), GetCellObjectGuids(), GetMapObjectGuids(), RemoveCreatureFromGrid(), and RemoveGameobjectFromGrid().
|
private |
Definition at line 1699 of file ObjectMgr.h.
Referenced by LoadNpcTextLocales().
|
private |
Definition at line 1700 of file ObjectMgr.h.
Referenced by LoadPageTextLocales().
|
private |
Definition at line 1629 of file ObjectMgr.h.
Referenced by GetPageText(), and LoadPageTexts().
|
private |
Definition at line 1661 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1662 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1643 of file ObjectMgr.h.
Referenced by GetPetLevelInfo(), and LoadPetLevelInfo().
|
private |
Definition at line 1645 of file ObjectMgr.h.
Referenced by GetPlayerClassLevelInfo(), and LoadPlayerInfo().
|
private |
Definition at line 1649 of file ObjectMgr.h.
Referenced by BuildPlayerLevelInfo(), GetPlayerLevelInfo(), LoadPlayerInfo(), and PlayerCreateInfoAddItemHelper().
|
private |
Definition at line 1717 of file ObjectMgr.h.
Referenced by GetModelForTotem(), and LoadPlayerTotemModels().
|
private |
Definition at line 1652 of file ObjectMgr.h.
Referenced by GetXPForLevel(), and LoadPlayerInfo().
|
private |
Definition at line 1702 of file ObjectMgr.h.
Referenced by LoadPointOfInterestLocales().
|
private |
Definition at line 1600 of file ObjectMgr.h.
Referenced by LoadPointsOfInterest().
|
private |
Definition at line 1584 of file ObjectMgr.h.
Referenced by LoadQuestAreaTriggers().
|
private |
Definition at line 1703 of file ObjectMgr.h.
Referenced by LoadQuestGreetingLocales().
|
private |
Definition at line 1588 of file ObjectMgr.h.
Referenced by GetQuestGreeting(), and LoadQuestGreetings().
|
private |
Definition at line 1695 of file ObjectMgr.h.
Referenced by LoadQuestLocales().
|
private |
Definition at line 1696 of file ObjectMgr.h.
Referenced by LoadQuestOfferRewardLocale().
|
private |
Definition at line 1602 of file ObjectMgr.h.
Referenced by LoadQuestPOI().
|
private |
Definition at line 1697 of file ObjectMgr.h.
Referenced by LoadQuestRequestItemsLocale().
|
private |
Definition at line 1577 of file ObjectMgr.h.
Referenced by GetQuestTemplate(), LoadQuestRelationsHelper(), and LoadQuests().
|
private |
Definition at line 1595 of file ObjectMgr.h.
Referenced by LoadReputationOnKill().
|
private |
Definition at line 1594 of file ObjectMgr.h.
Referenced by LoadReputationRewardRate().
|
private |
Definition at line 1596 of file ObjectMgr.h.
Referenced by LoadReputationSpilloverTemplate().
|
private |
Definition at line 1613 of file ObjectMgr.h.
|
private |
Definition at line 1617 of file ObjectMgr.h.
|
private |
Definition at line 1685 of file ObjectMgr.h.
Referenced by LoadInstanceSpawnGroups(), LoadSpawnGroups(), LoadSpawnGroupTemplates(), and OnDeleteSpawnData().
|
private |
Definition at line 1686 of file ObjectMgr.h.
Referenced by LoadSpawnGroups(), and OnDeleteSpawnData().
|
private |
Definition at line 1619 of file ObjectMgr.h.
Referenced by LoadNPCSpellClickSpells(), and LoadVehicleTemplateAccessories().
|
private |
Definition at line 1621 of file ObjectMgr.h.
Referenced by LoadSpellScriptNames(), and ValidateSpellScripts().
|
private |
Definition at line 1585 of file ObjectMgr.h.
Referenced by LoadTavernAreaTriggers().
|
private |
Stores temp summon data grouped by summoner's entry, summoner's type and group id.
Definition at line 1689 of file ObjectMgr.h.
Referenced by LoadTempSummons().
|
private |
Definition at line 1708 of file ObjectMgr.h.
|
private |
Definition at line 1715 of file ObjectMgr.h.
Referenced by LoadGameObjectTemplate().
|
private |
Definition at line 1705 of file ObjectMgr.h.
|
private |
Definition at line 1625 of file ObjectMgr.h.
Referenced by LoadVehicleAccessories().
|
private |
Definition at line 1718 of file ObjectMgr.h.
Referenced by LoadVehicleSeatAddon().
|
private |
Definition at line 1624 of file ObjectMgr.h.
Referenced by LoadVehicleTemplateAccessories().
|
private |
Definition at line 1623 of file ObjectMgr.h.
Referenced by LoadVehicleTemplate().
|
private |
Definition at line 1627 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeAchievements |
Definition at line 1538 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeItems |
Definition at line 1539 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeQuests |
Definition at line 1540 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeReputation |
Definition at line 1541 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeSpells |
Definition at line 1542 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeTitles |
Definition at line 1543 of file ObjectMgr.h.
| GraveyardContainer ObjectMgr::GraveyardStore |
Definition at line 1516 of file ObjectMgr.h.
Referenced by AddGraveyardLink(), FindGraveyardData(), GetClosestGraveyard(), LoadGraveyardZones(), and RemoveGraveyardLink().