|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <ObjectMgr.h>
Public Types | |
| typedef UNORDERED_MAP< uint32, AccessRequirement * > | AccessRequirementContainer |
| typedef UNORDERED_MAP< uint32, AreaTriggerStruct > | AreaTriggerContainer |
| typedef UNORDERED_MAP< uint32, uint32 > | AreaTriggerScriptContainer |
| typedef std::map< uint32, uint32 > | CharacterConversionMap |
| typedef std::multimap< int32, uint32 > | ExclusiveQuestGroups |
| typedef std::pair< ExclusiveQuestGroups::const_iterator, ExclusiveQuestGroups::const_iterator > | ExclusiveQuestGroupsBounds |
| typedef UNORDERED_MAP< uint32, Item * > | ItemMap |
| typedef UNORDERED_MAP< uint32, PointOfInterest > | PointOfInterestContainer |
| typedef UNORDERED_MAP< uint32, Quest * > | QuestMap |
| typedef UNORDERED_MAP< uint32, ReputationOnKillEntry > | RepOnKillContainer |
| typedef UNORDERED_MAP< uint32, RepRewardRate > | RepRewardRateContainer |
| typedef UNORDERED_MAP< uint32, RepSpilloverTemplate > | RepSpilloverTemplateContainer |
| typedef std::vector< std::string > | ScriptNameContainer |
Static Public Member Functions | |
| static void | AddLocaleString (std::string const &s, LocaleConstant locale, StringVector &data) |
| static bool | CheckDeclinedNames (const std::wstring &w_ownname, DeclinedName const &names) |
| static PetNameInvalidReason | CheckPetName (std::string const &name) |
| static ResponseCodes | CheckPlayerName (std::string const &name, bool create=false) |
| static void | ChooseCreatureFlags (CreatureTemplate const *cinfo, uint32 &npcflag, uint32 &unit_flags, uint32 &dynamicflags, CreatureData const *data=NULL) |
| static uint32 | ChooseDisplayId (CreatureTemplate const *cinfo, CreatureData const *data=NULL) |
| static void | GetLocaleString (const StringVector &data, int loc_idx, std::string &value) |
| static bool | IsValidCharterName (std::string const &name) |
Private Member Functions | |
| void | BuildPlayerLevelInfo (uint8 race, uint8 class_, uint8 level, PlayerLevelInfo *plinfo) const |
| void | CheckScripts (ScriptsType type, std::set< int32 > &ids) |
| void | LoadQuestRelationsHelper (QuestRelations &map, std::string const &table, bool starter, bool go) |
| void | LoadScripts (ScriptsType type) |
| ObjectMgr () | |
| void | PlayerCreateInfoAddItemHelper (uint32 race_, uint32 class_, uint32 itemId, int32 count) |
| ~ObjectMgr () | |
Friends | |
| class | PlayerDumpReader |
| class | Skyfire::Singleton< ObjectMgr, Skyfire::NullMutex > |
Definition at line 710 of file ObjectMgr.h.
Definition at line 728 of file ObjectMgr.h.
Definition at line 724 of file ObjectMgr.h.
Definition at line 726 of file ObjectMgr.h.
|
private |
Definition at line 1559 of file ObjectMgr.h.
|
private |
Definition at line 1530 of file ObjectMgr.h.
|
private |
Definition at line 1531 of file ObjectMgr.h.
|
private |
Definition at line 1532 of file ObjectMgr.h.
|
private |
Definition at line 1533 of file ObjectMgr.h.
| typedef std::map<uint32, uint32> ObjectMgr::CharacterConversionMap |
Definition at line 738 of file ObjectMgr.h.
| typedef std::multimap<int32, uint32> ObjectMgr::ExclusiveQuestGroups |
Definition at line 1124 of file ObjectMgr.h.
| typedef std::pair<ExclusiveQuestGroups::const_iterator, ExclusiveQuestGroups::const_iterator> ObjectMgr::ExclusiveQuestGroupsBounds |
Definition at line 1125 of file ObjectMgr.h.
|
private |
Definition at line 1562 of file ObjectMgr.h.
|
private |
Definition at line 1476 of file ObjectMgr.h.
|
private |
Definition at line 1472 of file ObjectMgr.h.
|
private |
Definition at line 1565 of file ObjectMgr.h.
| typedef UNORDERED_MAP<uint32, Item*> ObjectMgr::ItemMap |
Definition at line 720 of file ObjectMgr.h.
|
private |
Definition at line 1548 of file ObjectMgr.h.
|
private |
Definition at line 1556 of file ObjectMgr.h.
Definition at line 734 of file ObjectMgr.h.
|
private |
Definition at line 1473 of file ObjectMgr.h.
| typedef UNORDERED_MAP<uint32, Quest*> ObjectMgr::QuestMap |
Definition at line 722 of file ObjectMgr.h.
Definition at line 731 of file ObjectMgr.h.
Definition at line 730 of file ObjectMgr.h.
Definition at line 732 of file ObjectMgr.h.
|
private |
Definition at line 1506 of file ObjectMgr.h.
| typedef std::vector<std::string> ObjectMgr::ScriptNameContainer |
Definition at line 736 of file ObjectMgr.h.
|
private |
Definition at line 1474 of file ObjectMgr.h.
|
private |
Definition at line 1475 of file ObjectMgr.h.
|
private |
| Enumerator | |
|---|---|
| CREATURE_TO_CREATURE | |
| CREATURE_TO_GO | |
| GO_TO_GO | |
| GO_TO_CREATURE | |
Definition at line 1603 of file ObjectMgr.h.
|
private |
Definition at line 259 of file ObjectMgr.cpp.
References _auctionId, _equipmentSetGuid, _hiAreaTriggerGuid, _hiCharGuid, _hiCorpseGuid, _hiCreatureGuid, _hiDoGuid, _hiGoGuid, _hiItemGuid, _hiMoTransGuid, _hiPetGuid, _hiPetNumber, _hiVehicleGuid, _itemTextId, _mailId, _playerInfo, _voidItemId, m_battlePetId, MAX_CLASSES, and MAX_RACES.
Referenced by PlayerDumpReader.
|
private |
Definition at line 283 of file ObjectMgr.cpp.
References _accessRequirementStore, _cacheTrainerSpellStore, _cacheVendorItemStore, _dungeonEncounterStore, _graveyardOrientations, _petInfoStore, _playerInfo, _questTemplates, MAX_CLASSES, and MAX_RACES.
| void ObjectMgr::AddCorpseCellData | ( | uint32 | mapid, |
| uint32 | cellid, | ||
| uint32 | player_guid, | ||
| uint32 | instance ) |
Definition at line 7201 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, CellObjectGuids::corpses, and MAKE_PAIR32().
| void ObjectMgr::AddCreatureToGrid | ( | uint32 | guid, |
| CreatureData const * | data ) |
Definition at line 1746 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Skyfire::ComputeCellCoord(), CellObjectGuids::creatures, CoordPair< LIMIT >::GetId(), MAKE_PAIR32(), CreatureData::mapid, CreatureData::posX, CreatureData::posY, and CreatureData::spawnMask.
Referenced by AddCreData(), LoadCreatures(), and MoveCreData().
| uint32 ObjectMgr::AddCreData | ( | uint32 | entry, |
| uint32 | team, | ||
| uint32 | map, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | o, | ||
| uint32 | spawntimedelay = 0 ) |
Definition at line 1858 of file ObjectMgr.cpp.
References AddCreatureToGrid(), CreatureData::curhealth, CreatureData::curmana, CreatureData::currentwaypoint, CreatureData::dbData, CreatureData::displayid, CreatureData::dynamicflags, CreatureTemplate::dynamicflags, CreatureData::equipmentId, CreatureBaseStats::GenerateHealth(), GenerateLowGuid(), CreatureBaseStats::GenerateMana(), GetCreatureBaseStats(), GetCreatureTemplate(), HIGHGUID_UNIT, CreatureData::id, Creature::LoadCreatureFromDB(), CreatureData::mapid, CreatureTemplate::maxlevel, CreatureTemplate::minlevel, CreatureTemplate::MovementType, CreatureData::movementType, NewOrExistCreatureData(), CreatureData::npcflag, CreatureTemplate::npcflag, CreatureData::orientation, CreatureData::phaseGroup, CreatureData::phaseid, CreatureData::posX, CreatureData::posY, CreatureData::posZ, SF_LOG_ERROR, sMapMgr, CreatureData::spawndist, CreatureData::spawnMask, CreatureData::spawntimesecs, CreatureTemplate::unit_class, CreatureData::unit_flags, and CreatureTemplate::unit_flags.
| void ObjectMgr::AddGameobjectToGrid | ( | uint32 | guid, |
| GameObjectData const * | data ) |
Definition at line 2083 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Skyfire::ComputeCellCoord(), CellObjectGuids::gameobjects, CoordPair< LIMIT >::GetId(), MAKE_PAIR32(), GameObjectData::mapid, GameObjectData::posX, GameObjectData::posY, and GameObjectData::spawnMask.
Referenced by AddGOData(), and LoadGameobjects().
| bool ObjectMgr::AddGameTele | ( | GameTele & | data | ) |
Definition at line 7887 of file ObjectMgr.cpp.
References _gameTeleStore, GameTele::mapId, GameTele::name, GameTele::orientation, GameTele::position_x, GameTele::position_y, GameTele::position_z, PreparedStatement::setFloat(), PreparedStatement::setString(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), Utf8toWStr(), GameTele::wnameLow, WORLD_INS_GAME_TELE, WorldDatabase, and wstrToLower().
| uint32 ObjectMgr::AddGOData | ( | uint32 | entry, |
| uint32 | map, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | o, | ||
| uint32 | spawntimedelay = 0, | ||
| float | rotation0 = 0, | ||
| float | rotation1 = 0, | ||
| float | rotation2 = 0, | ||
| float | rotation3 = 0 ) |
Definition at line 1774 of file ObjectMgr.cpp.
References AddGameobjectToGrid(), GameObjectData::animprogress, GameObjectData::artKit, GameObjectData::dbData, GAMEOBJECT_TYPE_CAPTURE_POINT, GenerateLowGuid(), GetGameObjectTemplate(), GameObjectData::go_state, GO_STATE_READY, HIGHGUID_GAMEOBJECT, GameObjectData::id, Map::Instanceable(), Map::IsGridLoaded(), GameObject::LoadGameObjectFromDB(), GameObjectData::mapid, NewGOData(), GameObjectData::orientation, GameObjectData::phaseGroup, GameObjectData::phaseid, GameObjectData::posX, GameObjectData::posY, GameObjectData::posZ, GameObjectData::rotation0, GameObjectData::rotation1, GameObjectData::rotation2, GameObjectData::rotation3, SF_LOG_DEBUG, SF_LOG_ERROR, sMapMgr, GameObjectData::spawnMask, GameObjectData::spawntimesecs, and GameObjectTemplate::type.
Definition at line 5848 of file ObjectMgr.cpp.
References FindGraveYardData(), GraveYardStore, GraveYardData::safeLocId, PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), GraveYardData::team, WORLD_INS_GRAVEYARD_ZONE, and WorldDatabase.
Referenced by LoadGraveyardZones().
|
static |
Definition at line 315 of file ObjectMgr.cpp.
Referenced by LoadCreatureLocales(), CreatureTextMgr::LoadCreatureTextLocales(), LoadGameObjectLocales(), LoadGossipMenuItemsLocales(), LoadItemLocales(), LoadNpcTextLocales(), LoadPageTextLocales(), LoadPointOfInterestLocales(), LoadQuestLocales(), LoadQuestObjectiveLocales(), AchievementGlobalMgr::LoadRewardLocales(), and LoadSkyFireStrings().
| void ObjectMgr::AddSpellToTrainer | ( | uint32 | entry, |
| uint32 | spell, | ||
| uint32 | spellCost, | ||
| uint32 | reqSkill, | ||
| uint32 | reqSkillValue, | ||
| uint32 | reqLevel ) |
Definition at line 8006 of file ObjectMgr.cpp.
References _cacheTrainerSpellStore, SpellEffectInfo::Effect, SpellInfo::Effects, GetCreatureTemplate(), GetTalentSpellCost(), SpellImplicitTargetInfo::GetTarget(), SpellInfo::IsProfession(), SpellMgr::IsSpellValid(), TrainerSpell::learnedSpell, MAX_SPELL_EFFECTS, CreatureTemplate::npcflag, TrainerSpell::reqLevel, TrainerSpell::reqSkill, TrainerSpell::reqSkillValue, SF_LOG_ERROR, SKYFIRE_TRAINER_START_REF, TrainerSpell::spell, SPELL_EFFECT_LEARN_SPELL, TrainerSpell::spellCost, SpellInfo::SpellLevel, TrainerSpellData::spellList, sSpellMgr, TARGET_UNIT_CASTER, TARGET_UNIT_TARGET_ALLY, TARGET_UNIT_TARGET_ANY, SpellEffectInfo::TargetA, TrainerSpellData::trainerType, SpellEffectInfo::TriggerSpell, and UNIT_NPC_FLAG_TRAINER.
Referenced by LoadTrainerSpell().
| void ObjectMgr::AddVendorItem | ( | uint32 | entry, |
| uint32 | item, | ||
| int32 | maxcount, | ||
| uint32 | incrtime, | ||
| uint32 | extendedCost, | ||
| uint8 | type, | ||
| bool | persist = true ) |
Definition at line 8317 of file ObjectMgr.cpp.
References _cacheVendorItemStore, VendorItemData::AddItem(), PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), WORLD_INS_NPC_VENDOR, and WorldDatabase.
| uint64 ObjectMgr::BattlePetGetNewId | ( | ) |
Definition at line 9387 of file ObjectMgr.cpp.
References ASSERT, and m_battlePetId.
Definition at line 9393 of file ObjectMgr.cpp.
References sBattlePetBreedXSpeciesStore.
Definition at line 9409 of file ObjectMgr.cpp.
References ITEM_QUALITY_NORMAL, and sBattlePetQualityXSpeciesStore.
|
private |
Definition at line 3604 of file ObjectMgr.cpp.
References _playerInfo, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_MONK, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, CLASS_WARRIOR, CONFIG_MAX_PLAYER_LEVEL, STAT_AGILITY, STAT_INTELLECT, STAT_SPIRIT, STAT_STAMINA, STAT_STRENGTH, PlayerLevelInfo::stats, and sWorld.
Referenced by GetPlayerLevelInfo().
| void ObjectMgr::CheckCreatureTemplate | ( | CreatureTemplate const * | cInfo | ) |
if not set custom creature scale then load scale from CreatureDisplayInfo.dbc
Definition at line 644 of file ObjectMgr.cpp.
References _difficultyEntries, Creature::_GetDamageMod(), _hasDifficultyEntries, CreatureTemplate::AIName, BASE_ATTACK_TIME, CreatureTemplate::baseattacktime, CLASSMASK_ALL_CREATURES, CREATURE_FAMILY_HORSE_CUSTOM, CREATURE_FLAG_EXTRA_DB_ALLOWED, CREATURE_MAX_SPELLS, CREATURE_TYPE_HUMANOID, CURRENT_CONTENT_EXP, DEFAULT_MAX_LEVEL, CreatureTemplate::DifficultyEntry, CreatureTemplate::dmgschool, CreatureTemplate::Entry, CreatureTemplate::expansion, CreatureTemplate::expansionUnknown, CreatureTemplate::faction_A, CreatureTemplate::faction_H, CreatureTemplate::family, CreatureTemplate::flags_extra, GetCreatureModelInfo(), GetCreatureTemplate(), CreatureTemplate::GossipMenuId, CreatureTemplate::HoverHeight, IDLE_MOTION_TYPE, INHABIT_ANYWHERE, CreatureTemplate::InhabitType, CreatureTemplate::KillCredit, MAX_DB_MOTION_TYPE, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, MAX_TRAINER_TYPE, CreatureTemplate::maxlevel, CreatureTemplate::minlevel, CreatureTemplate::Modelid1, CreatureTemplate::Modelid2, CreatureTemplate::Modelid3, CreatureTemplate::Modelid4, CreatureTemplate::ModLevel, CreatureTemplate::MovementType, CreatureTemplate::npcflag, CreatureTemplate::PetSpellDataId, CreatureTemplate::rangeattacktime, CreatureTemplate::rank, CreatureDisplayInfoEntry::scale, CreatureTemplate::scale, sCreatureDisplayInfoStore, sCreatureFamilyStore, sCreatureSpellDataStore, sCreatureTypeStore, CreatureTemplate::ScriptID, SF_LOG_ERROR, sFactionTemplateStore, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_NORMAL, CreatureTemplate::spells, sSpellMgr, sVehicleStore, CreatureTemplate::trainer_class, CreatureTemplate::trainer_race, CreatureTemplate::trainer_type, CreatureTemplate::type, CreatureTemplate::unit_class, UNIT_CLASS_WARRIOR, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_TRAINER, and CreatureTemplate::VehicleId.
Referenced by LoadCreatureTemplates().
|
static |
Definition at line 7703 of file ObjectMgr.cpp.
References GetMainPartOfName(), MAX_DECLINED_NAME_CASES, DeclinedName::name, and Utf8toWStr().
Referenced by WorldSession::HandleSetPlayerDeclinedNames().
|
static |
Definition at line 7479 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().
|
static |
Definition at line 7436 of file ObjectMgr.cpp.
References CHAR_NAME_INVALID_CHARACTER, CHAR_NAME_MIXED_LANGUAGES, CHAR_NAME_SUCCESS, CHAR_NAME_THREE_CONSECUTIVE, CHAR_NAME_TOO_LONG, CHAR_NAME_TOO_SHORT, CONFIG_MIN_PLAYER_NAME, CONFIG_STRICT_PLAYER_NAMES, isValidString(), MAX_PLAYER_NAME, sWorld, Utf8toWStr(), and wstrToLower().
Referenced by character_commandscript::HandleCharacterRenameCommand(), WorldSession::HandleCharCreateOpcode(), WorldSession::HandleCharCustomize(), WorldSession::HandleCharFactionOrRaceChange(), WorldSession::HandleCharRenameOpcode(), character_commandscript::HandlePDumpLoadCommand(), PlayerDumpReader::LoadDump(), and Player::LoadFromDB().
|
private |
Definition at line 8512 of file ObjectMgr.cpp.
References GetScriptsMapByType(), GetScriptsTableNameByType(), GetSkyFireStringLocale(), SCRIPT_COMMAND_TALK, and SF_LOG_ERROR.
Referenced by LoadDbScriptStrings().
|
static |
Definition at line 1186 of file ObjectMgr.cpp.
References CreatureData::dynamicflags, CreatureTemplate::dynamicflags, CreatureTemplate::Entry, CreatureData::npcflag, CreatureTemplate::npcflag, CreatureData::unit_flags, CreatureTemplate::unit_flags, and UNIT_NPC_FLAG_WILDPET_CAPTURABLE.
Referenced by Creature::UpdateEntry().
|
static |
Definition at line 1177 of file ObjectMgr.cpp.
References CreatureData::displayid, and CreatureTemplate::GetRandomValidModelId().
Referenced by GameEventMgr::ChangeEquipOrModel(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraMounted(), AuraEffect::HandleAuraTransform(), Creature::InitEntry(), and SmartScript::ProcessAction().
Definition at line 7208 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, CellObjectGuids::corpses, and MAKE_PAIR32().
| void ObjectMgr::DeleteCreatureData | ( | uint32 | guid | ) |
Definition at line 7181 of file ObjectMgr.cpp.
References _creatureDataStore, GetCreatureData(), and RemoveCreatureFromGrid().
| bool ObjectMgr::DeleteGameTele | ( | std::string const & | name | ) |
Definition at line 7920 of file ObjectMgr.cpp.
References _gameTeleStore, PreparedStatement::setString(), Utf8toWStr(), WORLD_DEL_GAME_TELE, WorldDatabase, and wstrToLower().
| void ObjectMgr::DeleteGOData | ( | uint32 | guid | ) |
Definition at line 7191 of file ObjectMgr.cpp.
References _gameObjectDataStore, GetGOData(), and RemoveGameobjectFromGrid().
| GraveYardData const * ObjectMgr::FindGraveYardData | ( | uint32 | id, |
| uint32 | zone ) |
Definition at line 5823 of file ObjectMgr.cpp.
References Skyfire::AreaTable::GetRootZoneId(), GraveYardStore, and GraveYardData::safeLocId.
Referenced by AddGraveYardLink().
| uint32 ObjectMgr::GenerateAuctionID | ( | ) |
Definition at line 6190 of file ObjectMgr.cpp.
References _auctionId, ERROR_EXIT_CODE, SF_LOG_ERROR, and World::StopNow().
| uint64 ObjectMgr::GenerateEquipmentSetGuid | ( | ) |
Definition at line 6200 of file ObjectMgr.cpp.
References _equipmentSetGuid, ERROR_EXIT_CODE, SF_LOG_ERROR, and World::StopNow().
Definition at line 6220 of file ObjectMgr.cpp.
References _hiAreaTriggerGuid, _hiCharGuid, _hiCorpseGuid, _hiCreatureGuid, _hiDoGuid, _hiGoGuid, _hiItemGuid, _hiMoTransGuid, _hiPetGuid, _hiVehicleGuid, ASSERT, HIGHGUID_AREATRIGGER, HIGHGUID_CORPSE, HIGHGUID_DYNAMICOBJECT, HIGHGUID_GAMEOBJECT, HIGHGUID_ITEM, HIGHGUID_MO_TRANSPORT, HIGHGUID_PET, HIGHGUID_PLAYER, HIGHGUID_UNIT, and HIGHGUID_VEHICLE.
Referenced by AddCreData(), and AddGOData().
| uint32 ObjectMgr::GenerateMailID | ( | ) |
Definition at line 6210 of file ObjectMgr.cpp.
References _mailId, ERROR_EXIT_CODE, SF_LOG_ERROR, and World::StopNow().
| std::string ObjectMgr::GeneratePetName | ( | uint32 | entry | ) |
Definition at line 6642 of file ObjectMgr.cpp.
References _petHalfName0, _petHalfName1, CreatureTemplate::family, GetCreatureTemplate(), GetPetName(), CreatureTemplate::Name, and sWorld.
| uint32 ObjectMgr::GeneratePetNumber | ( | ) |
Definition at line 6663 of file ObjectMgr.cpp.
References _hiPetNumber, ERROR_EXIT_CODE, SF_LOG_ERROR, and World::StopNow().
| uint64 ObjectMgr::GenerateVoidStorageItemId | ( | ) |
Definition at line 6673 of file ObjectMgr.cpp.
References _voidItemId, ERROR_EXIT_CODE, SF_LOG_ERROR, and World::StopNow().
|
inline |
Definition at line 840 of file ObjectMgr.h.
References _accessRequirementStore, and MAKE_PAIR32().
|
inline |
Definition at line 1413 of file ObjectMgr.h.
References _archaeologyFindStore.
|
inline |
Definition at line 1083 of file ObjectMgr.h.
References _phases.
|
inline |
Definition at line 1092 of file ObjectMgr.h.
References _phases.
|
inline |
Definition at line 832 of file ObjectMgr.h.
References _areaTriggerStore.
Definition at line 7727 of file ObjectMgr.cpp.
References _areaTriggerScriptStore.
| int32 ObjectMgr::GetBaseReputationOf | ( | FactionEntry const * | factionEntry, |
| uint8 | race, | ||
| uint8 | playerClass ) |
Definition at line 7741 of file ObjectMgr.cpp.
References FactionEntry::BaseRepClassMask, FactionEntry::BaseRepRaceMask, and FactionEntry::BaseRepValue.
Definition at line 6586 of file ObjectMgr.cpp.
References _baseXPTable.
|
inline |
Definition at line 1142 of file ObjectMgr.h.
References _mapObjectGuidsStore, and MAKE_PAIR32().
| WorldSafeLocsEntry const * ObjectMgr::GetClosestGraveYard | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint32 | MapId, | ||
| uint32 | team ) |
Definition at line 5688 of file ObjectMgr.cpp.
References MapEntry::entrance_map, MapEntry::entrance_x, MapEntry::entrance_y, GetDefaultGraveYard(), Skyfire::AreaTable::GetRootZoneId(), GraveYardStore, MapEntry::IsBattlegroundOrArena(), WorldSafeLocsEntry::map_id, GraveYardData::safeLocId, SF_LOG_ERROR, sMapMgr, sMapStore, sWorldSafeLocsStore, GraveYardData::team, WorldSafeLocsEntry::x, WorldSafeLocsEntry::y, and WorldSafeLocsEntry::z.
| CreatureAddon const * ObjectMgr::GetCreatureAddon | ( | uint32 | lowguid | ) |
Definition at line 1053 of file ObjectMgr.cpp.
References _creatureAddonStore.
| CreatureBaseStats const * ObjectMgr::GetCreatureBaseStats | ( | uint8 | level, |
| uint8 | unitClass ) |
Definition at line 8570 of file ObjectMgr.cpp.
References _creatureBaseStatsStore, MAKE_PAIR16(), and MAX_CREATURE_BASE_HP.
Referenced by AddCreData().
|
inline |
Definition at line 1170 of file ObjectMgr.h.
References _creatureDataStore.
Referenced by DeleteCreatureData(), LoadCreatureAddons(), LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
|
inline |
Definition at line 1184 of file ObjectMgr.h.
References _creatureLocaleStore.
| CreatureModelInfo const * ObjectMgr::GetCreatureModelInfo | ( | uint32 | modelId | ) |
Definition at line 1168 of file ObjectMgr.cpp.
References _creatureModelStore.
Referenced by CheckCreatureTemplate(), and GetCreatureModelRandomGender().
| CreatureModelInfo const * ObjectMgr::GetCreatureModelRandomGender | ( | uint32 * | displayID | ) |
Definition at line 1208 of file ObjectMgr.cpp.
References GetCreatureModelInfo(), CreatureModelInfo::modelid_other_gender, and SF_LOG_ERROR.
Referenced by GetTaxiMountDisplayId().
|
inline |
Definition at line 958 of file ObjectMgr.h.
References _creatureQuestInvolvedRelations.
|
inline |
Definition at line 963 of file ObjectMgr.h.
References _creatureQuestInvolvedRelationsReverse.
|
inline |
Definition at line 953 of file ObjectMgr.h.
References _creatureQuestRelations.
|
inline |
Definition at line 948 of file ObjectMgr.h.
References _creatureQuestRelations.
| CreatureTemplate const * ObjectMgr::GetCreatureTemplate | ( | uint32 | entry | ) |
Definition at line 9095 of file ObjectMgr.cpp.
References _creatureTemplateStore.
Referenced by AddCreData(), AddSpellToTrainer(), CheckCreatureTemplate(), GeneratePetName(), GetTaxiMountDisplayId(), LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadCreatures(), LoadInstanceEncounters(), LoadMailLevelRewards(), LoadNPCSpellClickSpells(), LoadQuestObjectives(), LoadReputationOnKill(), LoadScripts(), and LoadTempSummons().
| CreatureAddon const * ObjectMgr::GetCreatureTemplateAddon | ( | uint32 | entry | ) |
Definition at line 1062 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore.
|
inline |
Definition at line 749 of file ObjectMgr.h.
References _creatureTemplateStore.
|
inline |
Definition at line 1251 of file ObjectMgr.h.
References DBCLocaleIndex.
| WorldSafeLocsEntry const * ObjectMgr::GetDefaultGraveYard | ( | uint32 | team | ) |
Definition at line 5673 of file ObjectMgr.cpp.
References ALLIANCE, HORDE, and sWorldSafeLocsStore.
Referenced by GetClosestGraveYard().
|
inline |
Definition at line 1067 of file ObjectMgr.h.
References _terrainMapDefaultStore.
|
inline |
Definition at line 1082 of file ObjectMgr.h.
References _terrainMapDefaultStore.
|
inline |
Definition at line 1091 of file ObjectMgr.h.
References _terrainMapDefaultStore.
|
inline |
Definition at line 900 of file ObjectMgr.h.
References _dungeonEncounterStore, MAKE_PAIR32(), and UNORDERED_MAP.
| EquipmentInfo const * ObjectMgr::GetEquipmentInfo | ( | uint32 | entry, |
| int8 & | id ) |
Definition at line 1071 of file ObjectMgr.cpp.
References _equipmentInfoStore.
Referenced by LoadCreatures().
Definition at line 1106 of file ObjectMgr.h.
References _fishingBaseForAreaStore.
|
inline |
Definition at line 1190 of file ObjectMgr.h.
References _gameObjectLocaleStore.
| GameObjectTemplate const * ObjectMgr::GetGameObjectTemplate | ( | uint32 | entry | ) |
Definition at line 9086 of file ObjectMgr.cpp.
References _gameObjectTemplateStore.
Referenced by AddGOData(), LoadArchaeologyFindInfo(), LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), LoadGameobjects(), LoadQuestObjectives(), LoadScripts(), and LoadTempSummons().
|
inline |
Definition at line 743 of file ObjectMgr.h.
References _gameObjectTemplateStore, and GetGameObjectTemplates().
Referenced by GetGameObjectTemplates().
| GameTele const * ObjectMgr::GetGameTele | ( | std::string const & | name | ) | const |
Definition at line 7845 of file ObjectMgr.cpp.
References _gameTeleStore, Utf8toWStr(), GameTele::wnameLow, and wstrToLower().
Definition at line 1277 of file ObjectMgr.h.
References _gameTeleStore.
| GameTele const * ObjectMgr::GetGameTeleExactName | ( | std::string const & | name | ) | const |
Definition at line 7868 of file ObjectMgr.cpp.
References _gameTeleStore, Utf8toWStr(), and wstrToLower().
|
inline |
Definition at line 1285 of file ObjectMgr.h.
References _gameTeleStore.
| AreaTriggerStruct const * ObjectMgr::GetGoBackTrigger | ( | uint32 | Map | ) | const |
Definition at line 6082 of file ObjectMgr.cpp.
References _areaTriggerStore, MapEntry::entrance_map, MapEntry::IsInstance(), AreaTriggerEntry::mapid, InstanceTemplate::Parent, sAreaTriggerStore, sMapStore, and sObjectMgr.
|
inline |
Definition at line 1234 of file ObjectMgr.h.
References _gameObjectDataStore.
Referenced by DeleteGOData(), LoadLinkedRespawn(), and LoadScripts().
|
inline |
Definition at line 938 of file ObjectMgr.h.
References _goQuestInvolvedRelations.
|
inline |
Definition at line 943 of file ObjectMgr.h.
References _goQuestInvolvedRelationsReverse.
|
inline |
Definition at line 933 of file ObjectMgr.h.
References _goQuestRelations.
|
inline |
Definition at line 928 of file ObjectMgr.h.
References _goQuestRelations.
|
inline |
Definition at line 1220 of file ObjectMgr.h.
References _gossipMenuItemsLocaleStore.
|
inline |
Definition at line 1340 of file ObjectMgr.h.
References _gossipMenuItemsStore.
|
inline |
Definition at line 1344 of file ObjectMgr.h.
References _gossipMenuItemsStore.
|
inline |
Definition at line 1330 of file ObjectMgr.h.
References _gossipMenusStore.
|
inline |
Definition at line 1335 of file ObjectMgr.h.
References _gossipMenusStore.
| GossipText const * ObjectMgr::GetGossipText | ( | uint32 | Text_ID | ) | const |
Definition at line 5082 of file ObjectMgr.cpp.
References _gossipTextStore.
Referenced by LoadGossipMenu().
|
inline |
Definition at line 1307 of file ObjectMgr.h.
References _graveyardOrientations.
|
inline |
Definition at line 1374 of file ObjectMgr.h.
References _hotfixData.
Definition at line 1375 of file ObjectMgr.h.
References _hotfixData.
| InstanceTemplate const * ObjectMgr::GetInstanceTemplate | ( | uint32 | mapId | ) |
Definition at line 4978 of file ObjectMgr.cpp.
References _instanceTemplateStore.
|
inline |
Definition at line 1196 of file ObjectMgr.h.
References _itemLocaleStore.
| ItemTemplate const * ObjectMgr::GetItemTemplate | ( | uint32 | entry | ) |
Definition at line 2809 of file ObjectMgr.cpp.
References _itemTemplateStore.
Referenced by LoadAccessRequirements(), LoadBattlePetItemToSpeciesData(), LoadFactionChangeItems(), LoadItemScriptNames(), LoadItemTemplateAddon(), LoadItemTemplates(), LoadPlayerCreateItemsData(), LoadQuestObjectives(), and LoadScripts().
|
inline |
Definition at line 758 of file ObjectMgr.h.
References _itemTemplateStore.
Definition at line 1178 of file ObjectMgr.h.
References _linkedRespawnStore.
|
inlinestatic |
Definition at line 1353 of file ObjectMgr.h.
Referenced by GossipMenu::AddMenuItem(), AuctionHouseObject::BuildListAuctionItems(), AchievementMgr< Guild >::CompletedAchievement(), LuaGlobalFunctions::GetItemLink(), LuaItem::GetItemLink(), CreatureTextMgr::GetLocalizedChatString(), WorldSession::HandleCreatureQueryOpcode(), WorldSession::HandleGameObjectQueryOpcode(), WorldSession::HandlePageTextQueryOpcode(), Player::PrepareGossipMenu(), PlayerMenu::SendGossipMenu(), PlayerMenu::SendPointOfInterest(), Player::SendPreparedQuest(), Player::SendQuestConfirmAccept(), PlayerMenu::SendQuestGiverOfferReward(), PlayerMenu::SendQuestGiverQuestDetails(), PlayerMenu::SendQuestGiverQuestList(), PlayerMenu::SendQuestGiverRequestItems(), PlayerMenu::SendQuestQueryResponse(), and DB2Utilities::WriteItemSparseDbReply().
|
inline |
Definition at line 1129 of file ObjectMgr.h.
References _mailLevelRewardStore.
| AreaTriggerStruct const * ObjectMgr::GetMapEntranceTrigger | ( | uint32 | Map | ) | const |
Searches for the areatrigger which teleports players to the given map
Definition at line 6115 of file ObjectMgr.cpp.
References _areaTriggerStore, and sAreaTriggerStore.
|
inline |
Definition at line 1147 of file ObjectMgr.h.
References _mapObjectGuidsStore, and MAKE_PAIR32().
Definition at line 5515 of file ObjectMgr.cpp.
References ALLIANCE, TaxiNodesEntry::map_id, TaxiNodesEntry::MountCreatureID, sTaxiNodesMask, sTaxiNodesStore, TaxiNodesEntry::x, TaxiNodesEntry::y, and TaxiNodesEntry::z.
|
inline |
Definition at line 1208 of file ObjectMgr.h.
References _npcTextLocaleStore.
|
inline |
Definition at line 1289 of file ObjectMgr.h.
References _cacheTrainerSpellStore.
|
inline |
Definition at line 1298 of file ObjectMgr.h.
References _cacheVendorItemStore.
Referenced by IsVendorItemValid().
Definition at line 4903 of file ObjectMgr.cpp.
References _pageTextStore.
Referenced by LoadGameObjectTemplate().
|
inline |
Definition at line 1214 of file ObjectMgr.h.
References _pageTextLocaleStore.
| PetLevelInfo const * ObjectMgr::GetPetLevelInfo | ( | uint32 | creature_id, |
| uint8 | level ) const |
Definition at line 3003 of file ObjectMgr.cpp.
References _petInfoStore, CONFIG_MAX_PLAYER_LEVEL, and sWorld.
|
inline |
Definition at line 1077 of file ObjectMgr.h.
References _phases.
|
inline |
Definition at line 1085 of file ObjectMgr.h.
References _phases.
|
inline |
Definition at line 1062 of file ObjectMgr.h.
References _terrainPhaseInfoStore.
|
inline |
Definition at line 1090 of file ObjectMgr.h.
References _terrainPhaseInfoStore.
Definition at line 2181 of file ObjectMgr.cpp.
References CHAR_SEL_ACCOUNT_BY_GUID, CharacterDatabase, ObjectAccessor::FindPlayer(), GUID_LOPART(), and PreparedStatement::setUInt32().
| uint32 ObjectMgr::GetPlayerAccountIdByPlayerName | ( | std::string const & | name | ) | const |
Definition at line 2204 of file ObjectMgr.cpp.
References CHAR_SEL_ACCOUNT_BY_NAME, CharacterDatabase, and PreparedStatement::setString().
Definition at line 2111 of file ObjectMgr.cpp.
References ObjectAccessor::FindPlayer(), HIGHGUID_PLAYER, and MAKE_NEW_GUID().
| void ObjectMgr::GetPlayerClassLevelInfo | ( | uint32 | class_, |
| uint8 | level, | ||
| uint32 & | baseHP, | ||
| uint32 & | baseMana ) const |
Definition at line 3568 of file ObjectMgr.cpp.
References CONFIG_MAX_PLAYER_LEVEL, GT_MAX_LEVEL, MAX_CLASSES, GtOCTBaseHPByClassEntry::ratio, GtOCTBaseMPByClassEntry::ratio, SF_LOG_ERROR, sGtOCTBaseHPByClassStore, sGtOCTBaseMPByClassStore, and sWorld.
| uint64 ObjectMgr::GetPlayerGUIDByName | ( | std::string const & | name | ) | const |
Definition at line 2118 of file ObjectMgr.cpp.
References CHAR_SEL_GUID_BY_NAME, CharacterDatabase, HIGHGUID_PLAYER, MAKE_NEW_GUID(), and PreparedStatement::setString().
| PlayerInfo const * ObjectMgr::GetPlayerInfo | ( | uint32 | race, |
| uint32 | class_ ) const |
Definition at line 9121 of file ObjectMgr.cpp.
References _playerInfo, MAX_CLASSES, and MAX_RACES.
| void ObjectMgr::GetPlayerLevelInfo | ( | uint32 | race, |
| uint32 | class_, | ||
| uint8 | level, | ||
| PlayerLevelInfo * | info ) const |
Definition at line 3589 of file ObjectMgr.cpp.
References _playerInfo, BuildPlayerLevelInfo(), CONFIG_MAX_PLAYER_LEVEL, PlayerInfo::levelInfo, MAX_CLASSES, and MAX_RACES.
| bool ObjectMgr::GetPlayerNameByGUID | ( | uint64 | guid, |
| std::string & | name ) const |
Retrieves the player name by guid.
If the player is online, the name is retrieved immediately otherwise a database query is done.
| guid | player full guid |
| name | returned name |
Definition at line 2134 of file ObjectMgr.cpp.
References CHAR_SEL_CHARACTER_NAME, CharacterDatabase, ObjectAccessor::FindPlayer(), GUID_LOPART(), and PreparedStatement::setUInt32().
Definition at line 2158 of file ObjectMgr.cpp.
References CHAR_SEL_CHAR_RACE, CharacterDatabase, ObjectAccessor::FindPlayer(), GUID_LOPART(), PreparedStatement::setUInt32(), and Player::TeamForRace().
|
inline |
Definition at line 882 of file ObjectMgr.h.
References _pointsOfInterestStore.
Referenced by LoadGossipMenuItems().
|
inline |
Definition at line 1226 of file ObjectMgr.h.
References _pointOfInterestLocaleStore.
Definition at line 802 of file ObjectMgr.h.
References _questAreaTriggerStore.
|
inline |
Definition at line 1202 of file ObjectMgr.h.
References _questLocaleStore.
| QuestObjectiveLocale const * ObjectMgr::GetQuestObjectiveLocale | ( | uint32 | objectiveId | ) | const |
Definition at line 9708 of file ObjectMgr.cpp.
References m_questObjectiveLocaleStore.
Definition at line 9725 of file ObjectMgr.cpp.
References m_questObjectiveLookup.
Referenced by LoadQuestObjectiveVisualEffects().
|
inline |
Definition at line 890 of file ObjectMgr.h.
References _questPOIStore.
Definition at line 794 of file ObjectMgr.h.
References _questTemplates.
Referenced by LoadAccessRequirements(), LoadQuestAreaTriggers(), LoadQuestObjectiveVisualEffects(), LoadQuests(), and LoadScripts().
|
inline |
Definition at line 800 of file ObjectMgr.h.
References _questTemplates.
|
inline |
Definition at line 1426 of file ObjectMgr.h.
References _archaeologyFindStore, and Skyfire::Containers::SelectRandomContainerElement().
|
inline |
Definition at line 854 of file ObjectMgr.h.
References _repRewardRateStore.
|
inline |
Definition at line 873 of file ObjectMgr.h.
References _repSpilloverTemplateStore.
|
inline |
Definition at line 863 of file ObjectMgr.h.
References _repOnKillStore.
|
inline |
Definition at line 1394 of file ObjectMgr.h.
References _researchDigsiteStore.
|
inline |
Definition at line 1404 of file ObjectMgr.h.
References _researchDigsiteStore.
|
inline |
Definition at line 1438 of file ObjectMgr.h.
References _researchProjectRequirementStore.
| SceneTemplate const * ObjectMgr::GetSceneTemplate | ( | uint32 | sceneId | ) | const |
Definition at line 9762 of file ObjectMgr.cpp.
References _sceneTemplateStore.
| uint32 ObjectMgr::GetScriptId | ( | const char * | name | ) |
Definition at line 8498 of file ObjectMgr.cpp.
References _scriptNamesStore.
Referenced by LoadAreaTriggerScripts(), LoadCreatureTemplates(), LoadGameObjectTemplate(), LoadItemScriptNames(), and LoadSpellScriptNames().
|
inline |
Definition at line 1322 of file ObjectMgr.h.
References _scriptNamesStore.
Referenced by ValidateSpellScripts().
|
inline |
Definition at line 1321 of file ObjectMgr.h.
References _scriptNamesStore.
| const char * ObjectMgr::GetSkyFireString | ( | int32 | entry, |
| LocaleConstant | locale_idx ) const |
Definition at line 7650 of file ObjectMgr.cpp.
References DEFAULT_LOCALE, GetSkyFireStringLocale(), and SF_LOG_ERROR.
Referenced by GetSkyFireStringForDBCLocale().
|
inline |
Definition at line 1250 of file ObjectMgr.h.
References DBCLocaleIndex, and GetSkyFireString().
|
inline |
Definition at line 1243 of file ObjectMgr.h.
References _SkyfireStringLocaleStore.
Referenced by CheckScripts(), GetSkyFireString(), and LoadDbScriptStrings().
|
inline |
Definition at line 1325 of file ObjectMgr.h.
References _spellClickInfoStore.
| SpellScriptsBounds ObjectMgr::GetSpellScriptsBounds | ( | uint32 | spellId | ) |
Definition at line 7735 of file ObjectMgr.cpp.
References _spellScriptsStore.
|
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 1161 of file ObjectMgr.h.
References _tempSummonDataStore.
| TavernRestArea const * ObjectMgr::GetTavernRestArea | ( | uint32 | triggerId | ) | const |
Definition at line 5456 of file ObjectMgr.cpp.
References _tavernRestAreaStore.
| TavernRestArea const * ObjectMgr::GetTavernRestAreaAtPosition | ( | uint32 | mapId, |
| float | x, | ||
| float | y, | ||
| float | z ) const |
Definition at line 5470 of file ObjectMgr.cpp.
References _tavernRestAreaStore, and IsInTavernRestArea().
Definition at line 5579 of file ObjectMgr.cpp.
References ALLIANCE, GetCreatureModelRandomGender(), GetCreatureTemplate(), CreatureTemplate::GetRandomValidModelId(), TaxiNodesEntry::MountCreatureID, SF_LOG_ERROR, and sTaxiNodesStore.
Definition at line 5555 of file ObjectMgr.cpp.
References sTaxiPathSetBySource.
Definition at line 1072 of file ObjectMgr.h.
References _terrainWorldMapStore.
| VehicleAccessoryList const * ObjectMgr::GetVehicleAccessoryList | ( | Vehicle * | veh | ) | const |
Definition at line 9104 of file ObjectMgr.cpp.
References _vehicleAccessoryStore, _vehicleTemplateAccessoryStore, Vehicle::GetBase(), Vehicle::GetCreatureEntry(), and Object::ToCreature().
Definition at line 6591 of file ObjectMgr.cpp.
References _playerXPperLevel.
|
inline |
Definition at line 818 of file ObjectMgr.h.
References _gameObjectForQuestStore.
| bool ObjectMgr::IsInTavernRestArea | ( | TavernRestArea const & | restArea, |
| uint32 | mapId, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | padding = 0.0f ) const |
Definition at line 5465 of file ObjectMgr.cpp.
References Skyfire::Rest::IsInsideInnArea().
Referenced by GetTavernRestAreaAtPosition().
| bool ObjectMgr::IsReservedName | ( | std::string const & | name | ) | const |
Definition at line 7352 of file ObjectMgr.cpp.
References _reservedNamesStore, Utf8toWStr(), and wstrToLower().
|
inline |
Definition at line 810 of file ObjectMgr.h.
References _tavernAreaTriggerStore.
Referenced by LoadTavernAreaTriggers().
|
static |
Definition at line 7461 of file ObjectMgr.cpp.
References CONFIG_MIN_CHARTER_NAME, CONFIG_STRICT_CHARTER_NAMES, isValidString(), MAX_CHARTER_NAME, sWorld, and Utf8toWStr().
Referenced by WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionRenameOpcode(), and Guild::SetName().
| bool ObjectMgr::IsValidPlayerCreateClass | ( | uint32 | currentClass | ) |
Definition at line 3139 of file ObjectMgr.cpp.
References MAX_CLASSES.
Referenced by LoadPlayerCreateActionData(), LoadPlayerCreateItemsData(), LoadPlayerCreateLevelStatsData(), and LoadPlayerInfo().
| bool ObjectMgr::IsValidPlayerCreateRace | ( | uint32 | currentRace | ) |
Definition at line 3131 of file ObjectMgr.cpp.
References MAX_RACES.
Referenced by LoadPlayerCreateActionData(), LoadPlayerCreateItemsData(), LoadPlayerCreateLevelStatsData(), and LoadPlayerInfo().
| bool ObjectMgr::IsVendorItemValid | ( | uint32 | vendor_entry, |
| uint32 | id, | ||
| int32 | maxcount, | ||
| uint32 | ptime, | ||
| uint32 | ExtendedCost, | ||
| uint8 | type, | ||
| Player * | player = NULL, | ||
| std::set< uint32 > * | skip_vendors = NULL, | ||
| uint32 | ORnpcflag = 0 ) const |
Definition at line 8360 of file ObjectMgr.cpp.
References VendorItemData::FindItemCostPair(), GetNpcVendorItemList(), Player::GetSession(), 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, CreatureTemplate::npcflag, ChatHandler::PSendSysMessage(), sCurrencyTypesStore, ChatHandler::SendSysMessage(), SF_LOG_ERROR, sItemExtendedCostStore, sObjectMgr, and UNIT_NPC_FLAG_VENDOR.
Referenced by LoadReferenceVendor(), and LoadVendors().
| void ObjectMgr::LoadAccessRequirements | ( | ) |
Definition at line 5982 of file ObjectMgr.cpp.
References _accessRequirementStore, AccessRequirement::achievement, GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), AccessRequirement::iLvl, AccessRequirement::item, AccessRequirement::item2, AccessRequirement::levelMax, AccessRequirement::levelMin, MAKE_PAIR32(), AccessRequirement::quest_A, AccessRequirement::quest_H, AccessRequirement::questFailedText, sAchievementMgr, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadArchaeologyFindInfo | ( | ) |
Definition at line 9174 of file ObjectMgr.cpp.
References _archaeologyFindStore, Field::GetFloat(), GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), ArchaeologyFindInfo::goEntry, ArchaeologyFindInfo::guid, SF_LOG_ERROR, SF_LOG_INFO, sResearchSiteStore, WorldDatabase, ArchaeologyFindInfo::x, ArchaeologyFindInfo::y, and ArchaeologyFindInfo::z.
| void ObjectMgr::LoadAreaPhases | ( | ) |
Definition at line 9008 of file ObjectMgr.cpp.
References _phases, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), PhaseInfoStruct::id, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerScripts | ( | ) |
Definition at line 5479 of file ObjectMgr.cpp.
References _areaTriggerScriptStore, Field::GetCString(), getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetUInt32(), sAreaTriggerStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadAreaTriggerTeleports | ( | ) |
Definition at line 5924 of file ObjectMgr.cpp.
References _areaTriggerStore, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), sAreaTriggerStore, SF_LOG_ERROR, SF_LOG_INFO, sMapStore, AreaTriggerStruct::target_mapId, AreaTriggerStruct::target_Orientation, AreaTriggerStruct::target_X, AreaTriggerStruct::target_Y, AreaTriggerStruct::target_Z, and WorldDatabase.
| void ObjectMgr::LoadBattlePetBreedData | ( | ) |
Definition at line 9261 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt8(), sBattlePetBreedSet, sBattlePetBreedXSpeciesStore, sBattlePetSpeciesStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadBattlePetItemToSpeciesData | ( | ) |
Definition at line 9345 of file ObjectMgr.cpp.
References GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), sBattlePetItemXSpeciesStore, sBattlePetSpeciesStore, SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadBattlePetQualityData | ( | ) |
Definition at line 9303 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt8(), ITEM_QUALITY_LEGENDARY, sBattlePetQualityXSpeciesStore, sBattlePetSpeciesStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCorpses | ( | ) |
Definition at line 6683 of file ObjectMgr.cpp.
References CHAR_SEL_CORPSES, CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Corpse::LoadCorpseFromDB(), MAX_CORPSE_TYPE, SF_LOG_ERROR, SF_LOG_INFO, and sObjectAccessor.
| void ObjectMgr::LoadCreatureAddons | ( | ) |
Definition at line 973 of file ObjectMgr.cpp.
References _creatureAddonStore, CreatureAddon::auras, Tokenizer::begin(), CreatureAddon::bytes1, CreatureAddon::bytes2, CreatureAddon::emote, Tokenizer::end(), GetCreatureData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SpellInfo::HasAura(), IDLE_MOTION_TYPE, CreatureAddon::mount, CreatureData::movementType, CreatureAddon::path_id, sCreatureDisplayInfoStore, sEmotesStore, SF_LOG_ERROR, SF_LOG_INFO, Tokenizer::size(), SPELL_AURA_CONTROL_VEHICLE, sSpellMgr, WAYPOINT_MOTION_TYPE, and WorldDatabase.
| void ObjectMgr::LoadCreatureClassLevelStats | ( | ) |
Definition at line 8591 of file ObjectMgr.cpp.
References _creatureBaseStatsStore, CreatureBaseStats::BaseArmor, CreatureBaseStats::BaseHealth, CreatureBaseStats::BaseMana, CLASSMASK_ALL_CREATURES, Field::GetInt8(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAKE_PAIR16(), MAX_CREATURE_BASE_HP, SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadCreatureLocales | ( | ) |
Definition at line 353 of file ObjectMgr.cpp.
References _creatureLocaleStore, AddLocaleString(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), CreatureLocale::Name, SF_LOG_INFO, CreatureLocale::SubName, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadCreatureModelInfo | ( | ) |
Definition at line 1231 of file ObjectMgr.cpp.
References _creatureModelStore, CreatureModelInfo::bounding_radius, CreatureModelInfo::combat_reach, DEFAULT_COMBAT_REACH, CreatureModelInfo::gender, GENDER_MALE, GENDER_NONE, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), CreatureModelInfo::modelid_other_gender, sCreatureDisplayInfoStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadCreatureQuestEnders | ( | ) |
Definition at line 7300 of file ObjectMgr.cpp.
References _creatureQuestInvolvedRelations, GetCreatureTemplate(), LoadQuestRelationsHelper(), CreatureTemplate::npcflag, SF_LOG_ERROR, and UNIT_NPC_FLAG_QUESTGIVER.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadCreatureQuestStarters | ( | ) |
Definition at line 7286 of file ObjectMgr.cpp.
References _creatureQuestRelations, GetCreatureTemplate(), LoadQuestRelationsHelper(), CreatureTemplate::npcflag, SF_LOG_ERROR, and UNIT_NPC_FLAG_QUESTGIVER.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadCreatures | ( | ) |
Definition at line 1597 of file ObjectMgr.cpp.
References _creatureDataStore, _difficultyEntries, AddCreatureToGrid(), CREATURE_FLAG_EXTRA_INSTANCE_BIND, CreatureData::curhealth, CreatureData::curmana, CreatureData::currentwaypoint, CreatureData::displayid, CreatureData::dynamicflags, CreatureData::equipmentId, CreatureTemplate::flags_extra, GetCreatureTemplate(), GetEquipmentInfo(), Field::GetFloat(), Field::GetInt8(), GetMapDifficultyData(), getMSTime(), GetMSTimeDiffToNow(), GetPhasesForGroup(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), CreatureData::id, IDLE_MOTION_TYPE, MapEntry::IsInstance(), CreatureData::mapid, CreatureData::movementType, CreatureData::npcflag, CreatureData::orientation, CreatureData::phaseGroup, CreatureData::phaseid, CreatureData::posX, CreatureData::posY, CreatureData::posZ, RANDOM_MOTION_TYPE, SF_LOG_ERROR, SF_LOG_INFO, sMapStore, CreatureData::spawndist, CreatureData::spawnMask, CreatureData::spawntimesecs, CreatureData::unit_flags, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplateAddons | ( | ) |
Definition at line 571 of file ObjectMgr.cpp.
References _creatureTemplateAddonStore, CreatureAddon::auras, Tokenizer::begin(), CreatureAddon::bytes1, CreatureAddon::bytes2, CreatureAddon::emote, Tokenizer::end(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SpellInfo::HasAura(), CreatureAddon::mount, CreatureAddon::path_id, sCreatureDisplayInfoStore, sEmotesStore, SF_LOG_ERROR, SF_LOG_INFO, Tokenizer::size(), sObjectMgr, SPELL_AURA_CONTROL_VEHICLE, sSpellMgr, and WorldDatabase.
| void ObjectMgr::LoadCreatureTemplates | ( | ) |
Definition at line 437 of file ObjectMgr.cpp.
References _creatureTemplateStore, CreatureTemplate::AIName, CreatureTemplate::attackpower, CreatureTemplate::baseattacktime, CheckCreatureTemplate(), CREATURE_MAX_SPELLS, CreatureTemplate::DifficultyEntry, CreatureTemplate::dmg_multiplier, CreatureTemplate::dmgschool, CreatureTemplate::dynamicflags, CreatureTemplate::Entry, CreatureTemplate::expansion, CreatureTemplate::expansionUnknown, CreatureTemplate::faction_A, CreatureTemplate::faction_H, CreatureTemplate::family, CreatureTemplate::flags_extra, Field::GetBool(), Field::GetFloat(), Field::GetInt16(), Field::GetInt8(), getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetString(), Field::GetUInt32(), CreatureTemplate::GossipMenuId, CreatureTemplate::HoverHeight, CreatureTemplate::IconName, CreatureTemplate::InhabitType, CreatureTemplate::KillCredit, CreatureTemplate::lootid, MAX_CREATURE_QUEST_ITEMS, MAX_KILL_CREDIT, MAX_SPELL_SCHOOL, CreatureTemplate::maxdmg, CreatureTemplate::maxgold, CreatureTemplate::maxlevel, CreatureTemplate::maxrangedmg, CreatureTemplate::MechanicImmuneMask, CreatureTemplate::mindmg, CreatureTemplate::mingold, CreatureTemplate::minlevel, CreatureTemplate::minrangedmg, CreatureTemplate::ModArmor, CreatureTemplate::Modelid1, CreatureTemplate::Modelid2, CreatureTemplate::Modelid3, CreatureTemplate::Modelid4, CreatureTemplate::ModHealth, CreatureTemplate::ModLevel, CreatureTemplate::ModMana, CreatureTemplate::ModManaExtra, CreatureTemplate::movementId, CreatureTemplate::MovementType, CreatureTemplate::Name, CreatureTemplate::npcflag, CreatureTemplate::PetSpellDataId, CreatureTemplate::pickpocketLootId, CreatureTemplate::questItems, CreatureTemplate::RacialLeader, CreatureTemplate::rangeattacktime, CreatureTemplate::rangedattackpower, CreatureTemplate::rank, CreatureTemplate::RegenHealth, CreatureTemplate::resistance, CreatureTemplate::scale, CreatureTemplate::ScriptID, SF_LOG_INFO, CreatureTemplate::SkinLootId, CreatureTemplate::speed_run, CreatureTemplate::speed_walk, SPELL_SCHOOL_HOLY, CreatureTemplate::spells, CreatureTemplate::SubName, CreatureTemplate::trainer_class, CreatureTemplate::trainer_race, CreatureTemplate::trainer_type, CreatureTemplate::type, CreatureTemplate::type_flags, CreatureTemplate::type_flags2, CreatureTemplate::unit_class, CreatureTemplate::unit_flags, CreatureTemplate::unit_flags2, UNIT_NPC_FLAG_WILDPET_CAPTURABLE, CreatureTemplate::VehicleId, and WorldDatabase.
| void ObjectMgr::LoadDbScriptStrings | ( | ) |
Definition at line 8539 of file ObjectMgr.cpp.
References CheckScripts(), GetSkyFireStringLocale(), LoadSkyFireStrings(), MAX_DB_SCRIPT_STRING_ID, MIN_DB_SCRIPT_STRING_ID, SCRIPTS_EVENT, SCRIPTS_SPELL, SCRIPTS_WAYPOINT, and SF_LOG_ERROR.
| void ObjectMgr::LoadEquipmentTemplates | ( | ) |
Definition at line 1097 of file ObjectMgr.cpp.
References _equipmentInfoStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), ItemEntry::InventoryType, INVTYPE_2HWEAPON, INVTYPE_HOLDABLE, INVTYPE_RANGED, INVTYPE_RANGEDRIGHT, INVTYPE_SHIELD, INVTYPE_THROWN, INVTYPE_WEAPON, INVTYPE_WEAPONMAINHAND, INVTYPE_WEAPONOFFHAND, EquipmentInfo::ItemEntry, MAX_EQUIPMENT_ITEMS, SF_LOG_ERROR, SF_LOG_INFO, sItemStore, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadEventScripts | ( | ) |
Definition at line 4670 of file ObjectMgr.cpp.
References TaxiPathNodeEntry::arrivalEventID, TaxiPathNodeEntry::departureEventID, LoadScripts(), MAX_SPELL_EFFECTS, SCRIPTS_EVENT, sEventScripts, SF_LOG_ERROR, sObjectMgr, SPELL_EFFECT_SEND_EVENT, sSpellMgr, and sTaxiPathNodesByPath.
| void ObjectMgr::LoadExplorationBaseXP | ( | ) |
Definition at line 6560 of file ObjectMgr.cpp.
References _baseXPTable, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeAchievements | ( | ) |
Definition at line 8649 of file ObjectMgr.cpp.
References FactionChangeAchievements, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sAchievementMgr, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeItems | ( | ) |
Definition at line 8683 of file ObjectMgr.cpp.
References FactionChangeItems, GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeQuests | ( | ) |
Definition at line 8717 of file ObjectMgr.cpp.
References FactionChangeQuests, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeReputations | ( | ) |
Definition at line 8751 of file ObjectMgr.cpp.
References FactionChangeReputation, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeSpells | ( | ) |
Definition at line 8817 of file ObjectMgr.cpp.
References FactionChangeSpells, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, sSpellMgr, and WorldDatabase.
| void ObjectMgr::LoadFactionChangeTitles | ( | ) |
Definition at line 8851 of file ObjectMgr.cpp.
References FactionChangeTitles, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), sCharTitlesStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadFishingBaseSkillLevel | ( | ) |
Definition at line 7667 of file ObjectMgr.cpp.
References _fishingBaseForAreaStore, GetAreaEntryByAreaID(), Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGameObjectForQuests | ( | ) |
Definition at line 7499 of file ObjectMgr.cpp.
References _gameObjectForQuestStore, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_GENERIC, GAMEOBJECT_TYPE_GOOBER, getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Gameobject, SF_LOG_INFO, and sObjectMgr.
| void ObjectMgr::LoadGameObjectLocales | ( | ) |
Definition at line 6280 of file ObjectMgr.cpp.
References _gameObjectLocaleStore, AddLocaleString(), GameObjectLocale::CastBarCaption, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), GameObjectLocale::Name, SF_LOG_INFO, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadGameobjectQuestEnders | ( | ) |
Definition at line 7272 of file ObjectMgr.cpp.
References _goQuestInvolvedRelations, GAMEOBJECT_TYPE_QUESTGIVER, GetGameObjectTemplate(), LoadQuestRelationsHelper(), SF_LOG_ERROR, and GameObjectTemplate::type.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadGameobjectQuestStarters | ( | ) |
Definition at line 7258 of file ObjectMgr.cpp.
References _goQuestRelations, GAMEOBJECT_TYPE_QUESTGIVER, GetGameObjectTemplate(), LoadQuestRelationsHelper(), SF_LOG_ERROR, and GameObjectTemplate::type.
Referenced by LoadQuestStartersAndEnders().
| void ObjectMgr::LoadGameobjects | ( | ) |
Definition at line 1912 of file ObjectMgr.cpp.
References _gameObjectDataStore, AddGameobjectToGrid(), GameObjectData::animprogress, GameObjectData::artKit, GameObjectTemplate::displayId, GameObjectTemplate::entry, GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_TRANSPORT, GAMEOBJECT_TYPE_TRAP, LegacyTransport::GetAllowedSpawnMask(), Field::GetFloat(), GetGameObjectTemplate(), Field::GetInt32(), Field::GetInt8(), GetMapDifficultyData(), getMSTime(), GetMSTimeDiffToNow(), GetPhasesForGroup(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), GameObjectData::go_state, GO_STATE_ACTIVE, GO_STATE_ACTIVE_ALTERNATIVE, GO_STATE_READY, GO_STATE_TRANSPORT_ACTIVE, GO_STATE_TRANSPORT_STOPPED, GameObjectData::id, GameObjectTemplate::IsDespawnAtAction(), MapManager::IsValidMapCoord(), LegacyTransport::LogMissingAnimationData(), LegacyTransport::LogRegisteredSpawn(), GameObjectData::mapid, GameObjectData::orientation, GameObjectData::phaseGroup, GameObjectData::phaseid, GameObjectData::posX, GameObjectData::posY, GameObjectData::posZ, GameObjectData::rotation0, GameObjectData::rotation1, GameObjectData::rotation2, GameObjectData::rotation3, SF_LOG_ERROR, SF_LOG_INFO, sGameObjectDisplayInfoStore, sMapStore, GameObjectData::spawnMask, GameObjectData::spawntimesecs, sTransportMgr, GameObjectTemplate::type, and WorldDatabase.
| void ObjectMgr::LoadGameObjectTemplate | ( | ) |
Definition at line 6372 of file ObjectMgr.cpp.
References _gameObjectTemplateStore, GameObjectTemplate::AIName, GameObjectTemplate::areadamage, GameObjectTemplate::barberChair, GameObjectTemplate::button, GameObjectTemplate::camera, GameObjectTemplate::castBarCaption, GameObjectTemplate::chair, GameObjectTemplate::chairheight, CheckAndFixGOChairHeightId(), CheckGOConsumable(), CheckGOLinkedTrapId(), CheckGOLockId(), CheckGONoDamageImmuneId(), CheckGOSpellId(), GameObjectTemplate::chest, GameObjectTemplate::consumable, GameObjectTemplate::data, GameObjectTemplate::displayId, GameObjectTemplate::door, GameObjectTemplate::entry, GameObjectTemplate::faction, GameObjectTemplate::fishinghole, GameObjectTemplate::flagdrop, GameObjectTemplate::flags, GameObjectTemplate::flagstand, GameObjectTemplate::focusId, GAMEOBJECT_TYPE_AREADAMAGE, GAMEOBJECT_TYPE_BARBER_CHAIR, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_CAMERA, GAMEOBJECT_TYPE_CHAIR, GAMEOBJECT_TYPE_CHEST, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FLAGDROP, GAMEOBJECT_TYPE_FLAGSTAND, GAMEOBJECT_TYPE_GOOBER, GAMEOBJECT_TYPE_MO_TRANSPORT, GAMEOBJECT_TYPE_QUESTGIVER, GAMEOBJECT_TYPE_SPELL_FOCUS, GAMEOBJECT_TYPE_SPELLCASTER, GAMEOBJECT_TYPE_SUMMONING_RITUAL, GAMEOBJECT_TYPE_TRAP, Field::GetFloat(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), GetPageText(), GetScriptId(), Field::GetString(), Field::GetUInt32(), GameObjectTemplate::goober, GameObjectTemplate::height, GameObjectTemplate::IconName, GameObjectTemplate::linkedTrapId, GameObjectTemplate::lockId, MAX_GAMEOBJECT_DATA, MAX_GAMEOBJECT_QUEST_ITEMS, GameObjectTemplate::moTransport, GameObjectTemplate::name, GameObjectTemplate::noDamageImmune, GameObjectTemplate::pageId, GameObjectTemplate::questgiver, GameObjectTemplate::questItems, GameObjectTemplate::raw, GameObjectTemplate::ScriptId, SF_LOG_ERROR, SF_LOG_INFO, GameObjectTemplate::size, GameObjectTemplate::spellcaster, GameObjectTemplate::spellFocus, GameObjectTemplate::spellId, sSpellFocusObjectStore, sTaxiPathNodesByPath, GameObjectTemplate::taxiPathId, GameObjectTemplate::trap, GameObjectTemplate::type, GameObjectTemplate::unk1, GameObjectTemplate::unkInt32, and WorldDatabase.
| void ObjectMgr::LoadGameTele | ( | ) |
Definition at line 7791 of file ObjectMgr.cpp.
References _gameTeleStore, 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, SF_LOG_ERROR, SF_LOG_INFO, Utf8toWStr(), GameTele::wnameLow, WorldDatabase, and wstrToLower().
| void ObjectMgr::LoadGossipMenu | ( | ) |
Definition at line 8214 of file ObjectMgr.cpp.
References _gossipMenusStore, GossipMenus::entry, GetGossipText(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, GossipMenus::text_id, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItems | ( | ) |
Definition at line 8259 of file ObjectMgr.cpp.
References _gossipMenuItemsStore, GossipMenuItems::ActionMenuID, GossipMenuItems::ActionPoiID, GossipMenuItems::BoxBroadcastTextID, GossipMenuItems::BoxCoded, GossipMenuItems::BoxMoney, GossipMenuItems::BoxText, Field::GetBool(), SkyFire::Gossip::GetGossipMenuOptionLoadQuery(), getMSTime(), GetMSTimeDiffToNow(), GetPointOfInterest(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), GOSSIP_ICON_CHAT, GOSSIP_ICON_MAX, GOSSIP_OPTION_MAX, GossipMenuItems::MenuID, GossipMenuItems::OptionBroadcastTextID, GossipMenuItems::OptionIcon, GossipMenuItems::OptionID, GossipMenuItems::OptionNpcflag, GossipMenuItems::OptionText, GossipMenuItems::OptionType, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipMenuItemsLocales | ( | ) |
Definition at line 383 of file ObjectMgr.cpp.
References _gossipMenuItemsLocaleStore, AddLocaleString(), GossipMenuItemsLocale::BoxText, SkyFire::Gossip::GetGossipMenuOptionLocaleLoadQuery(), GetLocaleByName(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), MAKE_PAIR32(), GossipMenuItemsLocale::OptionText, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadGossipText | ( | ) |
Definition at line 5090 of file ObjectMgr.cpp.
References QEmote::_Delay, QEmote::_Emote, _gossipTextStore, GossipTextOption::Emotes, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), GossipTextOption::Language, MAX_GOSSIP_TEXT_EMOTES, MAX_GOSSIP_TEXT_OPTIONS, GossipText::Options, GossipTextOption::Probability, SF_LOG_ERROR, SF_LOG_INFO, GossipTextOption::Text_0, GossipTextOption::Text_1, and WorldDatabase.
| void ObjectMgr::LoadGraveyardOrientations | ( | ) |
Definition at line 326 of file ObjectMgr.cpp.
References _graveyardOrientations, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, sWorldSafeLocsStore, and WorldDatabase.
| void ObjectMgr::LoadGraveyardZones | ( | ) |
Definition at line 5619 of file ObjectMgr.cpp.
References AddGraveYardLink(), ALLIANCE, GetAreaEntryByAreaID(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), GraveYardStore, HORDE, SF_LOG_ERROR, SF_LOG_INFO, sWorldSafeLocsStore, and WorldDatabase.
| void ObjectMgr::LoadHotfixData | ( | ) |
Definition at line 8785 of file ObjectMgr.cpp.
References _hotfixData, HotfixInfo::Entry, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), SF_LOG_INFO, HotfixInfo::Timestamp, HotfixInfo::Type, and WorldDatabase.
| void ObjectMgr::LoadInstanceEncounters | ( | ) |
Definition at line 4987 of file ObjectMgr.cpp.
References _dungeonEncounterStore, CREATURE_FLAG_EXTRA_DUNGEON_BOSS, DungeonEncounterEntry::difficulty, DIFFICULTY_NONE, ENCOUNTER_CREDIT_CAST_SPELL, ENCOUNTER_CREDIT_KILL_CREATURE, DungeonEncounterEntry::encounterName, GetCreatureTemplate(), GetMapDifficultyData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MAKE_PAIR32(), DungeonEncounterEntry::mapId, sDungeonEncounterStore, SF_LOG_ERROR, SF_LOG_INFO, sLFGMgr, sSpellMgr, and WorldDatabase.
| void ObjectMgr::LoadInstanceTemplate | ( | ) |
Definition at line 4938 of file ObjectMgr.cpp.
References _instanceTemplateStore, InstanceTemplate::AllowMount, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), MapManager::IsValidMAP(), InstanceTemplate::Parent, InstanceTemplate::ScriptId, SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadItemLocales | ( | ) |
Definition at line 2221 of file ObjectMgr.cpp.
References _itemLocaleStore, AddLocaleString(), ItemLocale::Description, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), ItemLocale::Name, SF_LOG_INFO, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadItemScriptNames | ( | ) |
Definition at line 2784 of file ObjectMgr.cpp.
References _itemTemplateStore, GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetScriptId(), Field::GetUInt32(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadItemTemplateAddon | ( | ) |
Definition at line 2747 of file ObjectMgr.cpp.
References _itemTemplateStore, ItemTemplate::FlagsCu, ItemTemplate::FoodType, Field::GetFloat(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), ItemTemplate::MaxMoneyLoot, ItemTemplate::MinMoneyLoot, SF_LOG_ERROR, SF_LOG_INFO, ItemTemplate::SpellPPMRate, and WorldDatabase.
| void ObjectMgr::LoadItemTemplates | ( | ) |
Definition at line 2442 of file ObjectMgr.cpp.
References _itemTemplateStore, ItemSparseEntry::AllowableClass, ItemTemplate::AllowableClass, ItemSparseEntry::AllowableRace, ItemTemplate::AllowableRace, ItemSparseEntry::Area, ItemTemplate::Area, ItemSparseEntry::ArmorDamageModifier, ItemTemplate::ArmorDamageModifier, ItemSparseEntry::BagFamily, ItemTemplate::BagFamily, ItemSparseEntry::Bonding, ItemTemplate::Bonding, ItemSparseEntry::BuyCount, ItemTemplate::BuyCount, ItemSparseEntry::BuyPrice, ItemTemplate::BuyPrice, ItemEntry::Class, ItemTemplate::Class, _Socket::Color, ItemSparseEntry::Color, ItemSparseEntry::ContainerSlots, ItemTemplate::ContainerSlots, _Socket::Content, ItemSparseEntry::Content, ItemSparseEntry::CurrencySubstitutionCount, ItemTemplate::CurrencySubstitutionCount, ItemSparseEntry::CurrencySubstitutionId, ItemTemplate::CurrencySubstitutionId, ItemTemplate::DamageMax, ItemTemplate::DamageMin, ItemSparseEntry::DamageType, ItemTemplate::DamageType, ItemSparseEntry::Delay, ItemTemplate::Delay, ItemSparseEntry::Description, ItemTemplate::Description, ItemTemplate::DisenchantID, ItemEntry::DisplayId, ItemTemplate::DisplayInfoID, ItemTemplate::DPS, ItemSparseEntry::Duration, ItemTemplate::Duration, FillDisenchantFields(), FillItemDamageFields(), FillMaxDurability(), ItemSparseEntry::Flags, ItemTemplate::Flags, ItemSparseEntry::Flags2, ItemTemplate::Flags2, ItemSparseEntry::Flags3, ItemTemplate::Flags3, ItemTemplate::FoodType, ItemSparseEntry::GemProperties, ItemTemplate::GemProperties, Field::GetFloat(), Field::GetInt32(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), ItemSparseEntry::HolidayId, ItemTemplate::HolidayId, ItemEntry::InventoryType, ItemSparseEntry::InventoryType, ItemTemplate::InventoryType, CharStartOutfitEntry::ItemId, ItemTemplate::ItemId, ItemSparseEntry::ItemLevel, ItemTemplate::ItemLevel, ItemSparseEntry::ItemLimitCategory, ItemTemplate::ItemLimitCategory, ItemSparseEntry::ItemSet, ItemTemplate::ItemSet, ItemTemplate::ItemStat, _ItemStat::ItemStatType, ItemSparseEntry::ItemStatType, _ItemStat::ItemStatUnk1, ItemSparseEntry::ItemStatUnk1, _ItemStat::ItemStatUnk2, ItemSparseEntry::ItemStatUnk2, _ItemStat::ItemStatValue, ItemSparseEntry::ItemStatValue, ItemSparseEntry::LanguageID, ItemTemplate::LanguageID, ItemSparseEntry::LockID, ItemTemplate::LockID, ItemSparseEntry::Map, ItemTemplate::Map, ItemSparseEntry::Material, ItemTemplate::Material, MAX_ITEM_PROTO_SOCKETS, MAX_ITEM_PROTO_SPELLS, MAX_ITEM_PROTO_STATS, MAX_OUTFIT_ITEMS, ItemSparseEntry::MaxCount, ItemTemplate::MaxCount, ItemTemplate::MaxDurability, ItemTemplate::MaxMoneyLoot, ItemTemplate::MinMoneyLoot, ItemSparseEntry::Name, ItemTemplate::Name1, ItemSparseEntry::PageMaterial, ItemTemplate::PageMaterial, ItemSparseEntry::PageText, ItemTemplate::PageText, ItemSparseEntry::Quality, ItemTemplate::Quality, ItemSparseEntry::RandomProperty, ItemTemplate::RandomProperty, ItemSparseEntry::RandomSuffix, ItemTemplate::RandomSuffix, ItemSparseEntry::RangedModRange, ItemTemplate::RangedModRange, ItemSparseEntry::RequiredCityRank, ItemTemplate::RequiredCityRank, ItemTemplate::RequiredDisenchantSkill, ItemSparseEntry::RequiredHonorRank, ItemTemplate::RequiredHonorRank, ItemSparseEntry::RequiredLevel, ItemTemplate::RequiredLevel, ItemSparseEntry::RequiredReputationFaction, ItemTemplate::RequiredReputationFaction, ItemSparseEntry::RequiredReputationRank, ItemTemplate::RequiredReputationRank, ItemSparseEntry::RequiredSkill, ItemTemplate::RequiredSkill, ItemSparseEntry::RequiredSkillRank, ItemTemplate::RequiredSkillRank, ItemSparseEntry::RequiredSpell, ItemTemplate::RequiredSpell, ItemSparseEntry::ScalingStatDistribution, ItemTemplate::ScalingStatDistribution, sCharStartOutfitStore, ItemTemplate::ScriptId, ItemSparseEntry::SellPrice, ItemTemplate::SellPrice, SF_LOG_ERROR, SF_LOG_INFO, ItemSparseEntry::Sheath, ItemTemplate::Sheath, sItemSparseStore, sItemStore, ItemTemplate::Socket, ItemSparseEntry::SocketBonus, ItemTemplate::socketBonus, ItemEntry::SoundOverrideSubclass, ItemTemplate::SoundOverrideSubclass, _Spell::SpellCategory, ItemSparseEntry::SpellCategory, _Spell::SpellCategoryCooldown, ItemSparseEntry::SpellCategoryCooldown, _Spell::SpellCharges, ItemSparseEntry::SpellCharges, _Spell::SpellCooldown, ItemSparseEntry::SpellCooldown, _Spell::SpellId, ItemSparseEntry::SpellId, ItemTemplate::SpellPPMRate, ItemTemplate::Spells, _Spell::SpellTrigger, ItemSparseEntry::SpellTrigger, ItemSparseEntry::Stackable, ItemTemplate::Stackable, ItemSparseEntry::StartQuest, ItemTemplate::StartQuest, ItemSparseEntry::StatScalingFactor, ItemTemplate::StatScalingFactor, LocalizedString::Str, ItemEntry::SubClass, ItemTemplate::SubClass, sWorld, ItemSparseEntry::TotemCategory, ItemTemplate::TotemCategory, ItemSparseEntry::Unk430_1, ItemTemplate::Unk430_1, ItemSparseEntry::Unk430_2, ItemTemplate::Unk430_2, and WorldDatabase.
| void ObjectMgr::LoadLinkedRespawn | ( | ) |
Definition at line 1285 of file ObjectMgr.cpp.
References _linkedRespawnStore, CREATURE_TO_CREATURE, CREATURE_TO_GO, GetCreatureData(), GetGOData(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), GO_TO_CREATURE, GO_TO_GO, HIGHGUID_GAMEOBJECT, HIGHGUID_UNIT, CreatureData::id, GameObjectData::id, MapEntry::Instanceable(), MAKE_NEW_GUID(), CreatureData::mapid, GameObjectData::mapid, SF_LOG_ERROR, SF_LOG_INFO, sMapStore, CreatureData::spawnMask, GameObjectData::spawnMask, UI64FMTD, and WorldDatabase.
| void ObjectMgr::LoadMailLevelRewards | ( | ) |
Definition at line 7948 of file ObjectMgr.cpp.
References _mailLevelRewardStore, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), MAX_LEVEL, RACEMASK_ALL_PLAYABLE, SF_LOG_ERROR, SF_LOG_INFO, sMailTemplateStore, and WorldDatabase.
| void ObjectMgr::LoadNPCSpellClickSpells | ( | ) |
Definition at line 7116 of file ObjectMgr.cpp.
References _spellClickInfoStore, SpellClickInfo::castFlags, GetCreatureTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, SPELL_CLICK_USER_MAX, SpellClickInfo::spellId, sSpellMgr, UNIT_NPC_FLAG_SPELLCLICK, SpellClickInfo::userType, and WorldDatabase.
| void ObjectMgr::LoadNpcTextLocales | ( | ) |
Definition at line 5141 of file ObjectMgr.cpp.
References _npcTextLocaleStore, AddLocaleString(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAX_LOCALES, SF_LOG_INFO, NpcTextLocale::Text_0, NpcTextLocale::Text_1, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadPageTextLocales | ( | ) |
Definition at line 4912 of file ObjectMgr.cpp.
References _pageTextLocaleStore, AddLocaleString(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_INFO, PageTextLocale::Text, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadPageTexts | ( | ) |
Definition at line 4864 of file ObjectMgr.cpp.
References _pageTextStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), PageText::NextPage, SF_LOG_ERROR, SF_LOG_INFO, PageText::Text, and WorldDatabase.
| void ObjectMgr::LoadPetLevelInfo | ( | ) |
Definition at line 2913 of file ObjectMgr.cpp.
References _petInfoStore, PetLevelInfo::armor, CONFIG_MAX_PLAYER_LEVEL, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), PetLevelInfo::health, PetLevelInfo::mana, MAX_STATS, SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, PetLevelInfo::stats, STRONG_MAX_LEVEL, sWorld, and WorldDatabase.
| void ObjectMgr::LoadPetNames | ( | ) |
Definition at line 6598 of file ObjectMgr.cpp.
References _petHalfName0, _petHalfName1, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadPetNumber | ( | ) |
Definition at line 6628 of file ObjectMgr.cpp.
References _hiPetNumber, CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), and SF_LOG_INFO.
| void ObjectMgr::LoadPlayerCreateActionData | ( | ) |
Definition at line 3290 of file ObjectMgr.cpp.
References _playerInfo, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt8(), IsValidPlayerCreateClass(), IsValidPlayerCreateRace(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerCreateCastSpellsData | ( | ) |
Definition at line 3510 of file ObjectMgr.cpp.
References _playerInfo, CLASS_WARRIOR, CLASSMASK_ALL_PLAYABLE, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAX_CLASSES, MAX_RACES, RACE_HUMAN, RACEMASK_ALL_PLAYABLE, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerCreateItemsData | ( | ) |
Definition at line 3147 of file ObjectMgr.cpp.
References Field::GetInt8(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), IsValidPlayerCreateClass(), IsValidPlayerCreateRace(), MAX_CLASSES, MAX_RACES, PlayerCreateInfoAddItemHelper(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerCreateLevelStatsData | ( | ) |
Definition at line 3337 of file ObjectMgr.cpp.
References _playerInfo, CLASS_DEATH_KNIGHT, CLASS_MONK, CONFIG_EXPANSION, CONFIG_MAX_PLAYER_LEVEL, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt8(), IsValidPlayerCreateClass(), IsValidPlayerCreateRace(), PlayerInfo::levelInfo, MAX_CLASSES, MAX_RACES, MAX_STATS, RACE_BLOODELF, RACE_DRAENEI, RACE_PANDAREN_ALLIANCE, RACE_PANDAREN_HORDE, RACE_PANDAREN_NEUTRAL, sChrClassesStore, sChrRacesStore, SF_LOG_ERROR, SF_LOG_INFO, PlayerLevelInfo::stats, STRONG_MAX_LEVEL, sWorld, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerCreateSpellsData | ( | ) |
Definition at line 3219 of file ObjectMgr.cpp.
References _playerInfo, CLASS_WARRIOR, CLASSMASK_ALL_PLAYABLE, CONFIG_START_ALL_SPELLS, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), MAX_CLASSES, MAX_RACES, RACE_HUMAN, RACEMASK_ALL_PLAYABLE, SF_LOG_ERROR, SF_LOG_INFO, sSpellMgr, sWorld, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerCreateXpData | ( | ) |
Definition at line 3451 of file ObjectMgr.cpp.
References _playerXPperLevel, CONFIG_MAX_PLAYER_LEVEL, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, STRONG_MAX_LEVEL, sWorld, and WorldDatabase.
Referenced by LoadPlayerInfo().
| void ObjectMgr::LoadPlayerInfo | ( | ) |
Definition at line 3049 of file ObjectMgr.cpp.
References _playerInfo, PlayerInfo::areaId, PlayerInfo::displayId_f, PlayerInfo::displayId_m, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), MapManager::IsValidMapCoord(), IsValidPlayerCreateClass(), IsValidPlayerCreateRace(), LoadPlayerCreateActionData(), LoadPlayerCreateCastSpellsData(), LoadPlayerCreateItemsData(), LoadPlayerCreateLevelStatsData(), LoadPlayerCreateSpellsData(), LoadPlayerCreateXpData(), PlayerInfo::mapId, ChrRacesEntry::model_f, ChrRacesEntry::model_m, PlayerInfo::orientation, PlayerInfo::positionX, PlayerInfo::positionY, PlayerInfo::positionZ, sChrClassesStore, sChrRacesStore, SF_LOG_ERROR, SF_LOG_INFO, sMapStore, and WorldDatabase.
| void ObjectMgr::LoadPointOfInterestLocales | ( | ) |
Definition at line 411 of file ObjectMgr.cpp.
References _pointOfInterestLocaleStore, AddLocaleString(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), PointOfInterestLocale::IconName, SF_LOG_INFO, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadPointsOfInterest | ( | ) |
Definition at line 7000 of file ObjectMgr.cpp.
References _pointsOfInterestStore, PointOfInterest::data, PointOfInterest::entry, PointOfInterest::flags, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), PointOfInterest::icon, PointOfInterest::icon_name, Skyfire::IsValidMapCoord(), SF_LOG_ERROR, SF_LOG_INFO, WorldDatabase, PointOfInterest::x, and PointOfInterest::y.
| void ObjectMgr::LoadQuestAreaTriggers | ( | ) |
Definition at line 5314 of file ObjectMgr.cpp.
References _questAreaTriggerStore, getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), Field::GetUInt32(), Quest::HasSpecialFlag(), QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, sAreaTriggerStore, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadQuestLocales | ( | ) |
Definition at line 4277 of file ObjectMgr.cpp.
References _questLocaleStore, AddLocaleString(), QuestLocale::CompletedText, QuestLocale::Details, QuestLocale::EndText, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), QuestLocale::Objectives, QuestLocale::OfferRewardText, QuestLocale::QuestGiverTargetName, QuestLocale::QuestGiverTextWindow, QuestLocale::QuestTurnTargetName, QuestLocale::QuestTurnTextWindow, QuestLocale::RequestItemsText, SF_LOG_INFO, QuestLocale::Title, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadQuestObjectiveLocales | ( | ) |
Definition at line 9670 of file ObjectMgr.cpp.
References AddLocaleString(), getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), m_questObjectiveLocaleStore, QuestObjectiveExists(), SF_LOG_ERROR, SF_LOG_INFO, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadQuestObjectives | ( | ) |
Definition at line 9425 of file ObjectMgr.cpp.
References _questTemplates, BATTLE_PET_FLAG_ELITE, BattlePetSpeciesHasFlag(), DISABLE_TYPE_QUEST, GetCreatureTemplate(), GetGameObjectTemplate(), Field::GetInt32(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), Quest::GetQuestObjectiveCountType(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), DisableMgr::IsDisabledFor(), SpellMgr::IsSpellValid(), Quest::m_questObjecitveTypeCount, m_questObjectiveLookup, Quest::m_questObjectives, QUEST_OBJECTIVE_TYPE_CURRENCY, QUEST_OBJECTIVE_TYPE_END, QUEST_OBJECTIVE_TYPE_FACTION_REP, QUEST_OBJECTIVE_TYPE_FACTION_REP2, QUEST_OBJECTIVE_TYPE_GO, QUEST_OBJECTIVE_TYPE_ITEM, QUEST_OBJECTIVE_TYPE_MONEY, QUEST_OBJECTIVE_TYPE_NPC, QUEST_OBJECTIVE_TYPE_NPC_INTERACT, QUEST_OBJECTIVE_TYPE_PET_BATTLE_ELITE, QUEST_OBJECTIVE_TYPE_PET_BATTLE_PVP, QUEST_OBJECTIVE_TYPE_PET_BATTLE_TAMER, QUEST_OBJECTIVE_TYPE_SPELL, sBattlePetSpeciesStore, sCurrencyTypesStore, SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, sSpellMgr, and WorldDatabase.
| void ObjectMgr::LoadQuestObjectiveVisualEffects | ( | ) |
Definition at line 9626 of file ObjectMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), Quest::GetQuestId(), Quest::GetQuestObjective(), GetQuestObjectiveQuestId(), GetQuestTemplate(), Field::GetUInt32(), QuestObjectiveExists(), SF_LOG_ERROR, SF_LOG_INFO, QuestObjective::VisualEffects, and WorldDatabase.
| void ObjectMgr::LoadQuestPOI | ( | ) |
Definition at line 7046 of file ObjectMgr.cpp.
References _questPOIStore, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), QuestPOI::points, SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 7215 of file ObjectMgr.cpp.
References _questTemplates, getMSTime(), GetMSTimeDiffToNow(), SF_LOG_ERROR, SF_LOG_INFO, sPoolMgr, table, and WorldDatabase.
Referenced by LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadGameobjectQuestEnders(), and LoadGameobjectQuestStarters().
| void ObjectMgr::LoadQuests | ( | ) |
Definition at line 3687 of file ObjectMgr.cpp.
References _questTemplates, CLASSMASK_ALL_PLAYABLE, DEFAULT_MAX_LEVEL, DISABLE_TYPE_QUEST, SpellEffectInfo::Effect, SpellInfo::Effects, Quest::ExclusiveGroup, Quest::Flags, GetAreaEntryByAreaID(), Quest::GetCharTitleId(), getMSTime(), GetMSTimeDiffToNow(), Quest::GetNextQuestId(), Quest::GetPrevQuestId(), Quest::GetQuestId(), Quest::GetQuestMethod(), GetQuestTemplate(), GetTalentSpellCost(), Quest::HasSpecialFlag(), SpellInfo::Id, DisableMgr::IsDisabledFor(), SpellMgr::IsSpellValid(), Quest::LimitTime, MAX_SPELL_EFFECTS, mExclusiveQuestGroups, Quest::MinLevel, SpellEffectInfo::MiscValue, Quest::NextQuestId, Quest::NextQuestIdChain, Quest::PrevQuestId, Quest::prevQuests, QUEST_FLAGS_DAILY, QUEST_FLAGS_TRACKING_EVENT, QUEST_FLAGS_WEEKLY, QUEST_REPUTATIONS_COUNT, QUEST_REWARD_CHOICES_COUNT, QUEST_REWARD_CURRENCY_COUNT, QUEST_REWARDS_COUNT, QUEST_SOURCE_ITEM_IDS_COUNT, QUEST_SPECIAL_FLAGS_DB_ALLOWED, QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, QUEST_SPECIAL_FLAGS_MONTHLY, QUEST_SPECIAL_FLAGS_REPEATABLE, QUEST_SPECIAL_FLAGS_TIMED, RACEMASK_ALL_PLAYABLE, ReputationMgr::Reputation_Cap, Quest::RequiredClasses, Quest::RequiredMaxRepFaction, Quest::RequiredMaxRepValue, Quest::RequiredMinRepFaction, Quest::RequiredMinRepValue, Quest::RequiredRaces, Quest::RequiredSkillId, Quest::RequiredSkillPoints, Quest::RequiredSourceItemCount, Quest::RequiredSourceItemId, Quest::RewardChoiceItemCount, Quest::RewardChoiceItemId, Quest::RewardCurrencyCount, Quest::RewardCurrencyId, Quest::RewardFactionId, Quest::RewardFactionValueId, Quest::RewardFactionValueIdOverride, Quest::RewardItemId, Quest::RewardItemIdCount, Quest::RewardMailDelay, Quest::RewardMailTemplateId, Quest::RewardSkillId, Quest::RewardSkillPoints, Quest::RewardSpell, Quest::RewardSpellCast, Quest::RewardTitleId, sCharTitlesStore, sCurrencyTypesStore, Quest::SetSpecialFlag(), SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, SkillByQuestSort(), sMailTemplateStore, sObjectMgr, Quest::SoundAccept, Quest::SoundTurnIn, Quest::SourceItemId, Quest::SourceSpellid, Quest::SpecialFlags, SPELL_EFFECT_QUEST_COMPLETE, sQuestSortStore, sSkillLineStore, sSoundEntriesStore, sSpellMgr, sWorld, WorldDatabase, and Quest::ZoneOrSort.
|
inline |
Definition at line 912 of file ObjectMgr.h.
References LoadCreatureQuestEnders(), LoadCreatureQuestStarters(), LoadGameobjectQuestEnders(), LoadGameobjectQuestStarters(), and SF_LOG_INFO.
| int ObjectMgr::LoadReferenceVendor | ( | int32 | vendor, |
| int32 | item, | ||
| uint8 | type, | ||
| std::set< uint32 > * | skip_vendors ) |
Definition at line 8123 of file ObjectMgr.cpp.
References _cacheVendorItemStore, VendorItemData::AddItem(), Field::GetInt32(), Field::GetUInt32(), Field::GetUInt8(), IsVendorItemValid(), LoadReferenceVendor(), PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), WORLD_SEL_NPC_VENDOR_REF, and WorldDatabase.
Referenced by LoadReferenceVendor(), and LoadVendors().
| void ObjectMgr::LoadReputationOnKill | ( | ) |
Definition at line 6810 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, SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, ReputationOnKillEntry::TeamDependent, and WorldDatabase.
| void ObjectMgr::LoadReputationRewardRate | ( | ) |
Definition at line 6723 of file ObjectMgr.cpp.
References _repRewardRateStore, RepRewardRate::creatureRate, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), RepRewardRate::questDailyRate, RepRewardRate::questMonthlyRate, RepRewardRate::questRate, RepRewardRate::questRepeatableRate, RepRewardRate::questWeeklyRate, SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, RepRewardRate::spellRate, and WorldDatabase.
| void ObjectMgr::LoadReputationSpilloverTemplate | ( | ) |
Definition at line 6882 of file ObjectMgr.cpp.
References _repSpilloverTemplateStore, RepSpilloverTemplate::faction, RepSpilloverTemplate::faction_rank, RepSpilloverTemplate::faction_rate, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt8(), MAX_REPUTATION_RANK, MAX_SPILLOVER_FACTIONS, FactionEntry::reputationListID, SF_LOG_ERROR, SF_LOG_INFO, sFactionStore, FactionEntry::team, and WorldDatabase.
| void ObjectMgr::LoadResearchDigsiteInfo | ( | ) |
Definition at line 9133 of file ObjectMgr.cpp.
References _researchDigsiteStore, ResearchDigsiteInfo::branchId, ResearchDigsiteInfo::digsiteId, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), ResearchSiteEntry::MapId, ResearchDigsiteInfo::requiredLevel, ResearchDigsiteInfo::requiredSkillValue, SF_LOG_ERROR, SF_LOG_INFO, sResearchSiteStore, and WorldDatabase.
| void ObjectMgr::LoadResearchProjectRequirements | ( | ) |
Definition at line 9223 of file ObjectMgr.cpp.
References _researchProjectRequirementStore, ResearchProjectRequirements::chance, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), ResearchProjectRequirements::requiredSkillValue, SF_LOG_ERROR, SF_LOG_INFO, sResearchProjectStore, and WorldDatabase.
| void ObjectMgr::LoadReservedPlayersNames | ( | ) |
Definition at line 7314 of file ObjectMgr.cpp.
References _reservedNamesStore, CharacterDatabase, getMSTime(), GetMSTimeDiffToNow(), Field::GetString(), SF_LOG_ERROR, SF_LOG_INFO, Utf8toWStr(), and wstrToLower().
| void ObjectMgr::LoadSceneTemplates | ( | ) |
Definition at line 9734 of file ObjectMgr.cpp.
References _sceneTemplateStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SceneTemplate::PlaybackFlags, SceneTemplate::SceneId, SceneTemplate::ScenePackageId, SceneTemplate::ScriptId, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadScriptNames | ( | ) |
Definition at line 8448 of file ObjectMgr.cpp.
References _scriptNamesStore, getMSTime(), GetMSTimeDiffToNow(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
|
private |
Definition at line 4329 of file ObjectMgr.cpp.
References ScriptInfo::Amount, ScriptInfo::CastSpell, CHAT_TYPE_BOSS_WHISPER, CHAT_TYPE_WHISPER, ScriptInfo::ChatType, ScriptInfo::command, ScriptInfo::CreateItem, ScriptInfo::CreatureEntry, DEFAULT_VISIBILITY_DISTANCE, ScriptInfo::delay, ScriptInfo::DestX, ScriptInfo::DestY, ScriptInfo::DestZ, ScriptInfo::Distance, ScriptInfo::Emote, ScriptInfo::EmoteID, GameObjectTemplate::entry, ScriptInfo::fData, ScriptInfo::Flags, GAMEOBJECT_TYPE_BUTTON, GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FISHINGNODE, GAMEOBJECT_TYPE_TRAP, GetCreatureTemplate(), Field::GetFloat(), GetGameObjectTemplate(), GetGOData(), Field::GetInt32(), GetItemTemplate(), getMSTime(), GetMSTimeDiffToNow(), GetQuestTemplate(), GetScriptCommandName(), GetScriptsMapByType(), GetScriptsTableNameByType(), Field::GetUInt32(), Field::GetUInt8(), ScriptInfo::GOGuid, Quest::HasSpecialFlag(), GameObjectData::id, ScriptInfo::id, INTERACTION_DISTANCE, Skyfire::IsValidMapCoord(), ScriptInfo::ItemEntry, ScriptInfo::KillCredit, ScriptInfo::MapID, MAX_DB_SCRIPT_STRING_ID, MIN_DB_SCRIPT_STRING_ID, ScriptInfo::nData, ScriptInfo::Orientation, ScriptInfo::PosX, ScriptInfo::PosY, ScriptInfo::PosZ, QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT, ScriptInfo::QuestExplored, ScriptInfo::QuestID, ScriptInfo::Raw, ScriptInfo::RemoveAura, ScriptInfo::RespawnGameobject, SCRIPT_COMMAND_CAST_SPELL, SCRIPT_COMMAND_CLOSE_DOOR, SCRIPT_COMMAND_CREATE_ITEM, SCRIPT_COMMAND_EMOTE, SCRIPT_COMMAND_KILL_CREDIT, SCRIPT_COMMAND_OPEN_DOOR, SCRIPT_COMMAND_QUEST_EXPLORED, SCRIPT_COMMAND_REMOVE_AURA, SCRIPT_COMMAND_RESPAWN_GAMEOBJECT, SCRIPT_COMMAND_TALK, SCRIPT_COMMAND_TELEPORT_TO, SCRIPT_COMMAND_TEMP_SUMMON_CREATURE, SCRIPTS_SPELL, sEmotesStore, SF_LOG_ERROR, SF_LOG_INFO, sMapStore, ScriptInfo::SpellID, sScriptMgr, sSpellMgr, ScriptInfo::Talk, ScriptInfo::TeleportTo, ScriptInfo::TempSummonCreature, ScriptInfo::TextID, ScriptInfo::ToggleDoor, GameObjectTemplate::type, ScriptInfo::type, and WorldDatabase.
Referenced by LoadEventScripts(), LoadSpellScripts(), and LoadWaypointScripts().
|
inline |
Definition at line 976 of file ObjectMgr.h.
References LoadSkyFireStrings(), MAX_SKYFIRE_STRING_ID, and MIN_SKYFIRE_STRING_ID.
Referenced by LoadDbScriptStrings(), and LoadSkyFireStrings().
Definition at line 7558 of file ObjectMgr.cpp.
References _SkyfireStringLocaleStore, AddLocaleString(), SkyFireStringLocale::Content, Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), MIN_SKYFIRE_STRING_ID, SF_LOG_ERROR, SF_LOG_INFO, table, TOTAL_LOCALES, and WorldDatabase.
| void ObjectMgr::LoadSpellScriptNames | ( | ) |
Definition at line 4741 of file ObjectMgr.cpp.
References _spellScriptsStore, Field::GetCString(), SpellInfo::GetFirstRankSpell(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), SpellInfo::GetNextRankSpell(), GetScriptId(), SpellInfo::Id, SpellInfo::IsRanked(), SF_LOG_ERROR, SF_LOG_INFO, sSpellMgr, and WorldDatabase.
| void ObjectMgr::LoadSpellScripts | ( | ) |
Definition at line 4647 of file ObjectMgr.cpp.
References SpellEffectInfo::Effect, SpellInfo::Effects, LoadScripts(), SCRIPTS_SPELL, SF_LOG_ERROR, SPELL_EFFECT_DUMMY, SPELL_EFFECT_SCRIPT_EFFECT, sSpellMgr, and sSpellScripts.
| void ObjectMgr::LoadTavernAreaTriggers | ( | ) |
Definition at line 5370 of file ObjectMgr.cpp.
References _tavernAreaTriggerStore, _tavernRestAreaStore, TavernRestArea::BoxOrientation, TavernRestArea::BoxX, TavernRestArea::BoxY, TavernRestArea::BoxZ, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Skyfire::Rest::HasInnAreaBounds(), IsTavernAreaTrigger(), TavernRestArea::MapId, TavernRestArea::Radius, sAreaTriggerStore, SF_LOG_ERROR, SF_LOG_INFO, TavernRestArea::TriggerId, WorldDatabase, TavernRestArea::X, TavernRestArea::Y, and TavernRestArea::Z.
| void ObjectMgr::LoadTempSummons | ( | ) |
Definition at line 1510 of file ObjectMgr.cpp.
References _tempSummonDataStore, TempSummonData::entry, GetCreatureTemplate(), Field::GetFloat(), GetGameObjectTemplate(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), TempSummonData::pos, Position::Relocate(), SF_LOG_ERROR, SF_LOG_INFO, sMapStore, SUMMONER_TYPE_CREATURE, SUMMONER_TYPE_GAMEOBJECT, SUMMONER_TYPE_MAP, TEMPSUMMON_MANUAL_DESPAWN, TempSummonData::time, TempSummonData::type, and WorldDatabase.
| void ObjectMgr::LoadTerrainPhaseInfo | ( | ) |
Definition at line 8931 of file ObjectMgr.cpp.
References _terrainPhaseInfoStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), PhaseInfoStruct::id, SF_LOG_INFO, sPhaseStore, and WorldDatabase.
| void ObjectMgr::LoadTerrainSwapDefaults | ( | ) |
Definition at line 8884 of file ObjectMgr.cpp.
References _terrainMapDefaultStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), PhaseInfoStruct::id, SF_LOG_INFO, sMapStore, and WorldDatabase.
| void ObjectMgr::LoadTerrainWorldMaps | ( | ) |
Definition at line 8970 of file ObjectMgr.cpp.
References _terrainWorldMapStore, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), SF_LOG_INFO, sMapStore, and WorldDatabase.
| void ObjectMgr::LoadTrainerSpell | ( | ) |
Definition at line 8084 of file ObjectMgr.cpp.
References _cacheTrainerSpellStore, AddSpellToTrainer(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadVehicleAccessories | ( | ) |
Definition at line 2871 of file ObjectMgr.cpp.
References _vehicleAccessoryStore, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadVehicleTemplateAccessories | ( | ) |
Definition at line 2817 of file ObjectMgr.cpp.
References _spellClickInfoStore, _vehicleTemplateAccessoryStore, Field::GetBool(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void ObjectMgr::LoadVendors | ( | ) |
Definition at line 8164 of file ObjectMgr.cpp.
References _cacheVendorItemStore, VendorItemData::AddItem(), Field::GetInt32(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt8(), IsVendorItemValid(), LoadReferenceVendor(), SF_LOG_ERROR, SF_LOG_INFO, and WorldDatabase.
| void ObjectMgr::LoadWaypointScripts | ( | ) |
Definition at line 4714 of file ObjectMgr.cpp.
References Field::GetUInt32(), LoadScripts(), SCRIPTS_WAYPOINT, SF_LOG_ERROR, sWaypointScripts, WORLD_SEL_WAYPOINT_DATA_ACTION, and WorldDatabase.
Definition at line 1825 of file ObjectMgr.cpp.
References AddCreatureToGrid(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), CreatureData::id, Creature::LoadCreatureFromDB(), NewOrExistCreatureData(), CreatureData::orientation, CreatureData::posX, CreatureData::posY, CreatureData::posZ, RemoveCreatureFromGrid(), SF_LOG_ERROR, and sMapMgr.
|
inline |
Definition at line 1240 of file ObjectMgr.h.
References _gameObjectDataStore.
Referenced by AddGOData().
|
inline |
Definition at line 1176 of file ObjectMgr.h.
References _creatureDataStore.
Referenced by AddCreData(), and MoveCreData().
|
private |
Definition at line 3015 of file ObjectMgr.cpp.
References _playerInfo, GENDER_NONE, GetCharStartOutfitEntry(), MAX_OUTFIT_ITEMS, and SF_LOG_ERROR.
Referenced by LoadPlayerCreateItemsData().
| bool ObjectMgr::QuestObjectiveExists | ( | uint32 | objectiveId | ) | const |
Definition at line 9717 of file ObjectMgr.cpp.
References m_questObjectiveLookup.
Referenced by LoadQuestObjectiveLocales(), and LoadQuestObjectiveVisualEffects().
| void ObjectMgr::RemoveCreatureFromGrid | ( | uint32 | guid, |
| CreatureData const * | data ) |
Definition at line 1760 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Skyfire::ComputeCellCoord(), CellObjectGuids::creatures, CoordPair< LIMIT >::GetId(), MAKE_PAIR32(), CreatureData::mapid, CreatureData::posX, CreatureData::posY, and CreatureData::spawnMask.
Referenced by DeleteCreatureData(), and MoveCreData().
| void ObjectMgr::RemoveGameobjectFromGrid | ( | uint32 | guid, |
| GameObjectData const * | data ) |
Definition at line 2097 of file ObjectMgr.cpp.
References _mapObjectGuidsStore, Skyfire::ComputeCellCoord(), CellObjectGuids::gameobjects, CoordPair< LIMIT >::GetId(), MAKE_PAIR32(), GameObjectData::mapid, GameObjectData::posX, GameObjectData::posY, and GameObjectData::spawnMask.
Referenced by DeleteGOData().
Definition at line 5875 of file ObjectMgr.cpp.
References GraveYardStore, GraveYardData::safeLocId, PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), GraveYardData::team, WORLD_DEL_GRAVEYARD_ZONE, and WorldDatabase.
Definition at line 8337 of file ObjectMgr.cpp.
References _cacheVendorItemStore, PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), WORLD_DEL_NPC_VENDOR, and WorldDatabase.
| void ObjectMgr::ReturnOrDeleteOldMails | ( | bool | serverUp | ) |
Definition at line 5187 of file ObjectMgr.cpp.
References CHAR_DEL_EMPTY_EXPIRED_MAIL, CHAR_DEL_ITEM_INSTANCE, CHAR_DEL_MAIL_BY_ID, CHAR_SEL_EXPIRED_MAIL, CHAR_SEL_EXPIRED_MAIL_ITEMS, CHAR_UPD_ITEM_OWNER, CHAR_UPD_MAIL_ITEM_RECEIVER, CHAR_UPD_MAIL_RETURNED, CharacterDatabase, Mail::checked, Mail::COD, DAY, Mail::deliver_time, Mail::expire_time, ObjectAccessor::FindPlayer(), Field::GetBool(), Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), Field::GetUInt64(), Field::GetUInt8(), MailItemInfo::item_guid, MailItemInfo::item_template, Mail::items, Skyfire::LocalTime(), Player::m_mailsLoaded, MAIL_CHECK_MASK_COD_PAYMENT, MAIL_CHECK_MASK_RETURNED, MAIL_NORMAL, Mail::mailTemplateId, Mail::messageID, Mail::messageType, Mail::receiver, Mail::sender, PreparedStatement::setUInt32(), PreparedStatement::setUInt64(), PreparedStatement::setUInt8(), and SF_LOG_INFO.
Definition at line 1468 of file ObjectMgr.cpp.
References _linkedRespawnStore, GetCreatureData(), HIGHGUID_UNIT, CreatureData::id, MapEntry::Instanceable(), MAKE_NEW_GUID(), CreatureData::mapid, PreparedStatement::setUInt32(), SF_LOG_ERROR, sMapStore, CreatureData::spawnMask, WORLD_DEL_CRELINKED_RESPAWN, WORLD_REP_CREATURE_LINKED_RESPAWN, and WorldDatabase.
|
inline |
Definition at line 1252 of file ObjectMgr.h.
References DBCLocaleIndex.
| void ObjectMgr::SetHighestGuids | ( | ) |
Definition at line 6129 of file ObjectMgr.cpp.
References _auctionId, _equipmentSetGuid, _hiCharGuid, _hiCorpseGuid, _hiCreatureGuid, _hiGoGuid, _hiItemGuid, _hiMoTransGuid, _mailId, _voidItemId, CharacterDatabase, m_battlePetId, sGroupMgr, sGuildMgr, and WorldDatabase.
| void ObjectMgr::ValidateSpellScripts | ( | ) |
Definition at line 4808 of file ObjectMgr.cpp.
References _SpellScript::_Init(), _SpellScript::_Register(), _spellScriptsStore, AuraScript::_Validate(), SpellScript::_Validate(), getMSTime(), GetMSTimeDiffToNow(), GetScriptName(), SpellInfo::Id, SF_LOG_ERROR, SF_LOG_INFO, sScriptMgr, and sSpellMgr.
|
friend |
Definition at line 712 of file ObjectMgr.h.
References ObjectMgr(), and PlayerDumpReader.
Referenced by PlayerDumpReader.
|
friend |
Definition at line 712 of file ObjectMgr.h.
|
private |
Definition at line 1485 of file ObjectMgr.h.
Referenced by GetAccessRequirement(), LoadAccessRequirements(), and ~ObjectMgr().
|
private |
Definition at line 1613 of file ObjectMgr.h.
Referenced by GetArchaeologyFindInfo(), GetRandomArchaeologyFindForDigsite(), and LoadArchaeologyFindInfo().
|
private |
Definition at line 1484 of file ObjectMgr.h.
Referenced by GetAreaTriggerScriptId(), and LoadAreaTriggerScripts().
|
private |
Definition at line 1483 of file ObjectMgr.h.
Referenced by GetAreaTrigger(), GetGoBackTrigger(), GetMapEntranceTrigger(), and LoadAreaTriggerTeleports().
|
private |
Definition at line 1449 of file ObjectMgr.h.
Referenced by GenerateAuctionID(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1560 of file ObjectMgr.h.
Referenced by GetBaseXP(), and LoadExplorationBaseXP().
|
private |
Definition at line 1595 of file ObjectMgr.h.
Referenced by AddSpellToTrainer(), GetNpcTrainerSpells(), LoadTrainerSpell(), and ~ObjectMgr().
|
private |
Definition at line 1594 of file ObjectMgr.h.
Referenced by AddVendorItem(), GetNpcVendorItemList(), LoadReferenceVendor(), LoadVendors(), RemoveVendorItem(), and ~ObjectMgr().
|
private |
Definition at line 1573 of file ObjectMgr.h.
Referenced by GetCreatureAddon(), and LoadCreatureAddons().
|
private |
Definition at line 1546 of file ObjectMgr.h.
Referenced by GetCreatureBaseStats(), and LoadCreatureClassLevelStats().
|
private |
Definition at line 1570 of file ObjectMgr.h.
Referenced by DeleteCreatureData(), GetCreatureData(), LoadCreatures(), and NewOrExistCreatureData().
|
private |
Definition at line 1577 of file ObjectMgr.h.
Referenced by GetCreatureLocale(), and LoadCreatureLocales().
|
private |
Definition at line 1572 of file ObjectMgr.h.
Referenced by GetCreatureModelInfo(), and LoadCreatureModelInfo().
|
private |
Definition at line 1502 of file ObjectMgr.h.
Referenced by GetCreatureQuestInvolvedRelationBounds(), and LoadCreatureQuestEnders().
|
private |
Definition at line 1503 of file ObjectMgr.h.
Referenced by GetCreatureQuestInvolvedRelationReverseBounds().
|
private |
Definition at line 1501 of file ObjectMgr.h.
Referenced by GetCreatureQuestRelationBounds(), GetCreatureQuestRelationMap(), and LoadCreatureQuestStarters().
|
private |
Definition at line 1574 of file ObjectMgr.h.
Referenced by GetCreatureTemplateAddon(), and LoadCreatureTemplateAddons().
|
private |
Definition at line 1571 of file ObjectMgr.h.
Referenced by GetCreatureTemplate(), GetCreatureTemplates(), and LoadCreatureTemplates().
|
private |
Definition at line 1600 of file ObjectMgr.h.
Referenced by CheckCreatureTemplate(), and LoadCreatures().
|
private |
Definition at line 1486 of file ObjectMgr.h.
Referenced by GetDungeonEncounterList(), LoadInstanceEncounters(), and ~ObjectMgr().
|
private |
Definition at line 1575 of file ObjectMgr.h.
Referenced by GetEquipmentInfo(), and LoadEquipmentTemplates().
|
private |
Definition at line 1450 of file ObjectMgr.h.
Referenced by GenerateEquipmentSetGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1563 of file ObjectMgr.h.
Referenced by GetFishingBaseSkillLevel(), and LoadFishingBaseSkillLevel().
|
private |
Definition at line 1578 of file ObjectMgr.h.
Referenced by DeleteGOData(), GetGOData(), LoadGameobjects(), and NewGOData().
|
private |
Definition at line 1481 of file ObjectMgr.h.
Referenced by IsGameObjectForQuests(), and LoadGameObjectForQuests().
|
private |
Definition at line 1579 of file ObjectMgr.h.
Referenced by GetGameObjectLocale(), and LoadGameObjectLocales().
|
private |
Definition at line 1580 of file ObjectMgr.h.
Referenced by GetGameObjectTemplate(), GetGameObjectTemplates(), and LoadGameObjectTemplate().
|
private |
Definition at line 1509 of file ObjectMgr.h.
Referenced by AddGameTele(), DeleteGameTele(), GetGameTele(), GetGameTele(), GetGameTeleExactName(), GetGameTeleMap(), and LoadGameTele().
|
private |
Definition at line 1499 of file ObjectMgr.h.
Referenced by GetGOQuestInvolvedRelationBounds(), and LoadGameobjectQuestEnders().
|
private |
Definition at line 1500 of file ObjectMgr.h.
Referenced by GetGOQuestInvolvedRelationReverseBounds().
|
private |
Definition at line 1498 of file ObjectMgr.h.
Referenced by GetGOQuestRelationBounds(), GetGOQuestRelationMap(), and LoadGameobjectQuestStarters().
|
private |
Definition at line 1590 of file ObjectMgr.h.
Referenced by GetGossipMenuItemsLocale(), and LoadGossipMenuItemsLocales().
|
private |
Definition at line 1493 of file ObjectMgr.h.
Referenced by GetGossipMenuItemsMapBounds(), GetGossipMenuItemsMapBoundsNonConst(), and LoadGossipMenuItems().
|
private |
Definition at line 1492 of file ObjectMgr.h.
Referenced by GetGossipMenusMapBounds(), GetGossipMenusMapBoundsNonConst(), and LoadGossipMenu().
|
private |
Definition at line 1482 of file ObjectMgr.h.
Referenced by GetGossipText(), and LoadGossipText().
|
private |
Definition at line 1598 of file ObjectMgr.h.
Referenced by GetGraveyardOrientation(), LoadGraveyardOrientations(), and ~ObjectMgr().
|
private |
Definition at line 1601 of file ObjectMgr.h.
Referenced by CheckCreatureTemplate().
|
private |
Definition at line 1465 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), and ObjectMgr().
|
private |
Definition at line 1457 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1464 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1458 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1463 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), and ObjectMgr().
|
private |
Definition at line 1462 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1461 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1466 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1459 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), and ObjectMgr().
|
private |
Definition at line 1453 of file ObjectMgr.h.
Referenced by GeneratePetNumber(), LoadPetNumber(), and ObjectMgr().
|
private |
Definition at line 1460 of file ObjectMgr.h.
Referenced by GenerateLowGuid(), and ObjectMgr().
|
private |
Definition at line 1610 of file ObjectMgr.h.
Referenced by GetHotfixData(), GetHotfixDate(), and LoadHotfixData().
|
private |
Definition at line 1523 of file ObjectMgr.h.
Referenced by GetInstanceTemplate(), and LoadInstanceTemplate().
|
private |
Definition at line 1585 of file ObjectMgr.h.
Referenced by GetItemLocale(), and LoadItemLocales().
|
private |
Definition at line 1584 of file ObjectMgr.h.
Referenced by GetItemTemplate(), GetItemTemplateStore(), LoadItemScriptNames(), LoadItemTemplateAddon(), and LoadItemTemplates().
|
private |
Definition at line 1451 of file ObjectMgr.h.
Referenced by ObjectMgr().
|
private |
Definition at line 1576 of file ObjectMgr.h.
Referenced by GetLinkedRespawnGuid(), LoadLinkedRespawn(), and SetCreatureLinkedRespawn().
|
private |
Definition at line 1452 of file ObjectMgr.h.
Referenced by GenerateMailID(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1544 of file ObjectMgr.h.
Referenced by GetMailLevelReward(), and LoadMailLevelRewards().
|
private |
Definition at line 1569 of file ObjectMgr.h.
Referenced by AddCorpseCellData(), AddCreatureToGrid(), AddGameobjectToGrid(), DeleteCorpseCellData(), GetCellObjectGuids(), GetMapObjectGuids(), RemoveCreatureFromGrid(), and RemoveGameobjectFromGrid().
|
private |
Definition at line 1587 of file ObjectMgr.h.
Referenced by GetNpcTextLocale(), and LoadNpcTextLocales().
|
private |
Definition at line 1588 of file ObjectMgr.h.
Referenced by GetPageTextLocale(), and LoadPageTextLocales().
|
private |
Definition at line 1522 of file ObjectMgr.h.
Referenced by GetPageText(), and LoadPageTexts().
|
private |
Definition at line 1566 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1567 of file ObjectMgr.h.
Referenced by GeneratePetName(), and LoadPetNames().
|
private |
Definition at line 1550 of file ObjectMgr.h.
Referenced by GetPetLevelInfo(), LoadPetLevelInfo(), and ~ObjectMgr().
|
private |
Definition at line 1528 of file ObjectMgr.h.
Referenced by GetAreaPhases(), GetAreaPhasesForLoading(), GetPhasesForArea(), GetPhasesForAreaForLoading(), and LoadAreaPhases().
|
private |
Definition at line 1554 of file ObjectMgr.h.
Referenced by BuildPlayerLevelInfo(), GetPlayerInfo(), GetPlayerLevelInfo(), LoadPlayerCreateActionData(), LoadPlayerCreateCastSpellsData(), LoadPlayerCreateLevelStatsData(), LoadPlayerCreateSpellsData(), LoadPlayerInfo(), ObjectMgr(), PlayerCreateInfoAddItemHelper(), and ~ObjectMgr().
|
private |
Definition at line 1557 of file ObjectMgr.h.
Referenced by GetXPForLevel(), and LoadPlayerCreateXpData().
|
private |
Definition at line 1591 of file ObjectMgr.h.
Referenced by GetPointOfInterestLocale(), and LoadPointOfInterestLocales().
|
private |
Definition at line 1494 of file ObjectMgr.h.
Referenced by GetPointOfInterest(), and LoadPointsOfInterest().
|
private |
Definition at line 1478 of file ObjectMgr.h.
Referenced by GetQuestForAreaTrigger(), and LoadQuestAreaTriggers().
|
private |
Definition at line 1586 of file ObjectMgr.h.
Referenced by GetQuestLocale(), and LoadQuestLocales().
|
private |
Definition at line 1496 of file ObjectMgr.h.
Referenced by GetQuestPOIVector(), and LoadQuestPOI().
|
private |
Definition at line 1469 of file ObjectMgr.h.
Referenced by GetQuestTemplate(), GetQuestTemplates(), LoadQuestObjectives(), LoadQuestRelationsHelper(), LoadQuests(), and ~ObjectMgr().
|
private |
Definition at line 1489 of file ObjectMgr.h.
Referenced by GetReputationOnKilEntry(), and LoadReputationOnKill().
|
private |
Definition at line 1488 of file ObjectMgr.h.
Referenced by GetRepRewardRate(), and LoadReputationRewardRate().
|
private |
Definition at line 1490 of file ObjectMgr.h.
Referenced by GetRepSpilloverTemplate(), and LoadReputationSpilloverTemplate().
|
private |
Definition at line 1612 of file ObjectMgr.h.
Referenced by GetResearchDigsiteInfo(), GetResearchDigsitesForContinent(), and LoadResearchDigsiteInfo().
|
private |
Definition at line 1614 of file ObjectMgr.h.
Referenced by GetResearchProjectRequirements(), and LoadResearchProjectRequirements().
|
private |
Definition at line 1507 of file ObjectMgr.h.
Referenced by IsReservedName(), and LoadReservedPlayersNames().
|
private |
Definition at line 1597 of file ObjectMgr.h.
Referenced by GetSceneTemplate(), and LoadSceneTemplates().
|
private |
Definition at line 1511 of file ObjectMgr.h.
Referenced by GetScriptId(), GetScriptName(), GetScriptNames(), and LoadScriptNames().
|
private |
Definition at line 1589 of file ObjectMgr.h.
Referenced by GetSkyFireStringLocale(), and LoadSkyFireStrings().
|
private |
Definition at line 1513 of file ObjectMgr.h.
Referenced by GetSpellClickInfoMapBounds(), LoadNPCSpellClickSpells(), and LoadVehicleTemplateAccessories().
|
private |
Definition at line 1515 of file ObjectMgr.h.
Referenced by GetSpellScriptsBounds(), LoadSpellScriptNames(), and ValidateSpellScripts().
|
private |
Definition at line 1479 of file ObjectMgr.h.
Referenced by IsTavernAreaTrigger(), and LoadTavernAreaTriggers().
|
private |
Definition at line 1480 of file ObjectMgr.h.
Referenced by GetTavernRestArea(), GetTavernRestAreaAtPosition(), and LoadTavernAreaTriggers().
|
private |
Stores temp summon data grouped by summoner's entry, summoner's type and group id.
Definition at line 1582 of file ObjectMgr.h.
Referenced by GetSummonGroup(), and LoadTempSummons().
|
private |
Definition at line 1526 of file ObjectMgr.h.
Referenced by GetDefaultTerrainSwaps(), GetDefaultTerrainSwapStore(), GetDefaultTerrainSwapStoreForLoading(), and LoadTerrainSwapDefaults().
|
private |
Definition at line 1525 of file ObjectMgr.h.
Referenced by GetPhaseTerrainSwaps(), GetPhaseTerrainSwapStoreForLoading(), and LoadTerrainPhaseInfo().
|
private |
Definition at line 1527 of file ObjectMgr.h.
Referenced by GetTerrainWorldMaps(), and LoadTerrainWorldMaps().
|
private |
Definition at line 1518 of file ObjectMgr.h.
Referenced by GetVehicleAccessoryList(), and LoadVehicleAccessories().
|
private |
Definition at line 1517 of file ObjectMgr.h.
Referenced by GetVehicleAccessoryList(), and LoadVehicleTemplateAccessories().
|
private |
Definition at line 1454 of file ObjectMgr.h.
Referenced by GenerateVoidStorageItemId(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1520 of file ObjectMgr.h.
Referenced by GetDBCLocaleIndex(), GetSkyFireStringForDBCLocale(), and SetDBCLocaleIndex().
| CharacterConversionMap ObjectMgr::FactionChangeAchievements |
Definition at line 1359 of file ObjectMgr.h.
Referenced by LoadFactionChangeAchievements().
| CharacterConversionMap ObjectMgr::FactionChangeItems |
Definition at line 1360 of file ObjectMgr.h.
Referenced by LoadFactionChangeItems().
| CharacterConversionMap ObjectMgr::FactionChangeQuests |
Definition at line 1361 of file ObjectMgr.h.
Referenced by LoadFactionChangeQuests().
| CharacterConversionMap ObjectMgr::FactionChangeReputation |
Definition at line 1362 of file ObjectMgr.h.
Referenced by LoadFactionChangeReputations().
| CharacterConversionMap ObjectMgr::FactionChangeSpells |
Definition at line 1363 of file ObjectMgr.h.
Referenced by LoadFactionChangeSpells().
| CharacterConversionMap ObjectMgr::FactionChangeTitles |
Definition at line 1364 of file ObjectMgr.h.
Referenced by LoadFactionChangeTitles().
| GraveYardContainer ObjectMgr::GraveYardStore |
Definition at line 1350 of file ObjectMgr.h.
Referenced by AddGraveYardLink(), FindGraveYardData(), GetClosestGraveYard(), LoadGraveyardZones(), and RemoveGraveYardLink().
|
private |
Definition at line 1467 of file ObjectMgr.h.
Referenced by BattlePetGetNewId(), ObjectMgr(), and SetHighestGuids().
|
private |
Definition at line 1592 of file ObjectMgr.h.
Referenced by GetQuestObjectiveLocale(), and LoadQuestObjectiveLocales().
|
private |
Definition at line 1470 of file ObjectMgr.h.
Referenced by GetQuestObjectiveQuestId(), LoadQuestObjectives(), and QuestObjectiveExists().
| ExclusiveQuestGroups ObjectMgr::mExclusiveQuestGroups |
Definition at line 1127 of file ObjectMgr.h.
Referenced by LoadQuests().
|
private |
Definition at line 1535 of file ObjectMgr.h.
Referenced by BattlePetGetRandomBreed(), and LoadBattlePetBreedData().
|
private |
Definition at line 1536 of file ObjectMgr.h.
Referenced by BattlePetGetRandomQuality(), and LoadBattlePetQualityData().