![]() |
TrinityCore
|
#include <ObjectMgr.h>
Classes | |
| class | ScriptNameContainer |
Public Types | |
| typedef std::unordered_map< uint32, Trinity::unique_trackable_ptr< Quest > > | QuestContainer |
| typedef std::unordered_map< uint32, QuestObjective const * > | QuestObjectivesByIdContainer |
| typedef std::unordered_map< uint32, AreaTriggerTeleport const * > | AreaTriggerContainer |
| typedef std::unordered_map< uint32, uint32 > | AreaTriggerScriptContainer |
| typedef std::unordered_map< uint64, AccessRequirement > | AccessRequirementContainer |
| typedef std::set< uint32 > | EventContainer |
| typedef std::unordered_map< uint32, uint32 > | EventScriptContainer |
| 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::map< uint32, uint32 > | CharacterConversionMap |
Static Public Member Functions | |
| static ObjectMgr * | instance () |
| static CreatureModel const * | ChooseDisplayId (CreatureTemplate const *cinfo, CreatureData const *data=nullptr) |
| static void | ChooseCreatureFlags (CreatureTemplate const *cInfo, uint64 *npcFlags, uint32 *unitFlags, uint32 *unitFlags2, uint32 *unitFlags3, CreatureStaticFlagsHolder const &staticFlags, CreatureData const *data=nullptr) |
| static ResponseCodes | CheckPlayerName (std::string_view name, LocaleConstant locale, bool create=false) |
| static PetNameInvalidReason | CheckPetName (std::string_view name) |
| static bool | IsValidCharterName (std::string_view name) |
| static bool | CheckDeclinedNames (const std::wstring &w_ownname, DeclinedName const &names) |
| static void | AddLocaleString (std::string_view 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, NpcText > | NpcTextContainer |
| typedef std::unordered_map< uint32, std::unordered_set< 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 |
Private Member Functions | |
| ObjectMgr () | |
| ~ObjectMgr () | |
| ObjectGuidGenerator & | GetGuidSequenceGenerator (HighGuid high) |
| void | LoadEventSet () |
| void | LoadScripts (ScriptsType type) |
| void | LoadQuestRelationsHelper (QuestRelations &map, QuestRelationsReverse *reverseMap, std::string const &table) |
| QuestRelationResult | GetQuestRelationsFrom (QuestRelations const &map, uint32 key, bool onlyActive) const |
| void | PlayerCreateInfoAddItemHelper (uint32 race_, uint32 class_, uint32 itemId, int32 count) |
| template<GridGuidSet GridObjectGuids::* guids> | |
| void | AddSpawnDataToGrid (SpawnData const *data) |
| template<GridGuidSet GridObjectGuids::* guids> | |
| void | RemoveSpawnDataFromGrid (SpawnData const *data) |
| void | BuildPlayerLevelInfo (uint8 race, uint8 class_, uint8 level, PlayerLevelInfo *plinfo) const |
Friends | |
| class | PlayerDumpReader |
| class | UnitTestDataLoader |
Definition at line 961 of file ObjectMgr.h.
| typedef std::unordered_map<uint64, AccessRequirement> ObjectMgr::AccessRequirementContainer |
Definition at line 986 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, AreaTriggerTeleport const*> ObjectMgr::AreaTriggerContainer |
Definition at line 982 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, uint32> ObjectMgr::AreaTriggerScriptContainer |
Definition at line 984 of file ObjectMgr.h.
|
private |
Definition at line 1794 of file ObjectMgr.h.
| typedef std::map<uint32, uint32> ObjectMgr::CharacterConversionMap |
Definition at line 1028 of file ObjectMgr.h.
| typedef std::set<uint32> ObjectMgr::EventContainer |
Definition at line 988 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, uint32> ObjectMgr::EventScriptContainer |
Definition at line 989 of file ObjectMgr.h.
|
private |
Definition at line 1797 of file ObjectMgr.h.
|
private |
Definition at line 1697 of file ObjectMgr.h.
|
private |
Definition at line 1801 of file ObjectMgr.h.
|
private |
Definition at line 1694 of file ObjectMgr.h.
|
private |
Definition at line 1784 of file ObjectMgr.h.
|
private |
Definition at line 1791 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, PointOfInterest> ObjectMgr::PointOfInterestContainer |
Definition at line 995 of file ObjectMgr.h.
|
private |
Definition at line 1695 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, Trinity::unique_trackable_ptr<Quest> > ObjectMgr::QuestContainer |
Definition at line 979 of file ObjectMgr.h.
| typedef std::unordered_map<uint32 , QuestObjective const*> ObjectMgr::QuestObjectivesByIdContainer |
Definition at line 980 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, ReputationOnKillEntry> ObjectMgr::RepOnKillContainer |
Definition at line 992 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, RepRewardRate > ObjectMgr::RepRewardRateContainer |
Definition at line 991 of file ObjectMgr.h.
| typedef std::unordered_map<uint32, RepSpilloverTemplate> ObjectMgr::RepSpilloverTemplateContainer |
Definition at line 993 of file ObjectMgr.h.
|
private |
Definition at line 1735 of file ObjectMgr.h.
|
private |
Definition at line 1696 of file ObjectMgr.h.
|
private |
Definition at line 221 of file ObjectMgr.cpp.
|
private |
Definition at line 238 of file ObjectMgr.cpp.
|
delete |
|
delete |
| void ObjectMgr::AddCreatureToGrid | ( | CreatureData const * | data | ) |
Definition at line 2470 of file ObjectMgr.cpp.
Referenced by LoadCreatures().
| void ObjectMgr::AddGameobjectToGrid | ( | GameObjectData const * | data | ) |
Definition at line 2975 of file ObjectMgr.cpp.
Referenced by LoadGameObjects().
| bool ObjectMgr::AddGameTele | ( | GameTele & | data | ) |
Definition at line 9129 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 7043 of file ObjectMgr.cpp.
References CONDITION_SOURCE_TYPE_GRAVEYARD, CONDITION_TEAM, FindGraveyardData(), GraveyardStore, GraveyardData::safeLocId, sConditionMgr, PreparedStatementBase::setString(), PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt8(), sScriptMgr, WORLD_INS_CONDITION, WORLD_INS_GRAVEYARD_ZONE, and WorldDatabase.
Referenced by LoadGraveyardZones().
|
static |
Definition at line 242 of file ObjectMgr.cpp.
References TOTAL_LOCALES.
Referenced by Quest::LoadConditionalConditionalOfferRewardText(), Quest::LoadConditionalConditionalQuestCompletionLog(), Quest::LoadConditionalConditionalQuestDescription(), Quest::LoadConditionalConditionalRequestItemsText(), LoadCreatureLocales(), CreatureTextMgr::LoadCreatureTextLocales(), LoadGameObjectLocales(), LoadGossipMenuItemsLocales(), LoadPageTextLocales(), LoadPointOfInterestLocales(), LoadQuestGreetingLocales(), LoadQuestObjectivesLocale(), LoadQuestOfferRewardLocale(), LoadQuestRequestItemsLocale(), LoadQuestTemplateLocale(), and AchievementGlobalMgr::LoadRewardLocales().
|
private |
Definition at line 2439 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, _mapPersonalObjectGuidsStore, Trinity::ComputeGridCoord(), CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), PhasingHandler::IsPersonalPhase(), SpawnMetadata::mapId, SpawnData::phaseId, SpawnData::spawnDifficulties, SpawnMetadata::spawnId, and SpawnData::spawnPoint.
| void ObjectMgr::AddVendorItem | ( | uint32 | entry, |
| VendorItem const & | vItem, | ||
| bool | persist = true |
||
| ) |
Definition at line 9745 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), VendorItem::ExtendedCost, VendorItem::incrtime, VendorItem::item, VendorItem::maxcount, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt8(), VendorItem::Type, WORLD_INS_NPC_VENDOR, and WorldDatabase.
|
private |
Definition at line 4459 of file ObjectMgr.cpp.
References _playerInfo, ASSERT_NOTNULL, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, CLASS_WARRIOR, CONFIG_MAX_PLAYER_LEVEL, Trinity::Containers::MapGetValuePtr(), STAT_AGILITY, STAT_INTELLECT, STAT_STAMINA, STAT_STRENGTH, PlayerLevelInfo::stats, and sWorld.
Referenced by GetPlayerLevelInfo().
| void ObjectMgr::CheckCreatureMovement | ( | char const * | table, |
| uint64 | id, | ||
| CreatureMovementData & | creatureMovement | ||
| ) |
Definition at line 1155 of file ObjectMgr.cpp.
References CreatureMovementData::Chase, Max, CreatureMovementData::Random, Run, TC_LOG_ERROR, and Walk.
Referenced by CheckCreatureTemplate(), and LoadCreatureMovementOverrides().
| void ObjectMgr::CheckCreatureTemplate | ( | CreatureTemplate const * | cInfo | ) |
Definition at line 998 of file ObjectMgr.cpp.
References CreatureTemplate::AIName, ASSERT_NOTNULL, BASE_ATTACK_TIME, CreatureTemplate::BaseAttackTime, CheckCreatureMovement(), CLASSMASK_ALL_CREATURES, CREATURE_FAMILY_NONE, CREATURE_FLAG_EXTRA_DB_ALLOWED, CREATURE_TYPE_HUMANOID, DIFFICULTY_NONE, CreatureTemplate::dmgschool, CreatureTemplate::Entry, CreatureTemplate::faction, CreatureTemplate::family, CreatureTemplate::flags_extra, GetCreatureTemplate(), CreatureTemplate::GossipMenuIds, IDLE_MOTION_TYPE, CreatureTemplate::KillCredit, MAX_CREATURE_SPELLS, MAX_DB_MOTION_TYPE, MAX_EXPANSIONS, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, CreatureTemplate::Models, CreatureTemplate::Movement, CreatureTemplate::MovementType, CreatureTemplate::npcflag, CreatureTemplate::RangeAttackTime, CreatureTemplate::RequiredExpansion, sCreatureAIRegistry, sCreatureFamilyStore, sCreatureTypeStore, sFactionTemplateStore, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_NORMAL, CreatureTemplate::spells, sSpellMgr, sVehicleStore, sVignetteStore, TC_LOG_ERROR, TC_LOG_INFO, CreatureTemplate::type, CreatureTemplate::unit_class, UNIT_CLASS_WARRIOR, UNIT_FLAG2_ALLOWED, UNIT_FLAG3_ALLOWED, UNIT_FLAG_ALLOWED, CreatureTemplate::unit_flags, CreatureTemplate::unit_flags2, CreatureTemplate::unit_flags3, UNIT_NPC_FLAG_GOSSIP, CreatureTemplate::VehicleId, and CreatureTemplate::VignetteID.
Referenced by LoadCreatureTemplates().
|
static |
Definition at line 8964 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 8758 of file ObjectMgr.cpp.
References CONFIG_MIN_PET_NAME, CONFIG_STRICT_PET_NAMES, isValidString(), MAX_PET_NAME, PET_NAME_INVALID, PET_NAME_MIXED_LANGUAGES, PET_NAME_SUCCESS, PET_NAME_TOO_LONG, PET_NAME_TOO_SHORT, sWorld, and Utf8toWStr().
Referenced by WorldSession::HandlePetRename().
|
static |
Definition at line 8715 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, sDB2Manager, sWorld, Utf8toWStr(), and wstrToLower().
Referenced by character_commandscript::HandleCharacterRenameCommand(), WorldSession::HandleCharCreateOpcode(), WorldSession::HandleCharCustomizeCallback(), WorldSession::HandleCharRaceOrFactionChangeCallback(), WorldSession::HandleCharRenameOpcode(), WorldSession::HandleCheckCharacterNameAvailability(), PlayerDumpReader::LoadDump(), Player::LoadFromDB(), and character_commandscript::ValidatePDumpTarget().
|
static |
Definition at line 1615 of file ObjectMgr.cpp.
References ChooseCreatureFlagSource, CREATURE_STATIC_FLAG_3_ALLOW_INTERACTION_WHILE_IN_COMBAT, CREATURE_STATIC_FLAG_3_CANNOT_TURN, CREATURE_STATIC_FLAG_3_CANT_SWIM, CREATURE_STATIC_FLAG_4_AI_WILL_ONLY_SWIM_IF_TARGET_SWIMS, CREATURE_STATIC_FLAG_5_INTERACT_WHILE_HOSTILE, CREATURE_STATIC_FLAG_CAN_SWIM, CreatureStaticFlagsHolder::HasFlag(), UNIT_FLAG2_AI_WILL_ONLY_SWIM_IF_TARGET_SWIMS, UNIT_FLAG2_CANNOT_TURN, UNIT_FLAG2_INTERACT_WHILE_HOSTILE, UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT, UNIT_FLAG_CAN_SWIM, and UNIT_FLAG_CANT_SWIM.
Referenced by Creature::setDeathState(), and Creature::UpdateEntry().
|
static |
Definition at line 1601 of file ObjectMgr.cpp.
References CREATURE_FLAG_EXTRA_TRIGGER, CreatureData::display, CreatureTemplate::flags_extra, CreatureTemplate::GetFirstInvisibleModel(), and CreatureTemplate::GetRandomValidModel().
Referenced by AuraEffect::HandleAuraMounted(), AuraEffect::HandleAuraTransform(), Creature::InitEntry(), TempSummon::InitStats(), SmartScript::ProcessAction(), and Unit::RestoreDisplayId().
| void ObjectMgr::DeleteCreatureData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8481 of file ObjectMgr.cpp.
References _creatureDataStore, OnDeleteSpawnData(), and RemoveCreatureFromGrid().
| void ObjectMgr::DeleteGameObjectData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8499 of file ObjectMgr.cpp.
References _gameObjectDataStore, OnDeleteSpawnData(), and RemoveGameobjectFromGrid().
| bool ObjectMgr::DeleteGameTele | ( | std::string_view | name | ) |
Definition at line 9162 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 6973 of file ObjectMgr.cpp.
References GraveyardStore, and GraveyardData::safeLocId.
Referenced by AddGraveyardLink().
| uint32 ObjectMgr::GenerateAuctionID | ( | ) |
Definition at line 7367 of file ObjectMgr.cpp.
References _auctionId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint64 ObjectMgr::GenerateCreatureSpawnId | ( | ) |
Definition at line 7407 of file ObjectMgr.cpp.
References _creatureSpawnId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint64 ObjectMgr::GenerateEquipmentSetGuid | ( | ) |
Definition at line 7377 of file ObjectMgr.cpp.
References _equipmentSetGuid, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint64 ObjectMgr::GenerateGameObjectSpawnId | ( | ) |
Definition at line 7417 of file ObjectMgr.cpp.
References _gameObjectSpawnId, ERROR_EXIT_CODE, World::StopNow(), and TC_LOG_ERROR.
| uint64 ObjectMgr::GenerateMailID | ( | ) |
Definition at line 7387 of file ObjectMgr.cpp.
References _mailId, ERROR_EXIT_CODE, World::StopNow(), TC_LOG_ERROR, and UI64LIT.
| std::string ObjectMgr::GeneratePetName | ( | uint32 | entry | ) |
Definition at line 8011 of file ObjectMgr.cpp.
References _petHalfName0, _petHalfName1, CreatureTemplate::family, DB2Manager::GetCreatureFamilyPetName(), GetCreatureTemplate(), CreatureTemplate::Name, sWorld, and urand().
| uint32 ObjectMgr::GeneratePetNumber | ( | ) |
Definition at line 7397 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 7038 of file ObjectMgr.cpp.
References _accessRequirementStore, MAKE_PAIR64(), and Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1423 of file ObjectMgr.h.
| std::unordered_set< std::string > ObjectMgr::GetAllDBScriptNames | ( | ) | const |
Definition at line 9960 of file ObjectMgr.cpp.
|
inline |
Definition at line 1444 of file ObjectMgr.h.
| AreaTriggerTeleport const * ObjectMgr::GetAreaTrigger | ( | uint32 | trigger | ) | const |
Definition at line 7033 of file ObjectMgr.cpp.
References _areaTriggerStore, and Trinity::Containers::MapGetValuePtr().
| AreaTriggerPolygon const * ObjectMgr::GetAreaTriggerPolygon | ( | uint32 | areaTriggerId | ) | const |
Definition at line 6758 of file ObjectMgr.cpp.
References _areaTriggerPolygons, and Trinity::Containers::MapGetValuePtr().
Definition at line 8988 of file ObjectMgr.cpp.
Definition at line 7918 of file ObjectMgr.cpp.
References _baseXPTable.
| GridObjectGuids const * ObjectMgr::GetCellPersonalObjectGuids | ( | uint32 | mapid, |
| Difficulty | spawnMode, | ||
| uint32 | phaseId, | ||
| uint32 | gridId | ||
| ) | const |
Definition at line 2430 of file ObjectMgr.cpp.
References _mapPersonalObjectGuidsStore, and Trinity::Containers::MapGetValuePtr().
| ClassAvailability const * ObjectMgr::GetClassExpansionRequirement | ( | uint8 | raceId, |
| uint8 | classId | ||
| ) | const |
Definition at line 10674 of file ObjectMgr.cpp.
References ClassAvailability::ClassID, and RaceClassAvailability::RaceID.
| ClassAvailability const * ObjectMgr::GetClassExpansionRequirementFallback | ( | uint8 | classId | ) | const |
Definition at line 10687 of file ObjectMgr.cpp.
| WorldSafeLocsEntry const * ObjectMgr::GetClosestGraveyard | ( | WorldLocation const & | location, |
| uint32 | team, | ||
| WorldObject * | conditionObject | ||
| ) | const |
Definition at line 6825 of file ObjectMgr.cpp.
References GetClosestGraveyardInZone(), GetDefaultGraveyard(), PhasingHandler::GetEmptyPhaseShift(), BaseEntity::GetGUID(), WorldLocation::GetMapId(), WorldObject::GetName(), WorldObject::GetPhaseShift(), Position::GetPosition(), AreaTableEntry::ID, AreaTableEntry::ParentAreaID, sAreaTableStore, sMapStore, sTerrainMgr, and TC_LOG_ERROR.
| WorldSafeLocsEntry const * ObjectMgr::GetClosestGraveyardInZone | ( | WorldLocation const & | location, |
| uint32 | team, | ||
| WorldObject * | conditionObject, | ||
| uint32 | zoneId | ||
| ) | const |
Definition at line 6868 of file ObjectMgr.cpp.
References ASSERT_NOTNULL, CONDITION_TEAM, ConditionsReference::Conditions, GraveyardData::Conditions, MapEntry::Corpse, MapEntry::CorpseMapID, Position::GetExactDist2dSq(), Position::GetExactDistSq(), WorldLocation::GetMapId(), WorldObject::GetPhaseShift(), GetWorldSafeLoc(), GraveyardStore, PhaseShift::HasVisibleMapId(), WorldSafeLocsEntry::Loc, ConditionsReference::Meets(), MapEntry::ParentMapID, GraveyardData::safeLocId, sMapStore, DBCPosition2D::X, and DBCPosition2D::Y.
Referenced by GetClosestGraveyard().
| CreatureAddon const * ObjectMgr::GetCreatureAddon | ( | ObjectGuid::LowType | lowguid | ) | const |
Definition at line 1398 of file ObjectMgr.cpp.
References _creatureAddonStore.
| CreatureBaseStats const * ObjectMgr::GetCreatureBaseStats | ( | uint8 | level, |
| uint8 | unitClass | ||
| ) |
Definition at line 9997 of file ObjectMgr.cpp.
References CreatureBaseStats::BaseMana, and MAKE_PAIR16().
|
inline |
Definition at line 1424 of file ObjectMgr.h.
Referenced by GetSpawnData(), LoadCreatureAddons(), LoadCreatureMovementOverrides(), LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
Definition at line 1549 of file ObjectMgr.h.
|
inline |
Definition at line 1438 of file ObjectMgr.h.
| CreatureModelInfo const * ObjectMgr::GetCreatureModelInfo | ( | uint32 | modelId | ) | const |
Definition at line 1587 of file ObjectMgr.cpp.
References _creatureModelStore.
Referenced by GetCreatureModelRandomGender(), LoadCreatures(), and LoadCreatureTemplateModels().
| CreatureModelInfo const * ObjectMgr::GetCreatureModelRandomGender | ( | CreatureModel * | model, |
| CreatureTemplate const * | creatureTemplate | ||
| ) | const |
Definition at line 1655 of file ObjectMgr.cpp.
References CreatureModel::CreatureDisplayID, CreatureModelInfo::displayId_other_gender, GetCreatureModelInfo(), CreatureTemplate::Models, TC_LOG_ERROR, and urand().
Referenced by GetTaxiMountDisplayId().
| CreatureMovementData const * ObjectMgr::GetCreatureMovementOverride | ( | ObjectGuid::LowType | spawnId | ) | const |
Definition at line 1421 of file ObjectMgr.cpp.
References _creatureMovementOverrides, and Trinity::Containers::MapGetValuePtr().
Definition at line 4539 of file ObjectMgr.cpp.
References _creatureQuestCurrenciesStore, and Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1201 of file ObjectMgr.h.
|
inline |
Definition at line 1200 of file ObjectMgr.h.
| std::vector< uint32 > const * ObjectMgr::GetCreatureQuestItemList | ( | uint32 | creatureEntry, |
| Difficulty | difficulty | ||
| ) | const |
Definition at line 4527 of file ObjectMgr.cpp.
References _creatureQuestItemStore, GetCreatureQuestItemList(), Trinity::Containers::MapGetValuePtr(), and sDifficultyStore.
Referenced by GetCreatureQuestItemList().
|
inline |
Definition at line 1198 of file ObjectMgr.h.
|
inline |
Definition at line 1199 of file ObjectMgr.h.
| CreatureStaticFlagsOverride const * ObjectMgr::GetCreatureStaticFlagsOverride | ( | ObjectGuid::LowType | spawnId, |
| Difficulty | difficultyId | ||
| ) | const |
Definition at line 10707 of file ObjectMgr.cpp.
References DifficultyEntry::FallbackDifficultyID, Trinity::Containers::MapGetValuePtr(), and sDifficultyStore.
| CreatureSummonedData const * ObjectMgr::GetCreatureSummonedData | ( | uint32 | entryId | ) | const |
Definition at line 1596 of file ObjectMgr.cpp.
References _creatureSummonedDataStore, and Trinity::Containers::MapGetValuePtr().
| CreatureTemplate const * ObjectMgr::GetCreatureTemplate | ( | uint32 | entry | ) | const |
Definition at line 10492 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by CheckCreatureTemplate(), GeneratePetName(), GetTaxiMountDisplayId(), LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadCreatures(), LoadCreatureSummonedData(), LoadCreatureTemplateAddons(), LoadCreatureTemplateModels(), LoadEquipmentTemplates(), LoadNPCSpellClickSpells(), LoadPetLevelInfo(), LoadQuestGreetingLocales(), LoadQuestGreetings(), LoadQuests(), LoadReputationOnKill(), LoadScripts(), LoadTempSummons(), LoadVehicleAccessories(), LoadVehicleTemplate(), and LoadVehicleTemplateAccessories().
| CreatureAddon const * ObjectMgr::GetCreatureTemplateAddon | ( | uint32 | entry | ) | const |
Definition at line 1407 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore.
|
inline |
Definition at line 1041 of file ObjectMgr.h.
| std::vector< float > const * ObjectMgr::GetCreatureTemplateSparringValues | ( | uint32 | entry | ) | const |
Definition at line 1416 of file ObjectMgr.cpp.
References _creatureTemplateSparringStore, and Trinity::Containers::MapGetValuePtr().
| uint32 ObjectMgr::GetCreatureTrainerForGossipOption | ( | uint32 | creatureId, |
| uint32 | gossipMenuId, | ||
| uint32 | gossipOptionId | ||
| ) | const |
Definition at line 9736 of file ObjectMgr.cpp.
|
inline |
Definition at line 1516 of file ObjectMgr.h.
| WorldSafeLocsEntry const * ObjectMgr::GetDefaultGraveyard | ( | uint32 | team | ) | const |
Definition at line 6810 of file ObjectMgr.cpp.
References ALLIANCE, GetWorldSafeLoc(), and HORDE.
Referenced by GetClosestGraveyard().
|
inline |
Definition at line 1364 of file ObjectMgr.h.
Referenced by LoadCreatures(), and LoadGameObjects().
| DestructibleHitpoint const * ObjectMgr::GetDestructibleHitpoint | ( | uint32 | entry | ) | const |
Definition at line 10468 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by LoadGameObjectTemplate().
| EquipmentInfo const * ObjectMgr::GetEquipmentInfo | ( | uint32 | entry, |
| int8 & | id | ||
| ) | const |
Definition at line 1426 of file ObjectMgr.cpp.
References _equipmentInfoStore, and urand().
Referenced by LoadCreatures().
Definition at line 9001 of file ObjectMgr.cpp.
|
inline |
Definition at line 1203 of file ObjectMgr.h.
| int32 ObjectMgr::GetFishingBaseSkillLevel | ( | AreaTableEntry const * | areaEntry | ) | const |
Definition at line 7930 of file ObjectMgr.cpp.
References _fishingBaseForAreaStore, GetFishingBaseSkillLevel(), AreaTableEntry::ID, AreaTableEntry::ParentAreaID, sAreaTableStore, and TC_LOG_ERROR.
Referenced by GetFishingBaseSkillLevel().
| GameObjectAddon const * ObjectMgr::GetGameObjectAddon | ( | ObjectGuid::LowType | lowguid | ) | const |
Definition at line 1389 of file ObjectMgr.cpp.
References _gameObjectAddonStore.
|
inline |
Definition at line 1445 of file ObjectMgr.h.
Referenced by GetSpawnData(), LoadGameObjectAddons(), LoadGameObjectOverrides(), LoadLinkedRespawn(), and LoadScripts().
|
inline |
Definition at line 1453 of file ObjectMgr.h.
| GameObjectOverride const * ObjectMgr::GetGameObjectOverride | ( | ObjectGuid::LowType | spawnId | ) | const |
Definition at line 10487 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Definition at line 1069 of file ObjectMgr.h.
|
inline |
Definition at line 1076 of file ObjectMgr.h.
| GameObjectTemplate const * ObjectMgr::GetGameObjectTemplate | ( | uint32 | entry | ) | const |
Definition at line 10473 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), LoadGameObjects(), LoadGameObjectTemplateAddons(), LoadQuestGreetingLocales(), LoadQuestGreetings(), LoadQuests(), LoadScripts(), and LoadTempSummons().
| GameObjectTemplateAddon const * ObjectMgr::GetGameObjectTemplateAddon | ( | uint32 | entry | ) | const |
Definition at line 10478 of file ObjectMgr.cpp.
|
inline |
Definition at line 1032 of file ObjectMgr.h.
| GameTele const * ObjectMgr::GetGameTele | ( | std::string_view | name | ) | const |
Definition at line 9087 of file ObjectMgr.cpp.
References Utf8toWStr(), GameTele::wnameLow, and wstrToLower().
Definition at line 1536 of file ObjectMgr.h.
| GameTele const * ObjectMgr::GetGameTeleExactName | ( | std::string_view | name | ) | const |
Definition at line 9110 of file ObjectMgr.cpp.
References Utf8toWStr(), and wstrToLower().
|
inline |
Definition at line 1544 of file ObjectMgr.h.
|
inline |
Definition at line 1348 of file ObjectMgr.h.
| AreaTriggerTeleport const * ObjectMgr::GetGoBackTrigger | ( | uint32 | Map | ) | const |
Definition at line 7268 of file ObjectMgr.cpp.
References _areaTriggerStore, AreaTriggerEntry::ContinentID, MapEntry::CorpseMapID, GetInstanceTemplate(), MapEntry::IsDungeon(), sAreaTriggerStore, and sMapStore.
|
inline |
Definition at line 1197 of file ObjectMgr.h.
|
inline |
Definition at line 1196 of file ObjectMgr.h.
|
inline |
Definition at line 1194 of file ObjectMgr.h.
|
inline |
Definition at line 1195 of file ObjectMgr.h.
|
inline |
Definition at line 1596 of file ObjectMgr.h.
|
inline |
Definition at line 1489 of file ObjectMgr.h.
|
inline |
Definition at line 1588 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
|
inline |
Definition at line 1592 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
|
inline |
Definition at line 1578 of file ObjectMgr.h.
|
inline |
Definition at line 1583 of file ObjectMgr.h.
| GridObjectGuids const * ObjectMgr::GetGridObjectGuids | ( | uint32 | mapid, |
| Difficulty | spawnMode, | ||
| uint32 | gridId | ||
| ) |
Definition at line 2412 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, and Trinity::Containers::MapGetValuePtr().
|
private |
Definition at line 7362 of file ObjectMgr.cpp.
References _guidGenerators.
Referenced by SetHighestGuids().
|
inline |
Definition at line 1368 of file ObjectMgr.h.
| InstanceTemplate const * ObjectMgr::GetInstanceTemplate | ( | uint32 | mapId | ) | const |
Definition at line 6222 of file ObjectMgr.cpp.
References _instanceTemplateStore.
Referenced by GetGoBackTrigger().
|
inline |
Definition at line 1058 of file ObjectMgr.h.
| ItemTemplate const * ObjectMgr::GetItemTemplate | ( | uint32 | entry | ) | const |
Definition at line 3449 of file ObjectMgr.cpp.
References _itemTemplateStore, and Trinity::Containers::MapGetValuePtr().
Referenced by LoadAccessRequirements(), LoadItemScriptNames(), LoadItemTemplateAddon(), LoadPlayerInfo(), LoadQuests(), and LoadScripts().
|
inline |
Definition at line 1056 of file ObjectMgr.h.
| JumpChargeParams const * ObjectMgr::GetJumpChargeParams | ( | int32 | id | ) | const |
Definition at line 10702 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1365 of file ObjectMgr.h.
Referenced by LoadCreatures(), and LoadGameObjects().
|
inline |
Definition at line 1432 of file ObjectMgr.h.
References ObjectGuid::Empty.
|
inlinestatic |
Definition at line 1608 of file ObjectMgr.h.
Referenced by npc_commandscript::_ShowLootTrackingQuestCurrencyEntry(), GossipMenu::AddMenuItem(), GameObjectTemplate::BuildQueryData(), PlayerAchievementMgr::CompletedAchievement(), CreatureTextMgr::GetLocalizedChatString(), WorldSession::HandleQueryPageText(), LinkValidator< LinkTags::quest >::IsTextValid(), PlayerMenu::SendGossipMenu(), Player::SendPlayerChoice(), PlayerMenu::SendPointOfInterest(), Player::SendPushToPartyResponse(), Player::SendQuestConfirmAccept(), and PlayerMenu::SendQuestGiverQuestListMessage().
|
inlinestatic |
Definition at line 1615 of file ObjectMgr.h.
|
inlinestatic |
Definition at line 1621 of file ObjectMgr.h.
|
inline |
Definition at line 1375 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 7295 of file ObjectMgr.cpp.
References _areaTriggerStore, and sAreaTriggerStore.
| GridObjectGuidsMap const * ObjectMgr::GetMapObjectGuids | ( | uint32 | mapid, |
| Difficulty | spawnMode | ||
| ) |
Definition at line 2420 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, and Trinity::Containers::MapGetValuePtr().
Definition at line 6646 of file ObjectMgr.cpp.
References ALLIANCE, HORDE, IgnoreForFindNearest, ShowOnAllianceMap, ShowOnHordeMap, sTaxiNodesMask, and sTaxiNodesStore.
Definition at line 6231 of file ObjectMgr.cpp.
References _npcTextStore.
|
inline |
Definition at line 1555 of file ObjectMgr.h.
Definition at line 6144 of file ObjectMgr.cpp.
References _pageTextStore.
Referenced by LoadGameObjectTemplate().
|
inline |
Definition at line 1483 of file ObjectMgr.h.
| PetLevelInfo const * ObjectMgr::GetPetLevelInfo | ( | uint32 | creature_id, |
| uint8 | level | ||
| ) | const |
Definition at line 3776 of file ObjectMgr.cpp.
References _petInfoStore, CONFIG_MAX_PLAYER_LEVEL, and sWorld.
| PhaseInfoStruct const * ObjectMgr::GetPhaseInfo | ( | uint32 | phaseId | ) | const |
Definition at line 10453 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
| std::string ObjectMgr::GetPhaseName | ( | uint32 | phaseId | ) | const |
Definition at line 12029 of file ObjectMgr.cpp.
| std::vector< PhaseAreaInfo > const * ObjectMgr::GetPhasesForArea | ( | uint32 | areaId | ) | const |
Definition at line 10458 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
| PlayerChoice const * ObjectMgr::GetPlayerChoice | ( | int32 | choiceId | ) | const |
Definition at line 10697 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1501 of file ObjectMgr.h.
Definition at line 4426 of file ObjectMgr.cpp.
References CONFIG_MAX_PLAYER_LEVEL, GetGameTableColumnForClass(), MAX_CLASSES, sBaseMPGameTable, sWorld, and TC_LOG_ERROR.
| PlayerInfo const * ObjectMgr::GetPlayerInfo | ( | uint32 | race, |
| uint32 | class_ | ||
| ) | const |
Definition at line 10524 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
| void ObjectMgr::GetPlayerLevelInfo | ( | uint32 | race, |
| uint32 | class_, | ||
| uint8 | level, | ||
| PlayerLevelInfo * | info | ||
| ) | const |
Definition at line 4444 of file ObjectMgr.cpp.
References _playerInfo, BuildPlayerLevelInfo(), CONFIG_MAX_PLAYER_LEVEL, PlayerInfo::levelInfo, and Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1171 of file ObjectMgr.h.
|
inline |
Definition at line 1495 of file ObjectMgr.h.
| QuestGreeting const * ObjectMgr::GetQuestGreeting | ( | TypeID | type, |
| uint32 | id | ||
| ) | const |
Definition at line 6496 of file ObjectMgr.cpp.
References _questGreetingStore, Trinity::Containers::MapGetValuePtr(), TYPEID_GAMEOBJECT, and TYPEID_UNIT.
| QuestGreetingLocale const * ObjectMgr::GetQuestGreetingLocale | ( | TypeID | type, |
| uint32 | id | ||
| ) | const |
Definition at line 6509 of file ObjectMgr.cpp.
References _questGreetingLocaleStore, Trinity::Containers::MapGetValuePtr(), TYPEID_GAMEOBJECT, and TYPEID_UNIT.
|
inline |
Definition at line 1459 of file ObjectMgr.h.
|
inline |
Definition at line 1091 of file ObjectMgr.h.
|
inline |
Definition at line 1477 of file ObjectMgr.h.
|
inline |
Definition at line 1465 of file ObjectMgr.h.
| QuestPOIData const * ObjectMgr::GetQuestPOIData | ( | int32 | questId | ) |
Definition at line 10497 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inlineprivate |
Definition at line 1771 of file ObjectMgr.h.
|
inline |
Definition at line 1471 of file ObjectMgr.h.
|
inline |
Definition at line 1097 of file ObjectMgr.h.
Definition at line 6752 of file ObjectMgr.cpp.
References _questTemplates.
Referenced by LoadAccessRequirements(), LoadCreatureSummonedData(), LoadQuestAreaTriggers(), LoadQuestPOI(), LoadQuests(), and LoadScripts().
|
inline |
Definition at line 1088 of file ObjectMgr.h.
|
inline |
Definition at line 1089 of file ObjectMgr.h.
|
inline |
Definition at line 1657 of file ObjectMgr.h.
| RaceUnlockRequirement const * ObjectMgr::GetRaceUnlockRequirement | ( | uint8 | raceId | ) | const |
Definition at line 10665 of file ObjectMgr.cpp.
References RaceClassAvailability::RaceID.
|
inline |
Definition at line 1145 of file ObjectMgr.h.
|
inline |
Definition at line 1162 of file ObjectMgr.h.
|
inline |
Definition at line 1154 of file ObjectMgr.h.
|
inline |
Definition at line 1662 of file ObjectMgr.h.
Referenced by LoadPlayerInfo().
| uint32 ObjectMgr::GetScriptId | ( | std::string_view | name, |
| bool | isDatabaseBound = true |
||
| ) |
Definition at line 9992 of file ObjectMgr.cpp.
Referenced by LoadAreaTriggerScripts(), LoadCreatures(), LoadCreatureTemplate(), LoadEventScripts(), LoadGameObjects(), LoadGameObjectTemplate(), LoadInstanceTemplate(), LoadItemScriptNames(), and LoadSpellScriptNames().
| std::string const & ObjectMgr::GetScriptName | ( | uint32 | id | ) | const |
Definition at line 9965 of file ObjectMgr.cpp.
Referenced by ValidateSpellScripts().
| SkillTiersEntry const * ObjectMgr::GetSkillTier | ( | uint32 | skillTierId | ) | const |
Definition at line 7949 of file ObjectMgr.cpp.
References _skillTiers.
| SpawnData const * ObjectMgr::GetSpawnData | ( | SpawnObjectType | type, |
| ObjectGuid::LowType | spawnId | ||
| ) | const |
Definition at line 2920 of file ObjectMgr.cpp.
References ABORT_MSG, GetCreatureData(), GetGameObjectData(), sAreaTriggerDataStore, SPAWN_TYPE_AREATRIGGER, SPAWN_TYPE_CREATURE, SPAWN_TYPE_GAMEOBJECT, and SpawnMetadata::TypeHasData().
|
inline |
Definition at line 1363 of file ObjectMgr.h.
References SpawnMetadata::spawnGroupData.
|
inline |
Definition at line 1362 of file ObjectMgr.h.
Definition at line 1367 of file ObjectMgr.h.
|
inline |
Definition at line 1413 of file ObjectMgr.h.
References SpawnMetadata::TypeHasData().
Referenced by LoadSpawnGroups().
|
inline |
Definition at line 1366 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
|
inline |
Definition at line 1371 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
| SpawnTrackingTemplateData const * ObjectMgr::GetSpawnTrackingData | ( | uint32 | spawnTrackingId | ) | const |
Definition at line 11639 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Referenced by OnDeleteSpawnData().
|
inline |
Definition at line 1372 of file ObjectMgr.h.
|
inline |
Definition at line 1573 of file ObjectMgr.h.
References Trinity::Containers::MapEqualRange().
| SpellScriptsBounds ObjectMgr::GetSpellScriptsBounds | ( | uint32 | spellId | ) |
Definition at line 8996 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 1404 of file ObjectMgr.h.
Definition at line 6710 of file ObjectMgr.cpp.
References ALLIANCE, CreatureModel::CreatureDisplayID, GetCreatureModelRandomGender(), GetCreatureTemplate(), CreatureTemplate::GetRandomValidModel(), TaxiNodesEntry::MountCreatureID, sTaxiNodesStore, and TC_LOG_ERROR.
| void ObjectMgr::GetTaxiPath | ( | uint32 | source, |
| uint32 | destination, | ||
| std::vector< uint32 > & | path, | ||
| uint32 & | cost | ||
| ) |
Definition at line 6695 of file ObjectMgr.cpp.
References TaxiPathEntry::Cost, TaxiPathEntry::ID, and sDB2Manager.
| TerrainSwapInfo const * ObjectMgr::GetTerrainSwapInfo | ( | uint32 | terrainSwapId | ) | const |
Definition at line 10463 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1759 of file ObjectMgr.h.
| Trainer::Trainer const * ObjectMgr::GetTrainer | ( | uint32 | trainerId | ) | const |
Definition at line 9731 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
|
inline |
Definition at line 1507 of file ObjectMgr.h.
| char const * ObjectMgr::GetTrinityString | ( | uint32 | entry, |
| LocaleConstant | locale | ||
| ) | const |
Definition at line 8888 of file ObjectMgr.cpp.
References TrinityString::Content, DEFAULT_LOCALE, and TC_LOG_ERROR.
|
inline |
Definition at line 1515 of file ObjectMgr.h.
Definition at line 11506 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
Definition at line 11556 of file ObjectMgr.cpp.
References Trinity::Containers::MapGetValuePtr().
| VehicleAccessoryList const * ObjectMgr::GetVehicleAccessoryList | ( | Vehicle * | veh | ) | const |
Definition at line 10507 of file ObjectMgr.cpp.
References Vehicle::GetBase(), Vehicle::GetCreatureEntry(), and Object::ToCreature().
|
inline |
Definition at line 1644 of file ObjectMgr.h.
| VehicleTemplate const * ObjectMgr::GetVehicleTemplate | ( | Vehicle * | veh | ) | const |
Definition at line 10502 of file ObjectMgr.cpp.
References Vehicle::GetCreatureEntry(), and Trinity::Containers::MapGetValuePtr().
| WorldSafeLocsEntry const * ObjectMgr::GetWorldSafeLoc | ( | uint32 | id | ) | const |
Definition at line 7023 of file ObjectMgr.cpp.
References _worldSafeLocs, and Trinity::Containers::MapGetValuePtr().
Referenced by GetClosestGraveyardInZone(), GetDefaultGraveyard(), LoadAreaTriggerTeleports(), and LoadGraveyardZones().
| Trinity::IteratorPair< std::unordered_map< uint32, WorldSafeLocsEntry >::const_iterator > ObjectMgr::GetWorldSafeLocs | ( | ) | const |
Definition at line 7028 of file ObjectMgr.cpp.
References _worldSafeLocs.
Definition at line 7923 of file ObjectMgr.cpp.
References _playerXPperLevel.
| bool ObjectMgr::HasPersonalSpawns | ( | uint32 | mapid, |
| Difficulty | spawnMode, | ||
| uint32 | phaseId | ||
| ) | const |
Definition at line 2425 of file ObjectMgr.cpp.
References _mapPersonalObjectGuidsStore, and Trinity::Containers::MapGetValuePtr().
| void ObjectMgr::InitializeQueriesData | ( | QueryDataGroup | mask | ) |
Definition at line 10919 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_POIS, QUERY_DATA_QUESTS, sWorld, and TC_LOG_INFO.
|
static |
|
inline |
Definition at line 1112 of file ObjectMgr.h.
| bool ObjectMgr::IsQuestObjectiveForSpawnTracking | ( | uint32 | spawnTrackingId, |
| uint32 | questObjectiveId | ||
| ) | const |
Definition at line 11644 of file ObjectMgr.cpp.
References advstd::ranges::contains, QuestObjective::ID, and Trinity::Containers::MapGetValuePtr().
| bool ObjectMgr::IsReservedName | ( | std::string_view | name | ) | const |
Definition at line 8654 of file ObjectMgr.cpp.
References Utf8toWStr(), and wstrToLower().
| bool ObjectMgr::IsScriptDatabaseBound | ( | uint32 | id | ) | const |
Definition at line 9979 of file ObjectMgr.cpp.
|
inline |
Definition at line 1107 of file ObjectMgr.h.
|
inline |
Definition at line 1642 of file ObjectMgr.h.
Referenced by LoadCreatures(), and LoadGameObjects().
|
static |
Definition at line 8740 of file ObjectMgr.cpp.
References CONFIG_MIN_CHARTER_NAME, CONFIG_STRICT_CHARTER_NAMES, isValidString(), MAX_CHARTER_NAME, sWorld, and Utf8toWStr().
Referenced by WorldSession::HandlePetitionBuy(), WorldSession::HandlePetitionRenameGuild(), ArenaTeam::SetName(), and Guild::SetName().
|
inline |
Definition at line 1117 of file ObjectMgr.h.
Referenced by LoadEventScripts().
| bool ObjectMgr::IsVendorItemValid | ( | uint32 | vendor_entry, |
| VendorItem const & | vItem, | ||
| Player * | player = nullptr, |
||
| std::set< uint32 > * | skip_vendors = nullptr, |
||
| uint32 | ORnpcflag = 0 |
||
| ) | const |
Definition at line 9788 of file ObjectMgr.cpp.
References VendorItem::BonusListIDs, CONDITION_SOURCE_TYPE_PLAYER_CONDITION, VendorItem::ExtendedCost, VendorItemData::FindItemCostPair(), ItemBonusMgr::GetItemBonuses(), Player::GetSession(), VendorItem::incrtime, VendorItem::item, ITEM_VENDOR_TYPE_CURRENCY, ITEM_VENDOR_TYPE_ITEM, LANG_COMMAND_VENDORSELECTION, LANG_EXTENDED_COST_NOT_EXIST, LANG_ITEM_ALREADY_IN_LIST, LANG_ITEM_NOT_FOUND, VendorItem::maxcount, CreatureTemplate::npcflag, VendorItem::PlayerConditionId, ChatHandler::PSendSysMessage(), sConditionMgr, sCurrencyTypesStore, ChatHandler::SendSysMessage(), sItemExtendedCostStore, sPlayerConditionStore, TC_LOG_ERROR, VendorItem::Type, and UNIT_NPC_FLAG_VENDOR.
| void ObjectMgr::LoadAccessRequirements | ( | ) |
Definition at line 7165 of file ObjectMgr.cpp.
References _accessRequirementStore, AccessRequirement::achievement, GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), AccessRequirement::item, AccessRequirement::item2, AccessRequirement::levelMax, AccessRequirement::levelMin, MAKE_PAIR64(), AccessRequirement::quest_A, AccessRequirement::quest_H, AccessRequirement::questFailedText, sAchievementStore, sDB2Manager, sMapStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaPhases | ( | ) |
Definition at line 10373 of file ObjectMgr.cpp.
References PhaseInfoStruct::Areas, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), PhaseInfoStruct::Id, Trinity::Containers::MapGetValuePtr(), AreaTableEntry::ParentAreaID, sAreaTableStore, sPhaseStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerPolygons | ( | ) |
Definition at line 7141 of file ObjectMgr.cpp.
References _areaTriggerPolygons, AreaTriggerPolygon::Height, PathDb2::Locations, Polygon, PathDb2::Properties, sAreaTriggerStore, sDB2Manager, AreaTriggerPolygon::Vertices, and VolumeHeight.
| void ObjectMgr::LoadAreaTriggerScripts | ( | ) |
Definition at line 6613 of file ObjectMgr.cpp.
References _areaTriggerScriptStore, getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetStringView(), Field::GetUInt32(), sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerTeleports | ( | ) |
Definition at line 7095 of file ObjectMgr.cpp.
References _areaTriggerStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GetWorldSafeLoc(), sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureAddons | ( | ) |
Definition at line 1172 of file ObjectMgr.cpp.
References _creatureAddonStore, CreatureAddon::aiAnimKit, CreatureAddon::animTier, AsUnderlyingType(), CreatureAddon::auras, DIFFICULTY_NONE, CreatureAddon::emote, GetCreatureData(), SpellInfo::GetDuration(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt64(), Field::GetUInt8(), SpellInfo::HasAura(), SpellInfo::Id, IDLE_MOTION_TYPE, Max, MAX_SHEATH_STATE, MAX_UNIT_STAND_STATE, CreatureAddon::meleeAnimKit, CreatureAddon::mount, CreatureAddon::movementAnimKit, CreatureData::movementType, Normal, CreatureAddon::PathId, CreatureAddon::pvpFlags, sAnimKitStore, 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 10013 of file ObjectMgr.cpp.
References CreatureBaseStats::AttackPower, CreatureBaseStats::BaseMana, Class, CLASSMASK_ALL_CREATURES, CURRENT_EXPANSION, GetMaxLevelForExpansion(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), Level, MAKE_PAIR16(), MAX_UNIT_CLASSES, CreatureBaseStats::RangedAttackPower, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureLocales | ( | ) |
Definition at line 253 of file ObjectMgr.cpp.
References _creatureLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, CreatureLocale::Name, CreatureLocale::NameAlt, TC_LOG_INFO, CreatureLocale::Title, CreatureLocale::TitleAlt, and WorldDatabase.
| void ObjectMgr::LoadCreatureModelInfo | ( | ) |
Definition at line 1687 of file ObjectMgr.cpp.
References _creatureModelStore, CreatureModelInfo::bounding_radius, CreatureModelInfo::combat_reach, DEFAULT_PLAYER_COMBAT_REACH, CreatureModelInfo::displayId_other_gender, CreatureDisplayInfoEntry::Gender, CreatureModelInfo::gender, GENDER_MALE, GENDER_UNKNOWN, Field::GetFloat(), 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 1537 of file ObjectMgr.cpp.
References _creatureMovementOverrides, CreatureMovementData::Chase, CheckCreatureMovement(), Field::GetBool(), GetCreatureData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt64(), CreatureMovementData::HoverInitiallyEnabled, CreatureMovementData::InteractionPauseTimer, CreatureMovementData::Random, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestCurrencies | ( | ) |
Definition at line 10812 of file ObjectMgr.cpp.
References Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sCurrencyTypesStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestEnders | ( | ) |
Definition at line 8590 of file ObjectMgr.cpp.
References _creatureQuestInvolvedRelations, _creatureQuestInvolvedRelationsReverse, GetCreatureTemplate(), LoadQuestRelationsHelper(), CreatureTemplate::npcflag, TC_LOG_ERROR, and UNIT_NPC_FLAG_QUESTGIVER.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadCreatureQuestItems | ( | ) |
Definition at line 10766 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sItemStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestStarters | ( | ) |
Definition at line 8576 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 2120 of file ObjectMgr.cpp.
References _creatureDataStore, AddCreatureToGrid(), Trinity::ComputeGridCoord(), CONFIG_CALCULATE_CREATURE_ZONE_AREA_DATA, CONFIG_CREATURE_CHECK_INVALID_POSITION, VMAP::VMapFactory::createOrGetVMapManager(), CREATURE_FLAG_EXTRA_INSTANCE_BIND, CreatureData::curHealthPct, CreatureData::currentwaypoint, DEFAULT_PLAYER_DISPLAY_SCALE, CreatureData::display, CreatureData::equipmentId, CreatureTemplate::flags_extra, GetCreatureModelInfo(), GetCreatureTemplate(), GetDefaultSpawnGroup(), GetEquipmentInfo(), Field::GetFloat(), Field::GetInt32(), Field::GetInt8(), GetLegacySpawnGroup(), getMSTime(), GetMSTimeDiffToNow(), Position::GetPositionX(), Position::GetPositionY(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt32OrNull(), Field::GetUInt64(), Field::GetUInt64OrNull(), Field::GetUInt8(), SpawnData::id, IDLE_MOTION_TYPE, PhasingHandler::InitDbVisibleMapId(), MapEntry::IsDungeon(), IsTransportMap(), SpawnMetadata::mapId, MAX_DB_MOTION_TYPE, MAX_NUMBER_OF_GRIDS, CreatureData::movementType, CreatureData::npcflag, MapEntry::ParentMapID, ParseSpawnDifficulties(), PHASE_USE_FLAGS_ALL, PHASE_USE_FLAGS_ALWAYS_VISIBLE, PHASE_USE_FLAGS_INVERSE, SpawnData::phaseGroup, SpawnData::phaseId, SpawnData::phaseUseFlags, SpawnData::poolId, RANDOM_MOTION_TYPE, CreatureTemplate::RegenHealth, Position::Relocate(), SpawnData::scriptId, sDB2Manager, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), sMapDifficultyStore, sMapStore, SpawnData::spawnDifficulties, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnPoint, SpawnData::spawntimesecs, sPhaseStore, sTerrainMgr, SpawnData::StringId, VMAP::Success, sWorld, TC_LOG_ERROR, TC_LOG_INFO, SpawnData::terrainSwapMap, UNIT_FLAG2_ALLOWED, UNIT_FLAG2_FEIGN_DEATH, UNIT_FLAG3_ALLOWED, UNIT_FLAG3_FAKE_DEAD, UNIT_FLAG_ALLOWED, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_FLAG_IMMUNE_TO_PC, CreatureTemplate::unit_flags, CreatureData::unit_flags, CreatureData::unit_flags2, CreatureData::unit_flags3, CreatureData::wander_distance, WORLD_UPD_CREATURE_ZONE_AREA_DATA, WorldDatabase, CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
| void ObjectMgr::LoadCreatureStaticFlagsOverride | ( | ) |
Definition at line 10854 of file ObjectMgr.cpp.
References advstd::ranges::contains, creatureData, DIFFICULTY_NONE, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), CreatureStaticFlagsOverride::StaticFlags1, CreatureStaticFlagsOverride::StaticFlags2, CreatureStaticFlagsOverride::StaticFlags3, CreatureStaticFlagsOverride::StaticFlags4, CreatureStaticFlagsOverride::StaticFlags5, CreatureStaticFlagsOverride::StaticFlags6, CreatureStaticFlagsOverride::StaticFlags7, CreatureStaticFlagsOverride::StaticFlags8, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureSummonedData | ( | ) |
Definition at line 660 of file ObjectMgr.cpp.
References _creatureSummonedDataStore, CreatureSummonedData::CreatureIDVisibleToSummoner, CreatureSummonedData::DespawnOnQuestsRemoved, CreatureSummonedData::FlyingMountDisplayID, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetUInt32(), Field::GetUInt32OrNull(), CreatureSummonedData::GroundMountDisplayID, sCreatureDisplayInfoStore, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplate | ( | Field * | fields | ) |
Definition at line 401 of file ObjectMgr.cpp.
References _creatureTemplateStore, CreatureTemplate::AIName, CreatureTemplate::BaseAttackTime, CreatureTemplate::BaseVariance, CreatureMovementData::Chase, CreatureTemplate::Classification, CreatureTemplate::CreatureImmunitiesId, CreatureTemplate::dmgschool, CreatureTemplate::Entry, CreatureTemplate::faction, CreatureTemplate::family, CreatureTemplate::FemaleName, CreatureTemplate::flags_extra, Field::GetBool(), Field::GetFloat(), Field::GetInt32(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt64(), CreatureMovementData::HoverInitiallyEnabled, CreatureTemplate::IconName, CreatureMovementData::InteractionPauseTimer, CreatureTemplate::KillCredit, MAX_CREATURE_SPELLS, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, CreatureTemplate::ModExperience, CreatureTemplate::Movement, CreatureTemplate::movementId, CreatureTemplate::MovementType, CreatureTemplate::Name, CreatureTemplate::npcflag, CreatureTemplate::RacialLeader, CreatureMovementData::Random, CreatureTemplate::RangeAttackTime, CreatureTemplate::RangeVariance, CreatureTemplate::RegenHealth, CreatureTemplate::RequiredExpansion, CreatureTemplate::resistance, CreatureTemplate::scale, CreatureTemplate::ScriptID, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_HOLY, CreatureTemplate::spells, CreatureTemplate::StringId, CreatureTemplate::SubName, CreatureTemplate::TitleAlt, CreatureTemplate::trainer_class, CreatureTemplate::type, CreatureTemplate::unit_class, CreatureTemplate::unit_flags, CreatureTemplate::unit_flags2, CreatureTemplate::unit_flags3, CreatureTemplate::VehicleId, CreatureTemplate::VignetteID, CreatureTemplate::WidgetSetID, and CreatureTemplate::WidgetSetUnitConditionID.
Referenced by LoadCreatureTemplates().
| void ObjectMgr::LoadCreatureTemplateAddons | ( | ) |
Definition at line 739 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore, CreatureAddon::aiAnimKit, CreatureAddon::animTier, AsUnderlyingType(), CreatureAddon::auras, DIFFICULTY_NONE, CreatureAddon::emote, GetCreatureTemplate(), SpellInfo::GetDuration(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SpellInfo::HasAura(), SpellInfo::Id, Max, MAX_SHEATH_STATE, MAX_UNIT_STAND_STATE, CreatureAddon::meleeAnimKit, CreatureAddon::mount, CreatureAddon::movementAnimKit, Normal, CreatureAddon::PathId, CreatureAddon::pvpFlags, sAnimKitStore, sCreatureDisplayInfoStore, sEmotesStore, CreatureAddon::sheathState, SPELL_AURA_CONTROL_VEHICLE, sSpellMgr, CreatureAddon::standState, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), CreatureAddon::visFlags, CreatureAddon::visibilityDistanceType, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateDifficulty | ( | ) |
Definition at line 918 of file ObjectMgr.cpp.
References _creatureTemplateStore, CreatureDifficulty::ArmorModifier, CreatureDifficulty::ContentTuningID, CreatureDifficulty::CreatureDifficultyID, CreatureDifficulty::DamageModifier, CreatureDifficulty::DeltaLevelMax, CreatureDifficulty::DeltaLevelMin, EXPANSION_LEVEL_CURRENT, Creature::GetDamageMod(), Field::GetFloat(), Field::GetInt16(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), CreatureDifficulty::GoldMax, CreatureDifficulty::GoldMin, CreatureDifficulty::HealthModifier, CreatureDifficulty::HealthScalingExpansion, CreatureDifficulty::LootID, CreatureDifficulty::ManaModifier, MAX_EXPANSIONS, CreatureDifficulty::PickPocketLootID, CreatureDifficulty::SkinLootID, CreatureDifficulty::StaticFlags, TC_LOG_ERROR, TC_LOG_INFO, CreatureDifficulty::TypeFlags, CreatureDifficulty::TypeFlags2, CreatureDifficulty::TypeFlags3, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateGossip | ( | ) |
Definition at line 471 of file ObjectMgr.cpp.
References _creatureTemplateStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), CreatureTemplate::GossipMenuIds, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateModels | ( | ) |
Definition at line 607 of file ObjectMgr.cpp.
References GetCreatureModelInfo(), GetCreatureTemplate(), Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sCreatureDisplayInfoStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
Referenced by LoadCreatureTemplates().
| void ObjectMgr::LoadCreatureTemplateResistances | ( | ) |
Definition at line 517 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(), LoadCreatureTemplateModels(), LoadCreatureTemplateResistances(), LoadCreatureTemplateSpells(), PreparedStatementBase::setUInt32(), TC_LOG_INFO, WORLD_SEL_CREATURE_TEMPLATE, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateSparring | ( | ) |
Definition at line 877 of file ObjectMgr.cpp.
References _creatureTemplateSparringStore, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateSpells | ( | ) |
Definition at line 562 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::LoadCreatureTrainers | ( | ) |
Definition at line 9361 of file ObjectMgr.cpp.
References Trinity::IteratorPair< iterator, end_iterator >::begin(), Trinity::IteratorPair< iterator, end_iterator >::end(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadDestructibleHitpoints | ( | ) |
Definition at line 7459 of file ObjectMgr.cpp.
References _destructibleHitpointStore, DestructibleHitpoint::DamagedNumHits, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), DestructibleHitpoint::Id, DestructibleHitpoint::IntactNumHits, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadEquipmentTemplates | ( | ) |
Definition at line 1452 of file ObjectMgr.cpp.
References _equipmentInfoStore, EquipmentItem::AppearanceModId, advstd::ranges::contains, GetCreatureTemplate(), TransmogMgr::GetDefaultItemModifiedAppearance(), TransmogMgr::GetItemModifiedAppearance(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), ItemEntry::InventoryType, InventoryTypesEquipable, EquipmentItem::ItemId, EquipmentInfo::Items, EquipmentItem::ItemVisual, MAX_EQUIPMENT_ITEMS, sItemStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadEventScripts | ( | ) |
Definition at line 5926 of file ObjectMgr.cpp.
References _eventScriptStore, getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetStringView(), Field::GetUInt32(), IsValidEvent(), LoadEventSet(), LoadScripts(), SCRIPTS_EVENT, sEventScripts, SPELL_EFFECT_SEND_EVENT, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 5878 of file ObjectMgr.cpp.
References _eventStore, _gameObjectTemplateStore, AnyoneTriggerGameEventScenario, PlayerTriggerGameEvent, sCriteriaStore, SendEvent, SPELL_EFFECT_SEND_EVENT, sSpellEffectStore, and sTaxiPathNodeStore.
Referenced by LoadEventScripts().
| void ObjectMgr::LoadExplorationBaseXP | ( | ) |
Definition at line 7891 of file ObjectMgr.cpp.
References _baseXPTable, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt8(), TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeAchievements | ( | ) |
Definition at line 10063 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sAchievementStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeItems | ( | ) |
Definition at line 10098 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG2_FACTION_ALLIANCE, ITEM_FLAG2_FACTION_HORDE, and TC_LOG_INFO.
| void ObjectMgr::LoadFactionChangeQuests | ( | ) |
Definition at line 10120 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeReputations | ( | ) |
Definition at line 10155 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sFactionStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeSpells | ( | ) |
Definition at line 10190 of file ObjectMgr.cpp.
References DIFFICULTY_NONE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeTitles | ( | ) |
Definition at line 10225 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sCharTitlesStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFishingBaseSkillLevel | ( | ) |
Definition at line 8901 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 1317 of file ObjectMgr.cpp.
References _gameObjectAddonStore, GameObjectAddon::AIAnimKitID, GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), INVISIBILITY_GENERAL, GameObjectAddon::invisibilityType, GameObjectAddon::InvisibilityValue, QuaternionData::isUnit(), GameObjectAddon::ParentRotation, sAnimKitStore, sWorldEffectStore, TC_LOG_ERROR, TC_LOG_INFO, TOTAL_INVISIBILITY_TYPES, WorldDatabase, and GameObjectAddon::WorldEffectID.
| void ObjectMgr::LoadGameObjectForQuests | ( | ) |
Definition at line 8778 of file ObjectMgr.cpp.
References GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_GATHERING_NODE, GAMEOBJECT_TYPE_GENERIC, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_SPELL_FOCUS, getMSTime(), GetMSTimeDiffToNow(), LootStore::HaveQuestLootFor(), LootTemplates_Gameobject, QUEST_OBJECTIVE_GAMEOBJECT, and TC_LOG_INFO.
| void ObjectMgr::LoadGameObjectLocales | ( | ) |
Definition at line 7427 of file ObjectMgr.cpp.
References _gameObjectLocaleStore, AddLocaleString(), GameObjectLocale::CastBarCaption, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, GameObjectLocale::Name, TC_LOG_INFO, GameObjectLocale::Unk1, and WorldDatabase.
| void ObjectMgr::LoadGameObjectOverrides | ( | ) |
Definition at line 7853 of file ObjectMgr.cpp.
References _gameObjectOverrideStore, GameObjectOverride::Faction, GameObjectOverride::Flags, GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt64(), sFactionTemplateStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameobjectQuestEnders | ( | ) |
Definition at line 8562 of file ObjectMgr.cpp.
References _goQuestInvolvedRelations, _goQuestInvolvedRelationsReverse, GAMEOBJECT_TYPE_QUESTGIVER, GetGameObjectTemplate(), LoadQuestRelationsHelper(), TC_LOG_ERROR, and GameObjectTemplate::type.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadGameObjectQuestItems | ( | ) |
Definition at line 10721 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sItemStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameobjectQuestStarters | ( | ) |
Definition at line 8548 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 2480 of file ObjectMgr.cpp.
References _gameObjectDataStore, AddGameobjectToGrid(), GameObjectData::animprogress, GameObjectData::artKit, Trinity::ComputeGridCoord(), CONFIG_CALCULATE_GAMEOBJECT_ZONE_AREA_DATA, CONFIG_GAME_OBJECT_CHECK_INVALID_POSITION, VMAP::VMapFactory::createOrGetVMapManager(), GameObjectTemplate::displayId, QuaternionData::fromOrientation(), GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_TRANSPORT, GAMEOBJECT_TYPE_TRAP, GetDefaultSpawnGroup(), Field::GetFloat(), GetGameObjectTemplate(), Field::GetInt32(), Field::GetInt8(), GetLegacySpawnGroup(), getMSTime(), GetMSTimeDiffToNow(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), GetScriptId(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt64(), Field::GetUInt8(), GO_STATE_TRANSPORT_ACTIVE, GameObjectData::goState, SpawnData::id, PhasingHandler::InitDbVisibleMapId(), GameObjectTemplate::IsDespawnAtAction(), IsTransportMap(), QuaternionData::isUnit(), MapManager::IsValidMapCoord(), SpawnMetadata::mapId, MAX_GO_STATE, MAX_GO_STATE_TRANSPORT_STOP_FRAMES, MAX_NUMBER_OF_GRIDS, MapEntry::ParentMapID, ParseSpawnDifficulties(), PHASE_USE_FLAGS_ALL, PHASE_USE_FLAGS_ALWAYS_VISIBLE, PHASE_USE_FLAGS_INVERSE, SpawnData::phaseGroup, SpawnData::phaseId, SpawnData::phaseUseFlags, SpawnData::poolId, Position::Relocate(), GameObjectData::rotation, SpawnData::scriptId, sDB2Manager, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), sGameObjectDisplayInfoStore, sMapDifficultyStore, sMapStore, SpawnData::spawnDifficulties, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnData::spawnPoint, SpawnData::spawntimesecs, sPhaseStore, sTerrainMgr, SpawnData::StringId, VMAP::Success, sWorld, TC_LOG_ERROR, TC_LOG_INFO, SpawnData::terrainSwapMap, GameObjectTemplate::type, QuaternionData::w, WORLD_UPD_GAMEOBJECT_ZONE_AREA_DATA, WorldDatabase, QuaternionData::x, CoordPair< LIMIT >::x_coord, QuaternionData::y, CoordPair< LIMIT >::y_coord, and QuaternionData::z.
| void ObjectMgr::LoadGameObjectTemplate | ( | ) |
Definition at line 7545 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::ContentTuningId, GameObjectTemplate::CustomSitAnimKit, GameObjectTemplate::data, GameObjectTemplate::destructibleBuilding, GameObjectTemplate::displayId, GameObjectTemplate::door, GameObjectTemplate::entry, GameObjectTemplate::fishingHole, GameObjectTemplate::flagDrop, GameObjectTemplate::flagStand, GAMEOBJECT_TYPE_AREADAMAGE, GAMEOBJECT_TYPE_BARBER_CHAIR, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CAMERA, GAMEOBJECT_TYPE_CHAIR, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GARRISON_BUILDING, GAMEOBJECT_TYPE_GATHERING_NODE, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_RITUAL, GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_SPELLCASTER, GAMEOBJECT_TYPE_TRAP, GameObjectTemplate::garrisonBuilding, GameObjectTemplate::gatheringNode, GetDestructibleHitpoint(), Field::GetFloat(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), GetPageText(), GetScriptId(), Field::GetString(), Field::GetUInt32(), GameObjectTemplate::goober, GameObjectTemplate::HealthRec, GameObjectTemplate::IconName, GameObjectTemplate::linkedTrap, MAX_GAMEOBJECT_DATA, GameObjectTemplate::moTransport, GameObjectTemplate::name, GameObjectTemplate::noDamageImmune, GameObjectTemplate::open, GameObjectTemplate::pageID, GameObjectTemplate::questgiver, GameObjectTemplate::raw, GameObjectTemplate::RequiredLevel, sAnimKitStore, GameObjectTemplate::ScriptId, sGameObjectAIRegistry, sGameObjectsStore, GameObjectTemplate::size, GameObjectTemplate::SpawnMap, GameObjectTemplate::spell, GameObjectTemplate::spellCaster, GameObjectTemplate::spellFocus, GameObjectTemplate::spellFocusType, sSpellFocusObjectStore, sTaxiPathNodesByPath, GameObjectTemplate::StringId, sWorld, GameObjectTemplate::taxiPathID, TC_LOG_ERROR, TC_LOG_INFO, GameObjectTemplate::trap, GameObjectTemplate::type, GameObjectTemplate::unk1, and WorldDatabase.
| void ObjectMgr::LoadGameObjectTemplateAddons | ( | ) |
Definition at line 7767 of file ObjectMgr.cpp.
References _gameObjectTemplateAddonStore, GameObjectTemplateAddon::AIAnimKitID, GameObjectTemplateAddon::ArtKits, GameObjectOverride::Faction, GameObjectOverride::Flags, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_FISHINGHOLE, GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GameObjectTemplateAddon::Maxgold, GameObjectTemplateAddon::Mingold, sAnimKitStore, sFactionTemplateStore, sGameObjectArtKitStore, sWorldEffectStore, TC_LOG_ERROR, TC_LOG_INFO, GameObjectTemplate::type, WorldDatabase, and GameObjectTemplateAddon::WorldEffectID.
| void ObjectMgr::LoadGameTele | ( | ) |
Definition at line 9032 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 9517 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GossipMenus::MenuID, TC_LOG_ERROR, TC_LOG_INFO, GossipMenus::TextID, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuAddon | ( | ) |
Definition at line 9678 of file ObjectMgr.cpp.
References GossipMenuAddon::FriendshipFactionID, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GossipMenuAddon::LfgDungeonsID, sFactionStore, sFriendshipReputationStore, sLFGDungeonsStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItems | ( | ) |
Definition at line 9553 of file ObjectMgr.cpp.
References GossipMenuItems::ActionMenuID, GossipMenuItems::ActionPoiID, AsUnderlyingType(), GossipMenuItems::BoxBroadcastTextID, GossipMenuItems::BoxCoded, GossipMenuItems::BoxMoney, GossipMenuItems::BoxText, Count, DIFFICULTY_NONE, GossipMenuItems::Flags, Field::GetBool(), Field::GetInt32(), Field::GetInt32OrNull(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt64(), GossipMenuItems::GossipNpcOptionID, GossipMenuItems::GossipOptionID, GossipMenuItems::Language, Trinity::Containers::MapGetValuePtr(), GossipMenuItems::MenuID, None, GossipMenuItems::OptionBroadcastTextID, GossipMenuItems::OptionNpc, GossipMenuItems::OptionText, GossipMenuItems::OrderIndex, GossipMenuItems::OverrideIconID, sBroadcastTextStore, sGossipNPCOptionStore, sLanguagesStore, GossipMenuItems::SpellID, sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItemsLocales | ( | ) |
Definition at line 286 of file ObjectMgr.cpp.
References _gossipMenuItemsLocaleStore, AddLocaleString(), GossipMenuItemsLocale::BoxText, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, GossipMenuItemsLocale::OptionText, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGraveyardZones | ( | ) |
Definition at line 6763 of file ObjectMgr.cpp.
References AddGraveyardLink(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GetWorldSafeLoc(), GraveyardStore, sAreaTableStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadInstanceSpawnGroups | ( | ) |
Definition at line 2852 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 6182 of file ObjectMgr.cpp.
References _instanceTemplateStore, getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetUInt16(), MapManager::IsValidMAP(), InstanceTemplate::Parent, InstanceTemplate::ScriptId, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemScriptNames | ( | ) |
Definition at line 3422 of file ObjectMgr.cpp.
References GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetUInt32(), ItemTemplate::ScriptId, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemTemplateAddon | ( | ) |
Definition at line 3383 of file ObjectMgr.cpp.
References ItemTemplate::FlagsCu, ItemTemplate::FoodType, Field::GetFloat(), Field::GetInt32(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), ItemTemplate::MaxMoneyLoot, ItemTemplate::MinMoneyLoot, ItemTemplate::QuestLogItemId, ItemTemplate::RandomBonusListTemplateId, ItemTemplate::SpellPPMRate, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemTemplates | ( | ) |
Definition at line 3284 of file ObjectMgr.cpp.
References _itemTemplateStore, ItemTemplate::BasicData, ItemTemplate::CalculateItemSpecBit(), ItemEntry::ClassID, ItemTemplate::ExtendedData, FillMaxDurability(), ItemTemplate::FlagsCu, ItemTemplate::FoodType, getMSTime(), GetMSTimeDiffToNow(), ITEM_SPEC_STAT_NONE, ItemTemplate::ItemSpecClassMask, ItemSpecStats::ItemSpecStatCount, ItemSpecStats::ItemSpecStatTypes, ItemSpecStats::ItemType, ItemEffectEntry::LegacySlotIndex, Trinity::Containers::MapGetValuePtr(), ItemTemplate::MaxDurability, ItemTemplate::MaxMoneyLoot, ItemTemplate::MinMoneyLoot, ItemTemplate::QuestLogItemId, ItemTemplate::RandomBonusListTemplateId, sChrSpecializationStore, ItemTemplate::ScriptId, sDB2Manager, sItemEffectStore, sItemSparseStore, sItemSpecStore, sItemStore, sItemXItemEffectStore, ItemTemplate::Specializations, ItemTemplate::SpellPPMRate, ItemEntry::SubclassID, and TC_LOG_INFO.
| void ObjectMgr::LoadJumpChargeParams | ( | ) |
Definition at line 11909 of file ObjectMgr.cpp.
References DEFINE_FIELD_ACCESSOR_CACHE_ANONYMOUS, DIFFICULTY_NONE, getMSTime(), GetMSTimeDiffToNow(), params, sCurveStore, JumpChargeParams::Speed, SPEED_CHARGE, sSpellMgr, sSpellVisualStore, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadLinkedRespawn | ( | ) |
Definition at line 1764 of file ObjectMgr.cpp.
References _linkedRespawnStore, GetCreatureData(), GetGameObjectData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt64(), Field::GetUInt8(), SpawnData::id, MapEntry::Instanceable(), Trinity::Containers::Intersects(), LINKED_RESPAWN_CREATURE_TO_CREATURE, LINKED_RESPAWN_CREATURE_TO_GO, LINKED_RESPAWN_GO_TO_CREATURE, LINKED_RESPAWN_GO_TO_GO, SpawnMetadata::mapId, sMapStore, SpawnData::spawnDifficulties, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadMailLevelRewards | ( | ) |
Definition at line 9190 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), Field::GetUInt8(), MAX_LEVEL, RACEMASK_ALL_PLAYABLE, Trinity::RaceMask< T, N >::RawValue, sMailTemplateStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadNPCSpellClickSpells | ( | ) |
Definition at line 8411 of file ObjectMgr.cpp.
References _creatureTemplateStore, _spellClickInfoStore, SpellClickInfo::castFlags, DIFFICULTY_NONE, 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::LoadNPCText | ( | ) |
Definition at line 6239 of file ObjectMgr.cpp.
References _npcTextStore, NpcTextData::BroadcastTextID, NpcText::Data, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAX_NPC_TEXT_OPTIONS, NpcTextData::Probability, sBroadcastTextStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPageTextLocales | ( | ) |
Definition at line 6153 of file ObjectMgr.cpp.
References _pageTextLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, TC_LOG_INFO, PageTextLocale::Text, and WorldDatabase.
| void ObjectMgr::LoadPageTexts | ( | ) |
Definition at line 6107 of file ObjectMgr.cpp.
References _pageTextStore, PageText::Flags, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), PageText::NextPageID, PageText::PlayerConditionID, TC_LOG_ERROR, TC_LOG_INFO, PageText::Text, and WorldDatabase.
| void ObjectMgr::LoadPetLevelInfo | ( | ) |
Definition at line 3688 of file ObjectMgr.cpp.
References _petInfoStore, ABORT, PetLevelInfo::armor, CONFIG_MAX_PLAYER_LEVEL, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), PetLevelInfo::health, PetLevelInfo::mana, MAX_STATS, PetLevelInfo::stats, STRONG_MAX_LEVEL, sWorld, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPetNames | ( | ) |
Definition at line 7966 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 7997 of file ObjectMgr.cpp.
References _hiPetNumber, CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), and TC_LOG_INFO.
| void ObjectMgr::LoadPhaseNames | ( | ) |
Definition at line 12000 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPhases | ( | ) |
Definition at line 10260 of file ObjectMgr.cpp.
References sPhaseStore.
| void ObjectMgr::LoadPlayerChoices | ( | ) |
Definition at line 10996 of file ObjectMgr.cpp.
References PlayerChoiceResponse::Answer, PlayerChoiceResponseReward::ArenaPointCount, PlayerChoiceResponse::ButtonTooltip, PlayerChoiceResponse::ChoiceArtFileId, PlayerChoice::ChoiceId, PlayerChoice::CloseSoundKitId, PlayerChoiceResponse::Confirmation, CurrencyId, DEFINE_FIELD_ACCESSOR_CACHE_ANONYMOUS, PlayerChoiceResponse::Description, Description, PlayerChoice::Duration, Duration, PlayerChoiceResponse::Flags, getMSTime(), GetMSTimeDiffToNow(), PlayerChoiceResponse::GroupID, PlayerChoiceResponse::Header, Header, PlayerChoice::HideAnswerArt, PlayerChoice::HideWarboardHeader, PlayerChoiceResponseReward::HonorPointCount, PlayerChoice::InfiniteRange, ItemId, PlayerChoice::KeepOpenAfterChoice, Trinity::Containers::MapGetValuePtr(), PlayerChoice::MaxResponses, PlayerChoiceResponseMawPower::MaxStacks, Money, PlayerChoiceResponseReward::Money, PlayerChoiceResponseReward::PackageId, PlayerChoice::PendingChoiceText, PlayerChoice::Question, PlayerChoiceResponseMawPower::Rarity, PlayerChoice::RequiresSelection, PlayerChoiceResponse::ResponseId, PlayerChoice::Responses, PlayerChoiceResponse::RewardQuestID, sCharTitlesStore, PlayerChoice::ScriptId, sCurrencyTypesStore, sDB2Manager, sFactionStore, PlayerChoice::ShowChoicesAsColumns, PlayerChoice::ShowChoicesAsGrid, PlayerChoice::ShowChoicesAsList, PlayerChoiceResponseReward::SkillLineId, PlayerChoiceResponseReward::SkillPointCount, PlayerChoiceResponse::SoundKitID, PlayerChoice::SoundKitId, PlayerChoiceResponseMawPower::SpellID, sSkillLineStore, PlayerChoiceResponse::SubHeader, TC_LOG_ERROR, TC_LOG_INFO, PlayerChoiceResponseReward::TitleId, Trinity::Tokenize(), PlayerChoiceResponseMawPower::TypeArtFileID, PlayerChoiceResponse::UiTextureAtlasElementID, PlayerChoiceResponse::UiTextureKitID, PlayerChoice::UiTextureKitId, PlayerChoiceResponse::WidgetSetID, WorldDatabase, and PlayerChoiceResponseReward::Xp.
| void ObjectMgr::LoadPlayerChoicesLocale | ( | ) |
Definition at line 11379 of file ObjectMgr.cpp.
References PlayerChoiceResponseLocale::Answer, ASSERT_NOTNULL, PlayerChoiceResponseLocale::ButtonTooltip, PlayerChoiceResponseLocale::Confirmation, PlayerChoiceResponseLocale::Description, Field::GetInt32(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), PlayerChoice::GetResponse(), Field::GetStringView(), Field::GetUInt32(), PlayerChoiceResponseLocale::Header, IsValidLocale(), LOCALE_enUS, PlayerChoiceLocale::Question, PlayerChoiceResponseLocale::SubHeader, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPlayerInfo | ( | ) |
Definition at line 3814 of file ObjectMgr.cpp.
References _playerInfo, _playerXPperLevel, ABORT, AsUnderlyingType(), CLASS_DEATH_KNIGHT, CLASS_WARRIOR, CLASSMASK_ALL_PLAYABLE, CONFIG_MAX_PLAYER_LEVEL, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::emplace(), GENDER_FEMALE, GENDER_MALE, Field::GetFloat(), Field::GetInt16(), Field::GetInt32(), Field::GetInt8(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetSceneTemplate(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt32OrNull(), Field::GetUInt64(), Field::GetUInt64OrNull(), Field::GetUInt8(), Trinity::RaceMask< T, N >::HasRace(), Trinity::RaceMask< T, N >::IsEmpty(), Field::IsNull(), MapManager::IsValidMapCoord(), ITEM_CLASS_CONSUMABLE, ITEM_SUBCLASS_FOOD_DRINK, Trinity::Containers::MapGetValuePtr(), Max, MAX_CLASSES, MAX_STATS, operator<=>(), PlayerCreateInfoAddItemHelper(), Race, RACEMASK_ALL_PLAYABLE, Trinity::RaceMask< T, N >::RawValue, sCharacterLoadoutItemStore, sCharacterLoadoutStore, sChrClassesStore, sChrRacesStore, sDB2Manager, sMapStore, sMovieStore, SPELL_CATEGORY_DRINK, SPELL_CATEGORY_FOOD, sSkillRaceClassInfoStore, PlayerLevelInfo::stats, sTransportMgr, STRONG_MAX_LEVEL, sWorld, sXpGameTable, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPointOfInterestLocales | ( | ) |
Definition at line 318 of file ObjectMgr.cpp.
References _pointOfInterestLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, PointOfInterestLocale::Name, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPointsOfInterest | ( | ) |
Definition at line 8287 of file ObjectMgr.cpp.
References _pointsOfInterestStore, PointOfInterest::Flags, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Field::GetString(), Field::GetUInt32(), PointOfInterest::Icon, PointOfInterest::ID, PointOfInterest::Importance, Trinity::IsValidMapCoord(), PointOfInterest::Name, PointOfInterest::Pos, Position::Relocate(), TC_LOG_ERROR, TC_LOG_INFO, PointOfInterest::WMOGroupID, and WorldDatabase.
| void ObjectMgr::LoadQuestAreaTriggers | ( | ) |
Definition at line 6436 of file ObjectMgr.cpp.
References _questAreaTriggerStore, _questObjectives, getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetUInt32(), Quest::HasFlag(), Quest::HasQuestObjectiveType(), QuestObjective::ObjectID, QUEST_FLAGS_COMPLETION_AREA_TRIGGER, QUEST_OBJECTIVE_AREATRIGGER, QuestObjective::QuestID, sAreaTriggerStore, TC_LOG_ERROR, TC_LOG_INFO, QuestObjective::Type, and WorldDatabase.
| void ObjectMgr::LoadQuestGreetingLocales | ( | ) |
Definition at line 5445 of file ObjectMgr.cpp.
References _questGreetingLocaleStore, AddLocaleString(), GetCreatureTemplate(), GetGameObjectTemplate(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), Field::GetUInt8(), QuestGreetingLocale::Greeting, IsValidLocale(), LOCALE_enUS, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestGreetings | ( | ) |
Definition at line 6522 of file ObjectMgr.cpp.
References _questGreetingStore, GetCreatureTemplate(), GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestObjectivesLocale | ( | ) |
Definition at line 5416 of file ObjectMgr.cpp.
References _questObjectivesLocaleStore, AddLocaleString(), QuestObjectivesLocale::Description, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestOfferRewardLocale | ( | ) |
Definition at line 5499 of file ObjectMgr.cpp.
References _questOfferRewardLocaleStore, AddLocaleString(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, QuestOfferRewardLocale::RewardText, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestPOI | ( | ) |
Definition at line 8334 of file ObjectMgr.cpp.
References _questPOIStore, QuestPOIData::Blobs, flags, Field::GetBool(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Trinity::Containers::MapGetValuePtr(), QuestPOIData::QuestID, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 8512 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 5527 of file ObjectMgr.cpp.
References _questRequestItemsLocaleStore, AddLocaleString(), QuestRequestItemsLocale::CompletionText, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuests | ( | ) |
Definition at line 4544 of file ObjectMgr.cpp.
References Quest::_allowableClasses, Quest::_allowableRaces, Quest::_breadcrumbForQuestId, Quest::_contentTuningID, Quest::_exclusiveGroup, _exclusiveQuestGroups, Quest::_flags, Quest::_id, Quest::_nextQuestID, Quest::_prevQuestID, _questObjectives, Quest::_questSortID, _questTemplates, _questTemplatesAutoPush, Quest::_requiredMaxRepFaction, Quest::_requiredMaxRepValue, Quest::_requiredMinRepFaction, Quest::_requiredMinRepValue, Quest::_requiredSkillId, Quest::_requiredSkillPoints, Quest::_rewardMailDelay, Quest::_rewardMailSenderEntry, Quest::_rewardMailTemplateId, Quest::_rewardNextQuest, Quest::_rewardSkillId, Quest::_rewardSkillPoints, Quest::_rewardSpell, Quest::_rewardTitleId, Quest::_soundAccept, Quest::_soundTurnIn, Quest::_sourceItemId, Quest::_sourceItemIdCount, Quest::_sourceSpellID, Quest::_specialFlags, CLASSMASK_ALL_PLAYABLE, Currency, Quest::DependentBreadcrumbQuests, Quest::DependentPreviousQuests, DIFFICULTY_NONE, DISABLE_TYPE_QUEST, Quest::GetBreadcrumbForQuestId(), GetCreatureTemplate(), GetGameObjectTemplate(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Quest::GetObjectives(), Quest::GetPrevQuestId(), Quest::GetQuestId(), GetQuestTemplate(), Quest::GetQuestType(), Field::GetUInt32(), DisableMgr::IsDisabledFor(), Trinity::RaceMask< T, N >::IsEmpty(), SpellMgr::IsSpellValid(), Item, Quest::ItemDrop, Quest::ItemDropQuantity, Quest::LoadConditionalConditionalOfferRewardText(), Quest::LoadConditionalConditionalQuestCompletionLog(), Quest::LoadConditionalConditionalQuestDescription(), Quest::LoadConditionalConditionalRequestItemsText(), Quest::LoadQuestDetails(), Quest::LoadQuestMailSender(), Quest::LoadQuestObjective(), Quest::LoadQuestOfferReward(), Quest::LoadQuestRequestItems(), Quest::LoadQuestTemplateAddon(), Quest::LoadRewardChoiceItems(), Quest::LoadRewardDisplaySpell(), Quest::LoadRewardHouseDecor(), Quest::LoadRewardHouseRoom(), Quest::LoadTreasurePickers(), MAX_DB_ALLOWED_QUEST_TYPES, QUEST_FLAGS_DAILY, QUEST_FLAGS_TRACKING_EVENT, QUEST_FLAGS_WEEKLY, QUEST_ITEM_DROP_COUNT, QUEST_OBJECTIVE_AREA_TRIGGER_ENTER, QUEST_OBJECTIVE_AREA_TRIGGER_EXIT, QUEST_OBJECTIVE_AREATRIGGER, QUEST_OBJECTIVE_CRITERIA_TREE, QUEST_OBJECTIVE_CURRENCY, QUEST_OBJECTIVE_DEFEATBATTLEPET, QUEST_OBJECTIVE_FLAG_SEQUENCED, QUEST_OBJECTIVE_GAMEOBJECT, QUEST_OBJECTIVE_HAVE_CURRENCY, QUEST_OBJECTIVE_INCREASE_REPUTATION, QUEST_OBJECTIVE_ITEM, QUEST_OBJECTIVE_KILL_WITH_LABEL, QUEST_OBJECTIVE_LEARNSPELL, QUEST_OBJECTIVE_MAX_REPUTATION, QUEST_OBJECTIVE_MIN_REPUTATION, QUEST_OBJECTIVE_MONEY, QUEST_OBJECTIVE_MONSTER, QUEST_OBJECTIVE_OBTAIN_CURRENCY, QUEST_OBJECTIVE_PLAYERKILLS, QUEST_OBJECTIVE_PROGRESS_BAR, QUEST_OBJECTIVE_TALKTO, QUEST_OBJECTIVE_WINPETBATTLEAGAINSTNPC, QUEST_OBJECTIVE_WINPVPPETBATTLES, QUEST_REWARD_CHOICES_COUNT, QUEST_REWARD_CURRENCY_COUNT, QUEST_REWARD_ITEM_COUNT, QUEST_REWARD_REPUTATIONS_COUNT, QUEST_SPECIAL_FLAGS_DB_ALLOWED, QUEST_SPECIAL_FLAGS_MONTHLY, QUEST_SPECIAL_FLAGS_REPEATABLE, QUEST_SPECIAL_FLAGS_SEQUENCED_OBJECTIVES, Trinity::RaceMask< T, N >::RawValue, ReputationMgr::Reputation_Cap, Quest::RewardChoiceItemCount, Quest::RewardChoiceItemId, Quest::RewardChoiceItemType, Quest::RewardCurrencyCount, Quest::RewardCurrencyId, Quest::RewardFactionId, Quest::RewardFactionOverride, Quest::RewardFactionValue, Quest::RewardItemCount, Quest::RewardItemId, sAreaTableStore, sAreaTriggerDataStore, sAreaTriggerStore, sBattlePetSpeciesStore, sCharTitlesStore, sContentTuningStore, sCriteriaTreeStore, sCurrencyTypesStore, Quest::SetSpecialFlag(), sFactionStore, SkillByQuestSort(), sMailTemplateStore, sParagonReputationStore, sQuestSortStore, sSkillLineStore, sSoundKitStore, sSpellMgr, sWorld, TC_LOG_DEBUG, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestStartersAndEnders | ( | ) |
Definition at line 5365 of file ObjectMgr.cpp.
References LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), and TC_LOG_INFO.
| void ObjectMgr::LoadQuestTemplateLocale | ( | ) |
Definition at line 5377 of file ObjectMgr.cpp.
References _questTemplateLocaleStore, AddLocaleString(), QuestTemplateLocale::AreaDescription, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetStringView(), Field::GetUInt32(), IsValidLocale(), LOCALE_enUS, QuestTemplateLocale::LogDescription, QuestTemplateLocale::LogTitle, QuestTemplateLocale::PortraitGiverName, QuestTemplateLocale::PortraitGiverText, QuestTemplateLocale::PortraitTurnInName, QuestTemplateLocale::PortraitTurnInText, QuestTemplateLocale::QuestCompletionLog, QuestTemplateLocale::QuestDescription, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadRaceAndClassExpansionRequirements | ( | ) |
Definition at line 10529 of file ObjectMgr.cpp.
References ClassAvailability::AccountExpansionLevel, RaceUnlockRequirement::AchievementId, ClassAvailability::ActiveExpansionLevel, RaceClassAvailability::Classes, ClassAvailability::ClassID, RaceUnlockRequirement::Expansion, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_ACCOUNT_EXPANSIONS, MAX_EXPANSIONS, ClassAvailability::MinActiveExpansionLevel, RaceClassAvailability::RaceID, sAchievementStore, sChrClassesStore, sChrRacesStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| uint32 ObjectMgr::LoadReferenceVendor | ( | int32 | vendor, |
| int32 | item_id, | ||
| std::set< uint32 > * | skip_vendors | ||
| ) |
Definition at line 9412 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), VendorItem::BonusListIDs, VendorItem::ExtendedCost, Field::GetBool(), Field::GetInt32(), Field::GetUInt32(), Field::GetUInt8(), VendorItem::IgnoreFiltering, VendorItem::incrtime, VendorItem::item, VendorItem::maxcount, VendorItem::PlayerConditionId, PreparedStatementBase::setUInt32(), Trinity::Tokenize(), VendorItem::Type, WORLD_SEL_NPC_VENDOR_REF, and WorldDatabase.
| void ObjectMgr::LoadReputationOnKill | ( | ) |
Definition at line 8120 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 8032 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 8192 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 8615 of file ObjectMgr.cpp.
References CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), TC_LOG_ERROR, TC_LOG_INFO, Utf8toWStr(), and wstrToLower().
| void ObjectMgr::LoadSceneTemplates | ( | ) |
Definition at line 10966 of file ObjectMgr.cpp.
References SceneTemplate::Encrypted, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SceneTemplate::PlaybackFlags, SceneTemplate::SceneId, SceneTemplate::ScenePackageId, SceneTemplate::ScriptId, TC_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 5555 of file ObjectMgr.cpp.
References ScriptInfo::Amount, ScriptInfo::AnimKitID, 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, DIFFICULTY_NONE, 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::HasFlag(), ScriptInfo::id, SpawnData::id, INTERACTION_DISTANCE, Trinity::IsValidMapCoord(), ScriptInfo::ItemEntry, ScriptInfo::KillCredit, ScriptInfo::MapID, ScriptInfo::nData, ScriptInfo::Orientation, ScriptInfo::PlayAnimKit, ScriptInfo::PosX, ScriptInfo::PosY, ScriptInfo::PosZ, QUEST_FLAGS_COMPLETION_AREA_TRIGGER, QUEST_FLAGS_COMPLETION_EVENT, ScriptInfo::QuestExplored, ScriptInfo::QuestID, ScriptInfo::Raw, ScriptInfo::RemoveAura, ScriptInfo::RespawnGameobject, sAnimKitStore, sBroadcastTextStore, SCRIPT_COMMAND_CAST_SPELL, SCRIPT_COMMAND_CLOSE_DOOR, SCRIPT_COMMAND_CREATE_ITEM, SCRIPT_COMMAND_EMOTE, SCRIPT_COMMAND_FIELD_SET_DEPRECATED, SCRIPT_COMMAND_FLAG_REMOVE_DEPRECATED, SCRIPT_COMMAND_FLAG_SET_DEPRECATED, SCRIPT_COMMAND_KILL_CREDIT, SCRIPT_COMMAND_OPEN_DOOR, SCRIPT_COMMAND_PLAY_ANIMKIT, 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, 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().
| void ObjectMgr::LoadSkillTiers | ( | ) |
Definition at line 8938 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAX_SKILL_STEP, TC_LOG_ERROR, TC_LOG_INFO, SkillTiersEntry::Value, and WorldDatabase.
| void ObjectMgr::LoadSpawnGroups | ( | ) |
Definition at line 2786 of file ObjectMgr.cpp.
References _spawnGroupDataStore, _spawnGroupMapStore, _spawnGroupsByMap, SpawnGroupTemplateData::flags, getMSTime(), GetMSTimeDiffToNow(), GetSpawnMetadata(), Field::GetUInt32(), Field::GetUInt64(), 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 2727 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::LoadSpawnTrackingQuestObjectives | ( | ) |
Definition at line 11652 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadSpawnTrackings | ( | ) |
Definition at line 11698 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), SpawnTrackingTemplateData::MapId, SpawnMetadata::mapId, SpawnTrackingTemplateData::PhaseGroup, SpawnData::phaseGroup, SpawnTrackingTemplateData::PhaseId, SpawnData::phaseId, SpawnTrackingTemplateData::PhaseUseFlags, SpawnData::phaseUseFlags, SPAWN_TYPE_AREATRIGGER, SpawnMetadata::spawnTrackingData, SpawnTrackingTemplateData::SpawnTrackingId, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), SpawnMetadata::ToSpawnData(), SpawnMetadata::TypeIsValid(), and WorldDatabase.
| void ObjectMgr::LoadSpawnTrackingStates | ( | ) |
Definition at line 11806 of file ObjectMgr.cpp.
References AsUnderlyingType(), Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16OrNull(), Field::GetUInt32OrNull(), Field::GetUInt64(), Max, sAnimationDataStore, sAnimKitStore, sDB2Manager, SPAWN_TYPE_AREATRIGGER, SpawnMetadata::spawnTrackingData, sSpellVisualStore, SpawnTrackingStateData::StateAnimId, SpawnTrackingStateData::StateAnimKitId, SpawnTrackingStateData::StateSpellVisualId, SpawnTrackingStateData::StateWorldEffects, sWorldEffectStore, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), SpawnMetadata::TypeIsValid(), SpawnTrackingStateData::Visible, and WorldDatabase.
| void ObjectMgr::LoadSpawnTrackingTemplates | ( | ) |
Definition at line 11561 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SpawnTrackingTemplateData::MapId, PHASE_USE_FLAGS_ALL, PHASE_USE_FLAGS_ALWAYS_VISIBLE, PHASE_USE_FLAGS_INVERSE, SpawnTrackingTemplateData::PhaseGroup, SpawnTrackingTemplateData::PhaseId, SpawnTrackingTemplateData::PhaseUseFlags, sDB2Manager, sMapStore, SpawnTrackingTemplateData::SpawnTrackingId, sPhaseStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadSpellScriptNames | ( | ) |
Definition at line 5972 of file ObjectMgr.cpp.
References _spellScriptsStore, DIFFICULTY_NONE, SpellInfo::GetFirstRankSpell(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), SpellInfo::GetNextRankSpell(), GetScriptId(), Field::GetStringView(), SpellInfo::Id, SpellInfo::IsRanked(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadTavernAreaTriggers | ( | ) |
Definition at line 6576 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 2003 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, TempSummonGroupKey::SummonerEntry, TC_LOG_ERROR, TC_LOG_INFO, TEMPSUMMON_MANUAL_DESPAWN, TempSummonData::time, TempSummonData::type, and WorldDatabase.
| void ObjectMgr::LoadTerrainSwapDefaults | ( | ) |
Definition at line 10329 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TerrainSwapInfo::Id, sMapStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadTerrainWorldMaps | ( | ) |
Definition at line 10286 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), TerrainSwapInfo::Id, sDB2Manager, sMapStore, TC_LOG_ERROR, TC_LOG_INFO, TerrainSwapInfo::UiMapPhaseIDs, and WorldDatabase.
| void ObjectMgr::LoadTrainers | ( | ) |
Definition at line 9249 of file ObjectMgr.cpp.
References CONFIG_LOAD_LOCALES, DIFFICULTY_NONE, GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetStringView(), Field::GetUInt32(), Field::GetUInt8(), IsValidLocale(), LOCALE_enUS, Trinity::Containers::MapGetValuePtr(), Trainer::Spell::MoneyCost, Trainer::Spell::ReqAbility, Trainer::Spell::ReqLevel, Trainer::Spell::ReqSkillLine, Trainer::Spell::ReqSkillRank, Trainer::Spell::SpellId, sSkillLineStore, sSpellMgr, sWorld, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| bool ObjectMgr::LoadTrinityStrings | ( | ) |
Definition at line 8856 of file ObjectMgr.cpp.
References TrinityString::Content, DEFAULT_LOCALE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), OLD_TOTAL_LOCALES, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadUiMapQuestLines | ( | ) |
Definition at line 11461 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), QuestMgr::GetQuestsForQuestLine(), Field::GetUInt32(), sUiMapStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadUiMapQuests | ( | ) |
Definition at line 11511 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sUiMapStore, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVehicleAccessories | ( | ) |
Definition at line 3582 of file ObjectMgr.cpp.
References _vehicleAccessoryStore, DIFFICULTY_NONE, Field::GetBool(), GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt32OrNull(), Field::GetUInt64(), Field::GetUInt8(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVehicleSeatAddon | ( | ) |
Definition at line 3632 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 3516 of file ObjectMgr.cpp.
References _vehicleTemplateStore, VehicleTemplate::CustomFlags, VehicleTemplate::DespawnDelay, GetCreatureTemplate(), Field::GetFloatOrNull(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), VehicleTemplate::Pitch, sVehicleStore, TC_LOG_ERROR, TC_LOG_INFO, CreatureTemplate::VehicleId, and WorldDatabase.
| void ObjectMgr::LoadVehicleTemplateAccessories | ( | ) |
Definition at line 3454 of file ObjectMgr.cpp.
References _spellClickInfoStore, _vehicleTemplateAccessoryStore, DIFFICULTY_NONE, Field::GetBool(), GetCreatureTemplate(), Field::GetInt8(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt32OrNull(), Field::GetUInt8(), sSpellMgr, TC_LOG_ERROR, TC_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVendors | ( | ) |
Definition at line 9459 of file ObjectMgr.cpp.
References VendorItemData::AddItem(), VendorItem::BonusListIDs, VendorItem::ExtendedCost, Field::GetBool(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), VendorItem::IgnoreFiltering, VendorItem::incrtime, VendorItem::item, VendorItem::maxcount, VendorItem::PlayerConditionId, TC_LOG_ERROR, TC_LOG_INFO, Trinity::Tokenize(), VendorItem::Type, and WorldDatabase.
| void ObjectMgr::LoadWorldSafeLocs | ( | ) |
Definition at line 6985 of file ObjectMgr.cpp.
References _worldSafeLocs, DegToRad(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64OrNull(), WorldSafeLocsEntry::ID, MapManager::IsValidMapCoord(), WorldSafeLocsEntry::Loc, sTransportMgr, TC_LOG_ERROR, TC_LOG_INFO, WorldSafeLocsEntry::TransportSpawnId, WorldDatabase, and WorldLocation::WorldRelocate().
| CreatureData & ObjectMgr::NewOrExistCreatureData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8476 of file ObjectMgr.cpp.
References _creatureDataStore.
| GameObjectData & ObjectMgr::NewOrExistGameObjectData | ( | ObjectGuid::LowType | spawnId | ) |
Definition at line 8494 of file ObjectMgr.cpp.
References _gameObjectDataStore.
| void ObjectMgr::OnDeleteSpawnData | ( | SpawnData const * | data | ) |
Definition at line 2938 of file ObjectMgr.cpp.
References _spawnGroupDataStore, _spawnGroupMapStore, _spawnTrackingMapStore, ABORT_MSG, ASSERT, GetSpawnTrackingData(), SpawnGroupTemplateData::groupId, SPAWNGROUP_FLAG_SYSTEM, SpawnMetadata::spawnGroupData, SpawnMetadata::spawnId, SpawnMetadata::spawnTrackingData, SpawnTrackingTemplateData::SpawnTrackingId, SpawnMetadata::type, and UI64FMTD.
Referenced by DeleteCreatureData(), and DeleteGameObjectData().
| std::vector< Difficulty > ObjectMgr::ParseSpawnDifficulties | ( | std::string_view | difficultyString, |
| std::string_view | table, | ||
| ObjectGuid::LowType | spawnId, | ||
| uint32 | mapId, | ||
| std::set< Difficulty > const & | mapDifficulties | ||
| ) |
Definition at line 2091 of file ObjectMgr.cpp.
References DIFFICULTY_NONE, sDifficultyStore, sObjectMgr, Trinity::StringTo(), TC_LOG_ERROR, and Trinity::Tokenize().
Referenced by LoadCreatures(), and LoadGameObjects().
|
private |
Definition at line 3788 of file ObjectMgr.cpp.
References _playerInfo, PlayerInfo::item, Trinity::Containers::MapGetValuePtr(), and TC_LOG_ERROR.
Referenced by LoadPlayerInfo().
| void ObjectMgr::RemoveCreatureFromGrid | ( | CreatureData const * | data | ) |
Definition at line 2475 of file ObjectMgr.cpp.
Referenced by DeleteCreatureData().
| void ObjectMgr::RemoveGameobjectFromGrid | ( | GameObjectData const * | data | ) |
Definition at line 2980 of file ObjectMgr.cpp.
Referenced by DeleteGameObjectData().
|
private |
Definition at line 2455 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, _mapPersonalObjectGuidsStore, Trinity::ComputeGridCoord(), CoordPair< LIMIT >::GetId(), Position::GetPositionX(), Position::GetPositionY(), PhasingHandler::IsPersonalPhase(), SpawnMetadata::mapId, SpawnData::phaseId, SpawnData::spawnDifficulties, SpawnMetadata::spawnId, and SpawnData::spawnPoint.
Definition at line 9765 of file ObjectMgr.cpp.
References PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt8(), WORLD_DEL_NPC_VENDOR, and WorldDatabase.
| void ObjectMgr::ReturnOrDeleteOldMails | ( | bool | serverUp | ) |
Definition at line 6311 of file ObjectMgr.cpp.
References CHAR_DEL_EMPTY_EXPIRED_MAIL, 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, AzeriteEmpoweredItem::DeleteFromDB(), AzeriteItem::DeleteFromDB(), Item::DeleteFromDB(), Mail::deliver_time, Mail::expire_time, ObjectAccessor::FindConnectedPlayer(), Field::GetBool(), GameTime::GetGameTime(), Field::GetInt16(), Field::GetInt64(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), 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::setInt64(), PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), PreparedStatementBase::setUInt8(), and TC_LOG_INFO.
| bool ObjectMgr::SetCreatureLinkedRespawn | ( | ObjectGuid::LowType | guid, |
| ObjectGuid::LowType | linkedGuid | ||
| ) |
Definition at line 1952 of file ObjectMgr.cpp.
References _linkedRespawnStore, ASSERT, GetCreatureData(), SpawnData::id, MapEntry::Instanceable(), Trinity::Containers::Intersects(), LINKED_RESPAWN_CREATURE_TO_CREATURE, SpawnMetadata::mapId, PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), sMapStore, SpawnData::spawnDifficulties, TC_LOG_ERROR, WORLD_DEL_LINKED_RESPAWN, WORLD_REP_LINKED_RESPAWN, and WorldDatabase.
|
inline |
Definition at line 1517 of file ObjectMgr.h.
| void ObjectMgr::SetHighestGuids | ( | ) |
Definition at line 7308 of file ObjectMgr.cpp.
References _auctionId, _creatureSpawnId, _equipmentSetGuid, _gameObjectSpawnId, _mailId, CharacterDatabase, GetGuidSequenceGenerator(), Player, sArenaTeamMgr, ObjectGuidGenerator::Set(), sGroupMgr, sGuildMgr, Transport, and WorldDatabase.
| void ObjectMgr::UnloadPhaseConditions | ( | ) |
Definition at line 10279 of file ObjectMgr.cpp.
| void ObjectMgr::ValidateSpellScripts | ( | ) |
Definition at line 6042 of file ObjectMgr.cpp.
References _spellScriptsStore, DIFFICULTY_NONE, getMSTime(), GetMSTimeDiffToNow(), GetScriptName(), SpellInfo::Id, sScriptMgr, sSpellMgr, TC_LOG_ERROR, and TC_LOG_INFO.
|
friend |
Definition at line 963 of file ObjectMgr.h.
|
friend |
Definition at line 964 of file ObjectMgr.h.
|
private |
Definition at line 1708 of file ObjectMgr.h.
Referenced by GetAccessRequirement(), and LoadAccessRequirements().
|
private |
Definition at line 1707 of file ObjectMgr.h.
Referenced by GetAreaTriggerPolygon(), and LoadAreaTriggerPolygons().
|
private |
Definition at line 1706 of file ObjectMgr.h.
Referenced by LoadAreaTriggerScripts().
|
private |
Definition at line 1705 of file ObjectMgr.h.
Referenced by GetAreaTrigger(), GetGoBackTrigger(), GetMapEntranceTrigger(), and LoadAreaTriggerTeleports().
|
private |
Definition at line 1679 of file ObjectMgr.h.
Referenced by GenerateAuctionID(), and SetHighestGuids().
|
private |
Definition at line 1795 of file ObjectMgr.h.
Referenced by GetBaseXP(), and LoadExplorationBaseXP().
|
private |
Definition at line 1853 of file ObjectMgr.h.
|
private |
Definition at line 1811 of file ObjectMgr.h.
Referenced by GetCreatureAddon(), and LoadCreatureAddons().
|
private |
Definition at line 1782 of file ObjectMgr.h.
|
private |
Definition at line 1807 of file ObjectMgr.h.
Referenced by DeleteCreatureData(), LoadCreatures(), and NewOrExistCreatureData().
Definition at line 1855 of file ObjectMgr.h.
|
private |
Definition at line 1822 of file ObjectMgr.h.
Referenced by LoadCreatureLocales().
|
private |
Definition at line 1809 of file ObjectMgr.h.
Referenced by GetCreatureModelInfo(), and LoadCreatureModelInfo().
|
private |
Definition at line 1814 of file ObjectMgr.h.
Referenced by GetCreatureMovementOverride(), and LoadCreatureMovementOverrides().
|
private |
Definition at line 1818 of file ObjectMgr.h.
Referenced by GetCreatureQuestCurrencyList().
|
private |
Definition at line 1729 of file ObjectMgr.h.
Referenced by LoadCreatureQuestEnders().
|
private |
Definition at line 1730 of file ObjectMgr.h.
Referenced by LoadCreatureQuestEnders().
|
private |
Definition at line 1817 of file ObjectMgr.h.
Referenced by GetCreatureQuestItemList().
|
private |
Definition at line 1728 of file ObjectMgr.h.
Referenced by LoadCreatureQuestStarters().
|
private |
Definition at line 1683 of file ObjectMgr.h.
Referenced by GenerateCreatureSpawnId(), and SetHighestGuids().
|
private |
Definition at line 1819 of file ObjectMgr.h.
|
private |
Definition at line 1810 of file ObjectMgr.h.
Referenced by GetCreatureSummonedData(), and LoadCreatureSummonedData().
|
private |
Definition at line 1812 of file ObjectMgr.h.
Referenced by GetCreatureTemplateAddon(), and LoadCreatureTemplateAddons().
|
private |
Definition at line 1813 of file ObjectMgr.h.
Referenced by GetCreatureTemplateSparringValues(), and LoadCreatureTemplateSparring().
|
private |
Definition at line 1808 of file ObjectMgr.h.
Referenced by LoadCreatureTemplate(), LoadCreatureTemplateDifficulty(), LoadCreatureTemplateGossip(), LoadCreatureTemplateResistances(), LoadCreatureTemplates(), LoadCreatureTemplateSpells(), and LoadNPCSpellClickSpells().
|
private |
Definition at line 1825 of file ObjectMgr.h.
Referenced by LoadDestructibleHitpoints().
|
private |
Definition at line 1820 of file ObjectMgr.h.
Referenced by GetEquipmentInfo(), and LoadEquipmentTemplates().
|
private |
Definition at line 1680 of file ObjectMgr.h.
Referenced by GenerateEquipmentSetGuid(), and SetHighestGuids().
|
private |
Definition at line 1712 of file ObjectMgr.h.
Referenced by LoadEventScripts().
|
private |
Definition at line 1711 of file ObjectMgr.h.
Referenced by LoadEventSet().
|
private |
Definition at line 1732 of file ObjectMgr.h.
Referenced by LoadQuests().
|
private |
Definition at line 1798 of file ObjectMgr.h.
Referenced by GetFishingBaseSkillLevel().
|
private |
Definition at line 1815 of file ObjectMgr.h.
Referenced by GetGameObjectAddon(), and LoadGameObjectAddons().
|
private |
Definition at line 1823 of file ObjectMgr.h.
Referenced by DeleteGameObjectData(), LoadGameObjects(), and NewOrExistGameObjectData().
|
private |
Definition at line 1701 of file ObjectMgr.h.
|
private |
Definition at line 1824 of file ObjectMgr.h.
Referenced by LoadGameObjectLocales().
|
private |
Definition at line 1828 of file ObjectMgr.h.
Referenced by LoadGameObjectOverrides().
|
private |
Definition at line 1816 of file ObjectMgr.h.
|
private |
Definition at line 1684 of file ObjectMgr.h.
Referenced by GenerateGameObjectSpawnId(), and SetHighestGuids().
|
private |
Definition at line 1827 of file ObjectMgr.h.
Referenced by LoadGameObjectTemplateAddons().
|
private |
Definition at line 1826 of file ObjectMgr.h.
Referenced by LoadEventSet(), and LoadGameObjectTemplate().
|
private |
Definition at line 1738 of file ObjectMgr.h.
|
private |
Definition at line 1726 of file ObjectMgr.h.
Referenced by LoadGameobjectQuestEnders().
|
private |
Definition at line 1727 of file ObjectMgr.h.
Referenced by LoadGameobjectQuestEnders().
|
private |
Definition at line 1725 of file ObjectMgr.h.
Referenced by LoadGameobjectQuestStarters().
|
private |
Definition at line 1720 of file ObjectMgr.h.
|
private |
Definition at line 1846 of file ObjectMgr.h.
Referenced by LoadGossipMenuItemsLocales().
|
private |
Definition at line 1719 of file ObjectMgr.h.
|
private |
Definition at line 1718 of file ObjectMgr.h.
|
private |
Definition at line 1689 of file ObjectMgr.h.
Referenced by GetGuidSequenceGenerator().
|
private |
Definition at line 1682 of file ObjectMgr.h.
Referenced by GeneratePetNumber(), and LoadPetNumber().
|
private |
Definition at line 1832 of file ObjectMgr.h.
Referenced by LoadInstanceSpawnGroups().
|
private |
Definition at line 1753 of file ObjectMgr.h.
Referenced by GetInstanceTemplate(), and LoadInstanceTemplate().
|
private |
Definition at line 1840 of file ObjectMgr.h.
Referenced by GetItemTemplate(), and LoadItemTemplates().
|
private |
Definition at line 1865 of file ObjectMgr.h.
|
private |
Definition at line 1821 of file ObjectMgr.h.
Referenced by LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
|
private |
Definition at line 1681 of file ObjectMgr.h.
Referenced by GenerateMailID(), and SetHighestGuids().
|
private |
Definition at line 1780 of file ObjectMgr.h.
|
private |
Definition at line 1805 of file ObjectMgr.h.
Referenced by AddSpawnDataToGrid(), GetGridObjectGuids(), GetMapObjectGuids(), and RemoveSpawnDataFromGrid().
|
private |
Definition at line 1806 of file ObjectMgr.h.
Referenced by AddSpawnDataToGrid(), GetCellPersonalObjectGuids(), HasPersonalSpawns(), and RemoveSpawnDataFromGrid().
|
private |
Definition at line 1702 of file ObjectMgr.h.
Referenced by GetNpcText(), and LoadNPCText().
|
private |
Definition at line 1845 of file ObjectMgr.h.
Referenced by LoadPageTextLocales().
|
private |
Definition at line 1752 of file ObjectMgr.h.
Referenced by GetPageText(), and LoadPageTexts().
|
private |
Definition at line 1802 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1803 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1785 of file ObjectMgr.h.
Referenced by GetPetLevelInfo(), and LoadPetLevelInfo().
|
private |
Definition at line 1764 of file ObjectMgr.h.
|
private |
Definition at line 1762 of file ObjectMgr.h.
|
private |
Definition at line 1867 of file ObjectMgr.h.
|
private |
Definition at line 1849 of file ObjectMgr.h.
|
private |
Definition at line 1838 of file ObjectMgr.h.
|
private |
Definition at line 1789 of file ObjectMgr.h.
Referenced by BuildPlayerLevelInfo(), GetPlayerLevelInfo(), LoadPlayerInfo(), and PlayerCreateInfoAddItemHelper().
|
private |
Definition at line 1792 of file ObjectMgr.h.
Referenced by GetXPForLevel(), and LoadPlayerInfo().
|
private |
Definition at line 1847 of file ObjectMgr.h.
Referenced by LoadPointOfInterestLocales().
|
private |
Definition at line 1721 of file ObjectMgr.h.
Referenced by LoadPointsOfInterest().
|
private |
Definition at line 1699 of file ObjectMgr.h.
Referenced by LoadQuestAreaTriggers().
|
private |
Definition at line 1704 of file ObjectMgr.h.
Referenced by GetQuestGreetingLocale(), and LoadQuestGreetingLocales().
|
private |
Definition at line 1703 of file ObjectMgr.h.
Referenced by GetQuestGreeting(), and LoadQuestGreetings().
|
private |
Definition at line 1692 of file ObjectMgr.h.
Referenced by LoadQuestAreaTriggers(), and LoadQuests().
|
private |
Definition at line 1842 of file ObjectMgr.h.
Referenced by LoadQuestObjectivesLocale().
|
private |
Definition at line 1843 of file ObjectMgr.h.
Referenced by LoadQuestOfferRewardLocale().
|
private |
Definition at line 1723 of file ObjectMgr.h.
Referenced by LoadQuestPOI().
|
private |
Definition at line 1844 of file ObjectMgr.h.
Referenced by LoadQuestRequestItemsLocale().
|
private |
Definition at line 1841 of file ObjectMgr.h.
Referenced by LoadQuestTemplateLocale().
|
private |
Definition at line 1690 of file ObjectMgr.h.
Referenced by GetQuestTemplate(), LoadQuestRelationsHelper(), and LoadQuests().
|
private |
Definition at line 1691 of file ObjectMgr.h.
Referenced by LoadQuests().
|
private |
Definition at line 1857 of file ObjectMgr.h.
|
private |
Definition at line 1858 of file ObjectMgr.h.
|
private |
Definition at line 1715 of file ObjectMgr.h.
Referenced by LoadReputationOnKill().
|
private |
Definition at line 1714 of file ObjectMgr.h.
Referenced by LoadReputationRewardRate().
|
private |
Definition at line 1716 of file ObjectMgr.h.
Referenced by LoadReputationSpilloverTemplate().
|
private |
Definition at line 1736 of file ObjectMgr.h.
|
private |
Definition at line 1860 of file ObjectMgr.h.
|
private |
Definition at line 1740 of file ObjectMgr.h.
|
private |
Definition at line 1799 of file ObjectMgr.h.
Referenced by GetSkillTier().
|
private |
Definition at line 1829 of file ObjectMgr.h.
Referenced by LoadInstanceSpawnGroups(), LoadSpawnGroups(), LoadSpawnGroupTemplates(), and OnDeleteSpawnData().
|
private |
Definition at line 1831 of file ObjectMgr.h.
Referenced by LoadSpawnGroups(), and OnDeleteSpawnData().
Definition at line 1830 of file ObjectMgr.h.
Referenced by LoadSpawnGroups().
|
private |
Definition at line 1833 of file ObjectMgr.h.
|
private |
Definition at line 1834 of file ObjectMgr.h.
Referenced by OnDeleteSpawnData().
|
private |
Definition at line 1835 of file ObjectMgr.h.
|
private |
Definition at line 1742 of file ObjectMgr.h.
Referenced by LoadNPCSpellClickSpells(), and LoadVehicleTemplateAccessories().
|
private |
Definition at line 1744 of file ObjectMgr.h.
Referenced by LoadSpellScriptNames(), and ValidateSpellScripts().
|
private |
Definition at line 1700 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 1837 of file ObjectMgr.h.
Referenced by LoadTempSummons().
|
private |
Definition at line 1763 of file ObjectMgr.h.
|
private |
Definition at line 1765 of file ObjectMgr.h.
|
private |
Definition at line 1854 of file ObjectMgr.h.
|
private |
Definition at line 1869 of file ObjectMgr.h.
Referenced by LoadGameObjectTemplate().
|
private |
Definition at line 1851 of file ObjectMgr.h.
|
private |
Definition at line 1862 of file ObjectMgr.h.
|
private |
Definition at line 1863 of file ObjectMgr.h.
|
private |
Definition at line 1748 of file ObjectMgr.h.
Referenced by LoadVehicleAccessories().
|
private |
Definition at line 1870 of file ObjectMgr.h.
Referenced by LoadVehicleSeatAddon().
|
private |
Definition at line 1747 of file ObjectMgr.h.
Referenced by LoadVehicleTemplateAccessories().
|
private |
Definition at line 1746 of file ObjectMgr.h.
Referenced by LoadVehicleTemplate().
|
private |
Definition at line 1709 of file ObjectMgr.h.
Referenced by GetWorldSafeLoc(), GetWorldSafeLocs(), and LoadWorldSafeLocs().
|
private |
Definition at line 1750 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeAchievements |
Definition at line 1627 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeItemsAllianceToHorde |
Definition at line 1628 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeItemsHordeToAlliance |
Definition at line 1629 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeQuests |
Definition at line 1630 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeReputation |
Definition at line 1631 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeSpells |
Definition at line 1632 of file ObjectMgr.h.
| CharacterConversionMap ObjectMgr::FactionChangeTitles |
Definition at line 1633 of file ObjectMgr.h.
| GraveyardContainer ObjectMgr::GraveyardStore |
Definition at line 1605 of file ObjectMgr.h.
Referenced by AddGraveyardLink(), FindGraveyardData(), GetClosestGraveyardInZone(), and LoadGraveyardZones().