AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ObjectAccessor Namespace Reference

Functions

WorldObjectGetWorldObject (WorldObject const &, ObjectGuid const guid)
 
ObjectGetObjectByTypeMask (WorldObject const &, ObjectGuid const guid, uint32 typemask)
 
CorpseGetCorpse (WorldObject const &u, ObjectGuid const guid)
 
GameObjectGetGameObject (WorldObject const &u, ObjectGuid const guid)
 
TransportGetTransport (WorldObject const &u, ObjectGuid const guid)
 
DynamicObjectGetDynamicObject (WorldObject const &u, ObjectGuid const guid)
 
UnitGetUnit (WorldObject const &, ObjectGuid const guid)
 
CreatureGetCreature (WorldObject const &u, ObjectGuid const guid)
 
PetGetPet (WorldObject const &, ObjectGuid const guid)
 
PlayerGetPlayer (Map const *, ObjectGuid const guid)
 
PlayerGetPlayer (WorldObject const &, ObjectGuid const guid)
 
CreatureGetCreatureOrPetOrVehicle (WorldObject const &, ObjectGuid const)
 
PlayerFindPlayer (ObjectGuid const guid)
 
PlayerFindPlayerByLowGUID (ObjectGuid::LowType lowguid)
 
PlayerFindConnectedPlayer (ObjectGuid const guid)
 
PlayerFindPlayerByName (std::string const &name, bool checkInWorld=true)
 
CreatureGetSpawnedCreatureByDBGUID (uint32 mapId, uint64 guid)
 Get a spawned creature by DB guid column. MODULE USAGE ONLY - USE IT FOR CUSTOM CONTENT.
 
GameObjectGetSpawnedGameObjectByDBGUID (uint32 mapId, uint64 guid)
 Get a spawned gameobject by DB guid column. MODULE USAGE ONLY - USE IT FOR CUSTOM CONTENT.
 
HashMapHolder< Player >::MapType const & GetPlayers ()
 
template<class T >
void AddObject (T *object)
 
template<class T >
void RemoveObject (T *object)
 
void SaveAllPlayers ()
 
template<>
void AddObject (Player *player)
 
template<>
void RemoveObject (Player *player)
 
void UpdatePlayerNameMapReference (std::string oldname, Player *player)
 

Function Documentation

◆ AddObject() [1/2]

template<>
void ObjectAccessor::AddObject ( Player player)
339{
342}
void Insert(Player *p)
Definition: ObjectAccessor.cpp:93
static void Insert(T *o)
Definition: ObjectAccessor.cpp:38

References PlayerNameMapHolder::Insert(), and HashMapHolder< T >::Insert().

◆ AddObject() [2/2]

template<class T >
void ObjectAccessor::AddObject ( T *  object)

◆ FindConnectedPlayer()

Player * ObjectAccessor::FindConnectedPlayer ( ObjectGuid const  guid)
263{
264 return HashMapHolder<Player>::Find(guid);
265}
static T * Find(ObjectGuid guid)
Definition: ObjectAccessor.cpp:58

References HashMapHolder< T >::Find().

Referenced by Battleground::_ProcessJoin(), InstanceSaveMgr::_ResetSave(), Guild::AddMember(), ArenaTeam::AddMember(), InstanceMap::AddPlayerToMap(), ArenaTeam::BroadcastPacket(), Player::CanUninviteFromGroup(), Group::ChangeLeader(), Group::ChangeMembersGroup(), lfg::LFGQueue::CheckCompatibility(), ArenaTeam::Create(), Guild::DeleteMember(), ArenaTeam::DelMember(), Group::Disband(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Guild::Member::FindPlayer(), ArenaTeam::FinishGame(), GmTicket::GetAssignedPlayer(), ArenaTeam::GetAverageMMR(), SocialMgr::GetFriendInfo(), Group::GetLeader(), Creature::GetLootRecipient(), GameObject::GetLootRecipient(), GmTicket::GetPlayer(), CalendarMgr::GetPlayerEvents(), ChatHandler::getSelectedPlayer(), ChatHandler::getSelectedPlayerOrSelf(), WorldSession::HandleAddFriendOpcode(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleBattleFieldPortOpcode(), cache_commandscript::HandleCacheRefreshCommand(), WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCharCustomize(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleCharFactionOrRaceChange(), WorldSession::HandleCharRenameCallBack(), WorldSession::HandleChatIgnoredOpcode(), WorldSession::HandleGroupAcceptOpcode(), WorldSession::HandleGroupDeclineOpcode(), WorldSession::HandleGroupSetLeaderOpcode(), WorldSession::HandleGroupUninviteGuidOpcode(), WorldSession::HandleOfferPetitionOpcode(), WorldSession::HandlePetitionDeclineOpcode(), WorldSession::HandlePetitionSignOpcode(), WorldSession::HandleRaidTargetUpdateOpcode(), WorldSession::HandleSendMail(), lfg::LFGMgr::HasIgnore(), BattlegroundQueue::InviteGroupToBG(), lfg::LFGMgr::LoadLFGDungeons(), lfg::LFGMgr::MakeNewGroup(), ArenaTeam::NotifyStatsChanged(), Group::OfflineReadyCheck(), lfg::LFGGroupScript::OnRemoveMember(), Group::RemoveMember(), PetitionMgr::RemovePetitionByOwnerAndType(), Player::RemovePetitionsAndSigns(), BattlegroundQueue::RemovePlayer(), Player::ResetInstances(), ArenaTeam::Roster(), AuctionHouseMgr::SendAuctionCancelledToBidderMail(), AuctionHouseMgr::SendAuctionExpiredMail(), AuctionHouseMgr::SendAuctionOutbiddedMail(), AuctionHouseMgr::SendAuctionSalePendingMail(), AuctionHouseMgr::SendAuctionSuccessfulMail(), AuctionHouseMgr::SendAuctionWonMail(), CalendarMgr::SendCalendarClearPendingAction(), CalendarMgr::SendCalendarCommandResult(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInvite(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), lfg::LFGMgr::SendLfgBootProposalUpdate(), lfg::LFGMgr::SendLfgJoinResult(), lfg::LFGMgr::SendLfgQueueStatus(), WorldSession::SendLfgRoleCheckUpdate(), lfg::LFGMgr::SendLfgRoleCheckUpdate(), lfg::LFGMgr::SendLfgRoleChosen(), lfg::LFGMgr::SendLfgUpdateParty(), lfg::LFGMgr::SendLfgUpdatePlayer(), lfg::LFGMgr::SendLfgUpdateProposal(), Group::SendLootAllPassed(), Group::SendLootRoll(), Group::SendLootRollWon(), Group::SendLootStartRoll(), WorldSession::SendNameQueryOpcode(), CalendarMgr::SendPacketToAllEventRelatives(), Channel::SendToOne(), Group::SendUpdateToPlayer(), ArenaTeam::SetCaptain(), InstanceSaveMgr::UnbindAllFor(), lfg::LFGMgr::UpdateRaidBrowser(), and GameObject::Use().

◆ FindPlayer()

Player * ObjectAccessor::FindPlayer ( ObjectGuid const  guid)
251{
252 Player* player = HashMapHolder<Player>::Find(guid);
253 return player && player->IsInWorld() ? player : nullptr;
254}
bool IsInWorld() const
Definition: Object.h:101
Definition: Player.h:1056

References HashMapHolder< T >::Find(), and Object::IsInWorld().

Referenced by Battleground::_ProcessJoin(), Battleground::_ProcessResurrect(), Loot::AddItem(), BfGraveyard::AddPlayer(), Arena::AddPlayer(), Battleground::AddPlayerToResurrectQueue(), Group::BroadcastGroupUpdate(), OutdoorPvP::BroadcastPacket(), Battlefield::BroadcastPacketToQueue(), Battlefield::BroadcastPacketToWar(), Battlefield::BroadcastPacketToZone(), SocialMgr::BroadcastToFriendListers(), OutdoorPvPEP::BuffTeams(), BattlegroundSA::CaptureGraveyard(), BattlefieldWG::CapturePointTaken(), OPvPCapturePointTF::ChangeState(), Spell::CheckCast(), Group::CheckLevelForRaid(), SpellInfo::CheckTarget(), Group::ConvertToRaid(), Group::CountTheRoll(), AccountMgr::DeleteAccount(), ArenaTeamMgr::DistributeArenaPoints(), Spell::DoAllEffectOnTarget(), AuctionListItemsDelayEvent::Execute(), AuctionListOwnerItemsDelayEvent::Execute(), DelayedWindstoneSummonEvent::Execute(), Loot::FillQuestLoot(), FindPlayerByLowGUID(), lfg::LFGMgr::FinishDungeon(), Item::GetOwner(), Group::GroupLoot(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleInspectArenaTeamsOpcode(), BattlefieldWG::HandleKill(), WorldSession::HandleReportPvPAFK(), WorldSession::HandleSummonResponseOpcode(), Battlefield::InvitePlayersInQueueToWar(), Battlefield::InvitePlayersInZoneToQueue(), Battlefield::InvitePlayersInZoneToWar(), ArenaTeam::IsFighting(), Battlefield::KickAfkPlayers(), Battlefield::KickPlayerFromBattlefield(), Unit::Kill(), lfg::LFGMgr::MakeNewGroup(), Group::NeedBeforeGreed(), Loot::NotifyItemRemoved(), Loot::NotifyMoneyRemoved(), Loot::NotifyQuestItemRemoved(), BattlefieldWG::OnBattleEnd(), BattlefieldWG::OnBattleStart(), BattlefieldWG::OnCreatureCreate(), Acore::WorldObjectSpellTargetCheck::operator()(), BfGraveyard::RelocateDeadPlayers(), Battleground::RelocateDeadPlayers(), BattlegroundQueue::RemovePlayer(), BfGraveyard::RemovePlayer(), lfg::LFGMgr::RemoveProposal(), Group::ResetMaxEnchantingLevel(), BfGraveyard::Resurrect(), Spell::SelectEffectTypeImplicitTargets(), BfCapturePoint::SendChangePhase(), BattlefieldWG::SendInitWorldStatesToAll(), BfCapturePoint::SendObjectiveComplete(), OPvPCapturePoint::SendObjectiveComplete(), Acore::VisibleNotifier::SendToSelf(), BfCapturePoint::SendUpdateWorldState(), Battlefield::SendUpdateWorldState(), OPvPCapturePoint::SendUpdateWorldState(), OutdoorPvP::SendUpdateWorldState(), OPvPCapturePointZM_GraveYard::SetBeaconState(), Channel::SetOwner(), Player::SummonIfPossible(), Battlefield::TeamCastSpell(), OutdoorPvP::TeamCastSpell(), BfCapturePoint::Update(), OPvPCapturePoint::Update(), BattlefieldWG::UpdatedDestroyedTowerCount(), Group::UpdateLooterGuid(), BattlefieldWG::UpdateTenacity(), BattlefieldWG::UpdateVehicleCountWG(), GameObject::Use(), and WorldObjectChangeAccumulator::Visit().

◆ FindPlayerByLowGUID()

Player * ObjectAccessor::FindPlayerByLowGUID ( ObjectGuid::LowType  lowguid)
257{
258 ObjectGuid guid = ObjectGuid::Create<HighGuid::Player>(lowguid);
259 return ObjectAccessor::FindPlayer(guid);
260}
Player * FindPlayer(ObjectGuid const guid)
Definition: ObjectAccessor.cpp:250
Definition: ObjectGuid.h:120

References FindPlayer().

Referenced by Player::DeleteFromDB(), WorldSession::HandleMailTakeItem(), lookup_commandscript::LookupPlayerSearchCommand(), ObjectMgr::ReturnOrDeleteOldMails(), MailDraft::SendMailTo(), MailDraft::SendReturnToSender(), and Acore::ChatCommands::PlayerIdentifier::TryConsume().

◆ FindPlayerByName()

◆ GetCorpse()

◆ GetCreature()

Creature * ObjectAccessor::GetCreature ( WorldObject const &  u,
ObjectGuid const  guid 
)
216{
217 return u.GetMap()->GetCreature(guid);
218}

References Map::GetCreature(), and WorldObject::GetMap().

Referenced by at_zulgurub_entrance_speech::_OnTrigger(), at_zulgurub_bridge_speech::_OnTrigger(), at_zulgurub_temple_speech::_OnTrigger(), at_zulgurub_bloodfire_pit_speech::_OnTrigger(), at_zulgurub_edge_of_madness_speech::_OnTrigger(), boss_kologarn::boss_kologarnAI::AttachLeftArm(), boss_kologarn::boss_kologarnAI::AttachRightArm(), boss_twilight_halion::boss_twilight_halionAI::boss_twilight_halionAI(), npc_anubisath_sentinel::aqsentinelAI::CallBuddiesToAttack(), boss_algalon_the_observer::boss_algalon_the_observerAI::CallConstellations(), npc_supervisor_raelen::CallPeasent(), boss_moira_bronzebeardAI::CastOnEmperorIfPossible(), npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI::ChangeImage(), boss_shade_of_akama::boss_shade_of_akamaAI::ChannelersAction(), npc_still_at_it_trigger::npc_still_at_it_triggerAI::CheckAction(), npc_cork_gizelton::npc_cork_gizeltonAI::CheckCaravan(), boss_volazj::CheckPhaseMinions(), spell_putricide_mutation_init::spell_putricide_mutation_init_SpellScript::CheckRequirementInternal(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::CheckSummons(), npc_twiggy_flathead::npc_twiggy_flatheadAI::CleanUp(), npc_thassarian2::npc_thassarian2AI::Cleanup(), boss_kologarn_eyebeam::boss_kologarn_eyebeamAI::DamageDealt(), npc_mograine::npc_mograineAI::DamageTaken(), boss_sartharion::boss_sartharionAI::DamageTaken(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::DamageTaken(), boss_freya::boss_freyaAI::DamageTaken(), boss_halion::boss_halionAI::DamageTaken(), boss_twilight_halion::boss_twilight_halionAI::DamageTaken(), boss_the_lich_king::boss_the_lich_kingAI::DamageTaken(), npc_ulduar_iron_construct::npc_ulduar_iron_constructAI::DamageTaken(), npc_ulduar_flash_freeze::npc_ulduar_flash_freezeAI::DamageTaken(), boss_thorim_start_npcs::boss_thorim_start_npcsAI::DamageTaken(), boss_mal_ganis::boss_mal_ganisAI::DamageTaken(), boss_kologarn_arms::boss_kologarn_armsAI::DamageTaken(), boss_yoggsaron_brain::boss_yoggsaron_brainAI::DamageTaken(), SummonList::DespawnAll(), SummonList::DespawnEntry(), boss_jedoga_shadowseeker::DespawnOOCSummons(), hyjalAI::DeSpawnVeins(), boss_netherspite::DestroyPortals(), boss_mandokir::boss_mandokirAI::DoAction(), go_ossirian_crystal::go_ossirian_crystalAI::DoAction(), boss_jedoga_shadowseeker::DoAction(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::DoAction(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::DoAction(), boss_the_lich_king::boss_the_lich_kingAI::DoAction(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::DoAction(), npc_crok_scourgebane::npc_crok_scourgebaneAI::DoAction(), npc_argent_captainAI::DoAction(), SummonList::DoAction(), boss_kalecgos::boss_kalecgosAI::DoAction(), boss_paletress::boss_paletressAI::DoAction(), npc_molten_golem::npc_molten_golemAI::DoAction(), boss_thorim_sif::boss_thorim_sifAI::DoAction(), npc_xt002_heart::npc_xt002_heartAI::DoAction(), boss_yoggsaron_sara::boss_yoggsaron_saraAI::DoAction(), boss_yoggsaron_brain::boss_yoggsaron_brainAI::DoAction(), npc_creature_generator_akama::npc_creature_generator_akamaAI::DoAction(), boss_illidari_council::boss_illidari_councilAI::DoAction(), npc_scarlet_miner_cart::npc_scarlet_miner_cartAI::DoAction(), boss_razorgore::boss_razorgoreAI::DoChangePhase(), npc_tirions_gambit_tirion::npc_tirions_gambit_tirionAI::DoSummonAction(), SummonList::DoZoneInCombat(), npc_ravenclaw_apparition::npc_ravenclaw_apparitionAI::EmoteCrowd(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::EmpowerCultist(), boss_kiljaeden::boss_kiljaedenAI::EmpowerOrb(), boss_priestess_lackey_commonAI::EnterEvadeMode(), boss_sacrolash::boss_sacrolashAI::EnterEvadeMode(), boss_alythess::boss_alythessAI::EnterEvadeMode(), boss_entropius::boss_entropiusAI::EnterEvadeMode(), boss_halion::boss_halionAI::EnterEvadeMode(), boss_prince_keleseth_icc::boss_prince_kelesethAI::EnterEvadeMode(), boss_prince_taldaram_icc::boss_prince_taldaramAI::EnterEvadeMode(), boss_prince_valanar_icc::boss_prince_valanarAI::EnterEvadeMode(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::EnterEvadeMode(), boss_festergut::boss_festergutAI::EnterEvadeMode(), boss_rotface::boss_rotfaceAI::EnterEvadeMode(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), npc_tirion_fordring_tft::npc_tirion_fordringAI::EnterEvadeMode(), npc_argent_captainAI::EnterEvadeMode(), boss_illidan_stormrage::boss_illidan_stormrageAI::EnterEvadeMode(), npc_burning_spirit::npc_burning_spiritAI::EnterEvadeMode(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::EnterEvadeMode(), boss_halazzi::boss_halazziAI::EnterPhase(), AssistDelayEvent::Execute(), IceTombSummonEvent::Execute(), startFollow::Execute(), boss_sartharion_tenebron::boss_sartharion_tenebronAI::ExecuteEvent(), boss_salramm::boss_salrammAI::ExplodeGhoul(), spell_festergut_blighted_spores::spell_festergut_blighted_spores_AuraScript::ExtraEffect(), spell_the_lich_king_restore_soul::spell_the_lich_king_restore_soul_SpellScript::FilterTargets(), npc_thrall_bfu::npc_thrall_bfuAI::FollowThrall(), brann_bronzebeard::brann_bronzebeardAI::GetAbedneum(), npc_hourglass_of_eternity::npc_hourglass_of_eternityAI::GetCopy(), GetCreatureOrPetOrVehicle(), SummonList::GetCreatureWithEntry(), npc_chesspiece::GetEnemyPiece(), SummonList::GetEntryCount(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::GetEntryFromSummons(), npc_arthas::npc_arthasAI::GetEventNpc(), boss_skadi::boss_skadiAI::GetGrauf(), boss_hodir::boss_hodirAI::GetHelper(), npc_echo_of_medivh::GetHostileTargetForChangeFacing(), brann_bronzebeard::brann_bronzebeardAI::GetKaddrak(), npc_chesspiece::GetLowestHpFriendlyPiece(), npc_still_at_it_trigger::npc_still_at_it_triggerAI::GetManus(), brann_bronzebeard::brann_bronzebeardAI::GetMarnak(), npc_conversing_with_the_depths_trigger::npc_conversing_with_the_depths_triggerAI::GetOachanoa(), GetObjectByTypeMask(), npc_anubisath_sentinel::aqsentinelAI::GetOtherSentinels(), npc_echo_of_medivh::GetPiece(), npc_pilgrims_bounty_chair::GetPlate(), boss_moroes::GetRandomGuest(), npc_dream_fog::npc_dream_fogAI::GetRandomUnitFromDragonThreatList(), boss_twin_valkyrAI::GetSister(), npc_air_force_bots::npc_air_force_botsAI::GetSummonedGuard(), TempSummon::GetSummonerCreatureBase(), GetUnit(), npc_wintergarde_gryphon::getVillager(), GetWorldObject(), go_ossirian_crystal::go_ossirian_crystalAI::GossipHello(), go_troll_cage::go_troll_cageAI::GossipHello(), go_wind_stone::go_wind_stoneAI::GossipSelect(), spell_illidari_council_empyreal_balance::spell_illidari_council_empyreal_balance_SpellScript::HandleAfterCast(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), npc_echo_of_medivh::HandleCheat(), spell_halion_twilight_division::spell_halion_twilight_division_SpellScript::HandleDummy(), spell_mage_summon_water_elemental::HandleDummy(), spell_midsummer_torch_quest::HandleEffectRemove(), spell_black_template_harpooners_mark::spell_black_template_harpooners_mark_AuraScript::HandleEffectRemove(), spell_leotheras_insidious_whisper::spell_leotheras_insidious_whisper_AuraScript::HandleEffectRemove(), spell_botanica_call_of_the_falcon::spell_botanica_call_of_the_falcon_AuraScript::HandleEffectRemove(), spell_alar_ember_blast::spell_alar_ember_blast_SpellScript::HandleForceCast(), spell_assembly_meltdown::spell_assembly_meltdown_SpellScript::HandleInstaKill(), spell_oculus_rider_aura::spell_oculus_rider_auraAuraScript::HandleOnEffectRemove(), npc_echo_of_medivh::HandlePieceMoveByAI(), Unit::HandleProcTriggerSpell(), spell_sartharion_lava_strike::spell_sartharion_lava_strike_SpellScript::HandleSchoolDamage(), spell_festergut_pungent_blight::spell_festergut_pungent_blight_SpellScript::HandleScript(), spell_putricide_unbound_plague::spell_putricide_unbound_plague_SpellScript::HandleScript(), spell_rotface_large_ooze_combine::spell_rotface_large_ooze_combine_SpellScript::HandleScript(), spell_rotface_large_ooze_buff_combine::spell_rotface_large_ooze_buff_combine_SpellScript::HandleScript(), spell_putricide_mutated_transformation::spell_putricide_mutated_transformation_SpellScript::HandleSummon(), SummonList::HasEntry(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::HealReceived(), npc_cork_gizelton::npc_cork_gizeltonAI::ImmuneFlagSet(), boss_yoggsaron_sara::boss_yoggsaron_saraAI::InformCloud(), go_troll_cage::go_troll_cageAI::initBlyCrewMember(), boss_warchief_kargath_bladefist::InitializeAI(), SummonList::IsAnyCreatureAlive(), SummonList::IsAnyCreatureInCombat(), SummonList::IsAnyCreatureWithEntryAlive(), IsEncounterComplete(), npc_direbrew_minion::IsSummonedBy(), npc_onyx_flamecaller::npc_onyx_flamecallerAI::IsSummonedBy(), npc_living_inferno::npc_living_infernoAI::IsSummonedBy(), npc_kinetic_bomb::npc_kinetic_bombAI::IsSummonedBy(), npc_putricide_oozeAI::IsSummonedBy(), npc_raging_spirit::npc_raging_spiritAI::IsSummonedBy(), npc_suppresser::npc_suppresserAI::IsSummonedBy(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::IsSummonedBy(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::JustDied(), npc_chesspiece::JustDied(), boss_terestian_illhoof::JustDied(), boss_sacrolash::boss_sacrolashAI::JustDied(), boss_alythess::boss_alythessAI::JustDied(), boss_kalec::boss_kalecAI::JustDied(), boss_kiljaeden::boss_kiljaedenAI::JustDied(), boss_entropius::boss_entropiusAI::JustDied(), boss_infinite_corruptor::boss_infinite_corruptorAI::JustDied(), npc_anubisath_sentinel::aqsentinelAI::JustDied(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(), boss_sartharion_dragonAI::JustDied(), npc_memory::npc_memoryAI::JustDied(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustDied(), boss_prince_taldaram_icc::boss_prince_taldaramAI::JustDied(), boss_prince_valanar_icc::boss_prince_valanarAI::JustDied(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::JustDied(), boss_festergut::boss_festergutAI::JustDied(), npc_stinky_icc::npc_stinky_iccAI::JustDied(), boss_rotface::boss_rotfaceAI::JustDied(), npc_little_ooze::npc_little_oozeAI::JustDied(), npc_big_ooze::npc_big_oozeAI::JustDied(), npc_precious_icc::npc_precious_iccAI::JustDied(), npc_raging_spirit::npc_raging_spiritAI::JustDied(), npc_spirit_warden::npc_spirit_wardenAI::JustDied(), boss_sister_svalna::boss_sister_svalnaAI::JustDied(), boss_thaddius_summon::boss_thaddius_summonAI::JustDied(), boss_sjonnir::boss_sjonnirAI::JustDied(), boss_sjonnir_iron_sludge::boss_sjonnir_iron_sludgeAI::JustDied(), brann_bronzebeard::brann_bronzebeardAI::JustDied(), npc_auriaya_feral_defender::npc_auriaya_feral_defenderAI::JustDied(), boss_freya_summons::boss_freya_summonsAI::JustDied(), npc_ulduar_saronite_vapors::npc_ulduar_saronite_vaporsAI::JustDied(), npc_ulduar_saronite_animus::npc_ulduar_saronite_animusAI::JustDied(), npc_ulduar_iron_construct::npc_ulduar_iron_constructAI::JustDied(), boss_kologarn::boss_kologarnAI::JustDied(), boss_kologarn_arms::boss_kologarn_armsAI::JustDied(), boss_thorim_start_npcs::boss_thorim_start_npcsAI::JustDied(), boss_thorim_runic_colossus::boss_thorim_runic_colossusAI::JustDied(), boss_thorim_ancient_rune_giant::boss_thorim_ancient_rune_giantAI::JustDied(), npc_xt002_heart::npc_xt002_heartAI::JustDied(), boss_yoggsaron::boss_yoggsaronAI::JustDied(), npc_ulduar_storm_tempered_keeper::npc_ulduar_storm_tempered_keeperAI::JustDied(), npc_massive_jormungar::npc_massive_jormungarAI::JustDied(), npc_ferocious_rhino::npc_ferocious_rhinoAI::JustDied(), npc_ravenous_furbolg::npc_ravenous_furbolgAI::JustDied(), npc_frenzied_worgen::npc_frenzied_worgenAI::JustDied(), violet_hold_trashAI::JustDied(), npc_akama_shade::npc_akamaAI::JustDied(), boss_illidari_council_memberAI::JustDied(), npc_infernal_attacker::npc_infernal_attackerAI::JustDied(), npc_illidari_spawn::npc_illidari_spawnAI::JustDied(), boss_brutallus::boss_brutallusAI::JustDied(), boss_epoch_hunter::JustDied(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustDied(), boss_halion::boss_halionAI::JustDied(), boss_twilight_halion::boss_twilight_halionAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_flame_leviathan_defense_turret::boss_flame_leviathan_defense_turretAI::JustDied(), boss_freya_elder_stonebark::boss_freya_elder_stonebarkAI::JustDied(), boss_freya_elder_brightleaf::boss_freya_elder_brightleafAI::JustDied(), boss_freya_elder_ironbranch::boss_freya_elder_ironbranchAI::JustDied(), boss_shade_of_akama::boss_shade_of_akamaAI::JustDied(), boss_warchief_kargath_bladefist::JustDied(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::JustDied(), boss_terestian_illhoof::JustEngagedWith(), boss_hexlord_malacrass::boss_hex_lord_malacrassAI::JustEngagedWith(), npc_risen_archmage::npc_risen_archmageAI::JustEngagedWith(), boss_sister_svalna::boss_sister_svalnaAI::JustEngagedWith(), boss_sjonnir::boss_sjonnirAI::JustEngagedWith(), npc_auriaya_sanctum_sentry::npc_auriaya_sanctum_sentryAI::JustEngagedWith(), boss_freya::boss_freyaAI::JustEngagedWith(), boss_illidari_council_memberAI::JustEngagedWith(), boss_sartharion::boss_sartharionAI::JustEngagedWith(), boss_thaddius_summon::boss_thaddius_summonAI::JustEngagedWith(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::JustEngagedWith(), boss_priestess_lackey_commonAI::JustEngagedWith(), boss_sacrolash::boss_sacrolashAI::JustEngagedWith(), boss_alythess::boss_alythessAI::JustEngagedWith(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::JustEngagedWith(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustEngagedWith(), boss_prince_taldaram_icc::boss_prince_taldaramAI::JustEngagedWith(), boss_prince_valanar_icc::boss_prince_valanarAI::JustEngagedWith(), boss_festergut::boss_festergutAI::JustEngagedWith(), boss_rotface::boss_rotfaceAI::JustEngagedWith(), boss_steelbreaker::boss_steelbreakerAI::JustEngagedWith(), boss_runemaster_molgeim::boss_runemaster_molgeimAI::JustEngagedWith(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::JustEngagedWith(), boss_yoggsaron_cloud::boss_yoggsaron_cloudAI::JustSummoned(), npc_frozen_orb_stalker::npc_frozen_orb_stalkerAI::JustSummoned(), npc_ulduar_storm_tempered_keeper::npc_ulduar_storm_tempered_keeperAI::JustSummoned(), boss_captain_skarloc::JustSummoned(), boss_sartharion_dragonAI::JustSummoned(), npc_collapsing_star::npc_collapsing_starAI::JustSummoned(), npc_algalon_worm_hole::npc_algalon_worm_holeAI::JustSummoned(), npc_creature_generator_akama::npc_creature_generator_akamaAI::JustSummoned(), boss_priestess_lackey_commonAI::KilledUnit(), boss_mandokir::boss_mandokirAI::KilledUnit(), spell_kaelthas_kael_phase_two::spell_kaelthas_kael_phase_two_SpellScript::Load(), npc_grizzlemaw_cw_trigger::npc_grizzlemaw_cw_triggerAI::MoveInLineOfSight(), boss_kologarn::boss_kologarnAI::MoveInLineOfSight(), npc_chesspiece::MovementInform(), boss_captain_skarloc::MovementInform(), npc_twilight_volunteer::MovementInform(), boss_grand_champion::boss_grand_championAI::MovementInform(), npc_tirion_fordring_tft::npc_tirion_fordringAI::MovementInform(), npc_fel_guard_hound::npc_fel_guard_houndAI::MovementInform(), npc_shattered_hand_scout::MovementInform(), boss_jedoga_shadowseeker::MovementInform(), npc_burning_spirit::npc_burning_spiritAI::MovementInform(), npc_sergeant_bly::npc_sergeant_blyAI::MovementInform(), npc_xt002_scrapbot::npc_xt002_scrapbotAI::MovementInform(), npc_cameron::MoveTheChildren(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), npc_big_ooze::npc_big_oozeAI::npc_big_oozeAI(), npc_little_ooze::npc_little_oozeAI::npc_little_oozeAI(), npc_ulduar_saronite_animus::npc_ulduar_saronite_animusAI::npc_ulduar_saronite_animusAI(), spell_blood_queen_frenzied_bloodthirst::spell_blood_queen_frenzied_bloodthirst_AuraScript::OnApply(), spell_blood_queen_vampiric_bite::spell_blood_queen_vampiric_bite_SpellScript::OnCast(), achievement_cant_do_that_while_stunned::OnCheck(), achievement_auriaya_crazy_cat_lady::OnCheck(), achievement_auriaya_nine_lives::OnCheck(), achievement_kologarn_looks_could_kill::OnCheck(), achievement_kologarn_rubble_and_roll::OnCheck(), achievement_kologarn_with_open_arms::OnCheck(), achievement_xt002_nerf_engineering::OnCheck(), achievement_xt002_nerf_gravity_bombs::OnCheck(), achievement_thorim_stand_in_the_lightning::OnCheck(), achievement_thorim_lose_your_illusion::OnCheck(), achievement_yogg_saron_darkness::OnCheck(), achievement_yogg_saron_he_waits_dreaming::OnCheck(), go_palehoof_sphere::OnGossipHello(), npc_ulduar_expedition_commander::OnGossipHello(), go_orb_of_domination::OnGossipHello(), go_blackened_urn::OnGossipHello(), go_acherus_soul_prison::OnGossipHello(), go_ulduar_do_not_push_this_button::OnGossipHello(), go_strange_pool::OnGossipHello(), go_prince_taldaram_sphere::OnGossipHello(), go_harpoon_canon::OnGossipHello(), go_ulduar_working_harpoon::OnGossipHello(), npc_ulduar_expedition_commander::OnGossipSelect(), npc_cos_chromie_start::OnGossipSelect(), spell_blood_queen_frenzied_bloodthirst::spell_blood_queen_frenzied_bloodthirst_AuraScript::OnRemove(), at_trigger_the_beast_movement::OnTrigger(), at_the_beast_room::OnTrigger(), AreaTrigger_at_sunwell_madrigosa::OnTrigger(), AreaTrigger_at_sunwell_eredar_twins::OnTrigger(), at_baltharus_plateau::OnTrigger(), at_lady_deathwhisper_entrance::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_icc_start_frostwing_gauntlet::OnTrigger(), at_icc_gauntlet_event::OnTrigger(), at_icc_putricide_trap::OnTrigger(), at_thaddius_entrance::OnTrigger(), npc_scarlet_miner_cart::npc_scarlet_miner_cartAI::PassengerBoarded(), npc_doctor::npc_doctorAI::PatientSaved(), npc_simone::npc_simoneAI::Precious(), boss_kaelthas::boss_kaelthasAI::PrepareAdvisors(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), npc_cork_gizelton::npc_cork_gizeltonAI::RelocateSummons(), npc_ulduar_flames_initial::npc_ulduar_flames_initialAI::RemoveAll(), boss_festergut::boss_festergutAI::RemoveBlight(), npc_echo_of_medivh::RemoveCheats(), SummonList::RemoveNotExisting(), npc_cork_gizelton::npc_cork_gizeltonAI::RemoveSummons(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::ReorderInstance(), boss_majordomo::boss_majordomoAI::Reset(), boss_terestian_illhoof::Reset(), npc_varian_wrynn::npc_varian_wrynnAI::Reset(), npc_thrall_bfu::npc_thrall_bfuAI::Reset(), boss_mandokir::boss_mandokirAI::Reset(), npc_dark_iron_attack_generator::Reset(), npc_anubisath_sentinel::aqsentinelAI::Reset(), boss_paletress::boss_paletressAI::Reset(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::Reset(), boss_the_lich_king::boss_the_lich_kingAI::Reset(), boss_sjonnir::boss_sjonnirAI::Reset(), boss_freya::boss_freyaAI::Reset(), boss_razorscale::boss_razorscaleAI::Reset(), npc_xt002_scrapbot::npc_xt002_scrapbotAI::Reset(), npc_xt002_boombot::npc_xt002_boombotAI::Reset(), boss_palehoof::boss_palehoofAI::Reset(), boss_illidari_council::boss_illidari_councilAI::Reset(), npc_captain_saeed::npc_captain_saeedAI::Reset(), SmartScript::ResetBaseObject(), SummonList::Respawn(), RespawnAssemblyOfIron(), boss_sartharion::boss_sartharionAI::RespawnDragons(), RestoreAssemblyHealth(), BfGraveyard::Resurrect(), boss_thorim_runic_colossus::boss_thorim_runic_colossusAI::RunRunicSmash(), boss_gathios_the_shatterer::boss_gathios_the_shattererAI::SelectCouncilMember(), boss_selin_fireheart::boss_selin_fireheartAI::SelectNearestCrystal(), spell_the_lich_king_valkyr_target_search::spell_the_lich_king_valkyr_target_search_SpellScript::SelectTarget(), WorldSession::SendDoFlight(), npc_xt002_heart::npc_xt002_heartAI::SendEnergyToCorner(), Player::SendInitWorldStates(), boss_sartharion::boss_sartharionAI::SendLavaWaves(), npc_anubisath_sentinel::aqsentinelAI::SendMyListToBuddies(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), instance_naxxramas::instance_naxxramas_InstanceMapScript::SetBossState(), npc_ulduar_harpoonfirestate::npc_ulduar_harpoonfirestateAI::SetData(), boss_kaelthas::boss_kaelthasAI::SetData(), boss_the_beast::boss_thebeastAI::SetData(), npc_shandy_dalaran::npc_shandy_dalaranAI::SetData(), npc_thassarian2::npc_thassarian2AI::SetData(), boss_murmur::SetGUID(), npc_crok_scourgebane::npc_crok_scourgebaneAI::SetGUID(), npc_cork_gizelton::npc_cork_gizeltonAI::SetGUID(), npc_tirion_fordring_tft::npc_tirion_fordringAI::sGossipSelect(), boss_hexlord_malacrass::boss_hex_lord_malacrassAI::SpawnAdds(), instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript::SpawnAnubArak(), npc_varian_wrynn::npc_varian_wrynnAI::SpawnWave(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::SpellHit(), npc_ulduar_iron_construct::npc_ulduar_iron_constructAI::SpellHit(), boss_razorscale::boss_razorscaleAI::SpellHit(), npc_drakuru_shackles::npc_drakuru_shacklesAI::SpellHit(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_chesspiece::SpellHitTarget(), boss_yoggsaron_voice::boss_yoggsaron_voiceAI::SpellHitTarget(), npc_icc_gauntlet_controller::npc_icc_gauntlet_controllerAI::SpidersMoveDown(), npc_giant_claw_tentacle::Submerge(), PassengerController::SummonCreatures(), boss_sartharion_shadron::boss_sartharion_shadronAI::SummonedCreatureDies(), npc_drakonid_spawner::SummonedCreatureDies(), boss_kaelthas::boss_kaelthasAI::SummonedCreatureDies(), boss_elder_nadox::SummonHelpers(), npc_artruis_the_hearthless::npc_artruis_the_hearthlessAI::SummonsAction(), npc_captain_saeed::npc_captain_saeedAI::SummonsAction(), npc_cork_gizelton::npc_cork_gizeltonAI::SummonsFollow(), npc_sergeant_bly::npc_sergeant_blyAI::switchFactionIfAlive(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI::TurnAudience(), npc_water_elemental::npc_water_elementalAI::UpdateAI(), boss_rend_blackhand::boss_rend_blackhandAI::UpdateAI(), npc_vaelastrasz_the_red::npc_vaelastrasz_the_redAI::UpdateAI(), npc_core_rager::npc_core_ragerAI::UpdateAI(), boss_majordomo::boss_majordomoAI::UpdateAI(), npc_chesspiece::UpdateAI(), npc_barnes::npc_barnesAI::UpdateAI(), boss_priestess_delrissa::boss_priestess_delrissaAI::UpdateAI(), npc_scarlet_ghoul::npc_scarlet_ghoulAI::UpdateAI(), npc_scarlet_miner::npc_scarlet_minerAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), boss_high_inquisitor_whitemane::boss_high_inquisitor_whitemaneAI::UpdateAI(), npc_madrigosa::npc_madrigosaAI::UpdateAI(), boss_kalecgos::boss_kalecgosAI::UpdateAI(), boss_sathrovarr::boss_sathrovarrAI::UpdateAI(), boss_kiljaeden::boss_kiljaedenAI::UpdateAI(), npc_kalecgos_kj::npc_kalecgos_kjAI::UpdateAI(), npc_cameron::UpdateAI(), npc_eastvale_peasent::UpdateAI(), npc_bh_thalorien_dawnseeker::npc_bh_thalorien_dawnseekerAI::UpdateAI(), npc_varian_wrynn::npc_varian_wrynnAI::UpdateAI(), npc_thrall_bfu::npc_thrall_bfuAI::UpdateAI(), boss_hexlord_malacrass::boss_hex_lord_malacrassAI::UpdateAI(), npc_winterfin_playmate::UpdateAI(), npc_snowfall_glade_playmate::UpdateAI(), npc_the_biggest_tree::UpdateAI(), npc_high_oracle_soo_roo::UpdateAI(), npc_elder_kekek::UpdateAI(), npc_the_etymidian::UpdateAI(), npc_alexstraza_the_lifebinder::UpdateAI(), npc_towering_infernal::npc_towering_infernalAI::UpdateAI(), npc_lesser_doomguard::npc_lesser_doomguardAI::UpdateAI(), npc_arthas::npc_arthasAI::UpdateAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::UpdateAI(), boss_skeram::UpdateAI(), npc_tharnarian::npc_tharnarianAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_sergeant_bly::npc_sergeant_blyAI::UpdateAI(), boss_jedoga_shadowseeker::UpdateAI(), npc_twilight_volunteer::UpdateAI(), boss_sartharion::boss_sartharionAI::UpdateAI(), boss_general_zarithrian::boss_general_zarithrianAI::UpdateAI(), boss_halion::boss_halionAI::UpdateAI(), boss_twilight_halion::boss_twilight_halionAI::UpdateAI(), npc_halion_controller::npc_halion_controllerAI::UpdateAI(), boss_paletress::boss_paletressAI::UpdateAI(), npc_toc5_grand_champion_minion::npc_toc5_grand_champion_minionAI::UpdateAI(), boss_grand_champion::boss_grand_championAI::UpdateAI(), boss_anubarak_trial::boss_anubarak_trialAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), boss_jormungarAI::UpdateAI(), boss_novos::boss_novosAI::UpdateAI(), npc_hor_leader::npc_hor_leaderAI::UpdateAI(), npc_blood_queen_lana_thel::npc_blood_queen_lana_thelAI::UpdateAI(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::UpdateAI(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::UpdateAI(), boss_festergut::boss_festergutAI::UpdateAI(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::UpdateAI(), npc_cult_fanatic::npc_cult_fanaticAI::UpdateAI(), npc_cult_adherent::npc_cult_adherentAI::UpdateAI(), boss_rotface::boss_rotfaceAI::UpdateAI(), boss_the_lich_king::boss_the_lich_kingAI::UpdateAI(), npc_tirion_fordring_tft::npc_tirion_fordringAI::UpdateAI(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::UpdateAI(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::UpdateAI(), npc_terenas_menethil::npc_terenas_menethilAI::UpdateAI(), npc_highlord_tirion_fordring_lh::npc_highlord_tirion_fordringAI::UpdateAI(), npc_crok_scourgebane::npc_crok_scourgebaneAI::UpdateAI(), boss_kelthuzad::boss_kelthuzadAI::UpdateAI(), boss_thaddius::boss_thaddiusAI::UpdateAI(), boss_thaddius_summon::boss_thaddius_summonAI::UpdateAI(), npc_stormforged_lieutenant::npc_stormforged_lieutenantAI::UpdateAI(), boss_sjonnir::boss_sjonnirAI::UpdateAI(), boss_algalon_the_observer::boss_algalon_the_observerAI::UpdateAI(), npc_freya_ward::npc_freya_wardAI::UpdateAI(), boss_freya_elder_brightleaf::boss_freya_elder_brightleafAI::UpdateAI(), boss_vezax::boss_vezaxAI::UpdateAI(), npc_ulduar_hodir_priest::npc_ulduar_hodir_priestAI::UpdateAI(), npc_ulduar_hodir_druid::npc_ulduar_hodir_druidAI::UpdateAI(), npc_ulduar_hodir_shaman::npc_ulduar_hodir_shamanAI::UpdateAI(), npc_ulduar_hodir_mage::npc_ulduar_hodir_mageAI::UpdateAI(), boss_kologarn_eyebeam::boss_kologarn_eyebeamAI::UpdateAI(), npc_ulduar_flames_initial::npc_ulduar_flames_initialAI::UpdateAI(), boss_razorscale::boss_razorscaleAI::UpdateAI(), npc_ulduar_expedition_engineer::npc_ulduar_expedition_engineerAI::UpdateAI(), boss_yoggsaron_sara::boss_yoggsaron_saraAI::UpdateAI(), npc_ulduar_storm_tempered_keeper::npc_ulduar_storm_tempered_keeperAI::UpdateAI(), boss_ingvar_the_plunderer::boss_ingvar_the_plundererAI::UpdateAI(), boss_palehoof::boss_palehoofAI::UpdateAI(), boss_svala::boss_svalaAI::UpdateAI(), npc_thassarian2::npc_thassarian2AI::UpdateAI(), npc_archmage_landalock::npc_archmage_landalockAI::UpdateAI(), npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI::UpdateAI(), npc_lord_arete::npc_lord_areteAI::UpdateAI(), npc_blessed_banner::npc_blessed_bannerAI::UpdateAI(), npc_feedin_da_goolz::npc_feedin_da_goolzAI::UpdateAI(), npc_overlord_drakuru_betrayal::npc_overlord_drakuru_betrayalAI::UpdateAI(), boss_illidan_stormrage::boss_illidan_stormrageAI::UpdateAI(), boss_shade_of_akama::boss_shade_of_akamaAI::UpdateAI(), npc_akama_shade::npc_akamaAI::UpdateAI(), boss_veras_darkshadow::boss_veras_darkshadowAI::UpdateAI(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::UpdateAI(), boss_high_astromancer_solarian::boss_high_astromancer_solarianAI::UpdateAI(), boss_kaelthas::boss_kaelthasAI::UpdateAI(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), npc_pet_gen_fetch_ball::UpdateAI(), npc_injured_patient::npc_injured_patientAI::UpdateAI(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::UpdateAI(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::UpdateAI(), boss_ichoron::boss_ichoronAI::UpdateAI(), npc_suppresser::npc_suppresserAI::UpdateAI(), npc_xt002_scrapbot::npc_xt002_scrapbotAI::UpdateAI(), npc_xt002_boombot::npc_xt002_boombotAI::UpdateAI(), npc_warmage_violetstand::UpdateAI(), npc_halion_controller::npc_halion_controllerAI::UpdateCorporeality(), npc_cork_gizelton::npc_cork_gizeltonAI::UpdateEscortAI(), npc_tirions_gambit_tirion::npc_tirions_gambit_tirionAI::UpdateEscortAI(), npc_akama_illidan::npc_akama_illidanAI::UpdateEscortAI(), npc_tooga::npc_toogaAI::UpdateFollowerAI(), npc_ringo::npc_ringoAI::UpdateFollowerAI(), boss_netherspite::UpdatePortals(), npc_grimstone::npc_grimstoneAI::updateReset(), brann_bronzebeard::brann_bronzebeardAI::WaypointReached(), npc_tirions_gambit_tirion::npc_tirions_gambit_tirionAI::WaypointReached(), npc_scarlet_miner::npc_scarlet_minerAI::WaypointReached(), npc_varian_wrynn::npc_varian_wrynnAI::WaypointReached(), hyjalAI::WaypointReached(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::WaypointReached(), npc_taretha::npc_tarethaAI::WaypointReached(), npc_general_andorov::WaypointReached(), npc_cork_gizelton::npc_cork_gizeltonAI::WaypointReached(), npc_crok_scourgebane::npc_crok_scourgebaneAI::WaypointReached(), npc_emily::npc_emilyAI::WaypointReached(), and npc_crok_scourgebane::npc_crok_scourgebaneAI::WaypointStart().

◆ GetCreatureOrPetOrVehicle()

Creature * ObjectAccessor::GetCreatureOrPetOrVehicle ( WorldObject const &  u,
ObjectGuid const  guid 
)

◆ GetDynamicObject()

DynamicObject * ObjectAccessor::GetDynamicObject ( WorldObject const &  u,
ObjectGuid const  guid 
)
200{
201 return u.GetMap()->GetDynamicObject(guid);
202}

References Map::GetDynamicObject(), and WorldObject::GetMap().

Referenced by GetObjectByTypeMask(), and GetWorldObject().

◆ GetGameObject()

GameObject * ObjectAccessor::GetGameObject ( WorldObject const &  u,
ObjectGuid const  guid 
)
190{
191 return u.GetMap()->GetGameObject(guid);
192}

References Map::GetGameObject(), and WorldObject::GetMap().

Referenced by Unit::_UpdateSpells(), boss_mimiron::boss_mimironAI::CloseDoorAndButton(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::DoAction(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::DoAction(), brann_bronzebeard::brann_bronzebeardAI::DoAction(), boss_kiljaeden::boss_kiljaedenAI::EmpowerOrb(), spell_the_lich_king_quake::spell_the_lich_king_quake_SpellScript::FilterTargets(), BfCapturePoint::GetCapturePointGo(), Unit::GetGameObject(), GameObject::GetLinkedTrap(), GetObjectByTypeMask(), boss_thorim::boss_thorimAI::GetThorimObject(), GetWorldObject(), go_celestial_planetarium_access::go_celestial_planetarium_accessAI::GossipHello(), boss_netherspite::HandleDoors(), boss_drakos::boss_drakosAI::JustDied(), boss_thorim_runic_colossus::boss_thorim_runic_colossusAI::JustDied(), boss_thorim_ancient_rune_giant::boss_thorim_ancient_rune_giantAI::JustDied(), boss_xt002::boss_xt002AI::JustDied(), boss_yoggsaron::boss_yoggsaronAI::JustDied(), boss_xt002::boss_xt002AI::JustEngagedWith(), boss_arlokk::boss_arlokkAI::JustReachedHome(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::MovementInform(), go_shadowforge_brazier::OnGossipHello(), BattlefieldWG::ProcessEvent(), Unit::RemoveAllGameObjects(), Unit::RemoveGameObject(), boss_ossirian::Reset(), boss_xt002::boss_xt002AI::Reset(), boss_yoggsaron_sara::boss_yoggsaron_saraAI::Reset(), SmartScript::ResetBaseObject(), brann_bronzebeard::brann_bronzebeardAI::ResetEvent(), boss_mimiron::boss_mimironAI::ResetGameObjects(), npc_kiljaeden_controller::npc_kiljaeden_controllerAI::ResetOrbs(), boss_svala::boss_svalaAI::SetData(), boss_kaelthas::boss_kaelthasAI::SetRoomState(), boss_flame_leviathan::boss_flame_leviathanAI::TurnGates(), boss_flame_leviathan::boss_flame_leviathanAI::TurnHealStations(), boss_majordomo::boss_majordomoAI::UpdateAI(), boss_ragnaros::boss_ragnarosAI::UpdateAI(), npc_crystal_spike::npc_crystal_spikeAI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), boss_yoggsaron_sara::boss_yoggsaron_saraAI::UpdateAI(), boss_svala::boss_svalaAI::UpdateAI(), npc_shadowmoon_tuber_node::npc_shadowmoon_tuber_nodeAI::UpdateAI(), brann_bronzebeard::brann_bronzebeardAI::UpdateEscortAI(), Player::UpdateForQuestWorldObjects(), and brann_bronzebeard::brann_bronzebeardAI::WaypointReached().

◆ GetObjectByTypeMask()

Object * ObjectAccessor::GetObjectByTypeMask ( WorldObject const &  p,
ObjectGuid const  guid,
uint32  typemask 
)
147{
148 switch (guid.GetHigh())
149 {
150 case HighGuid::Item:
151 if (typemask & TYPEMASK_ITEM && p.GetTypeId() == TYPEID_PLAYER)
152 return ((Player const&)p).GetItemByGuid(guid);
153 break;
154 case HighGuid::Player:
155 if (typemask & TYPEMASK_PLAYER)
156 return GetPlayer(p, guid);
157 break;
161 if (typemask & TYPEMASK_GAMEOBJECT)
162 return GetGameObject(p, guid);
163 break;
164 case HighGuid::Unit:
166 if (typemask & TYPEMASK_UNIT)
167 return GetCreature(p, guid);
168 break;
169 case HighGuid::Pet:
170 if (typemask & TYPEMASK_UNIT)
171 return GetPet(p, guid);
172 break;
174 if (typemask & TYPEMASK_DYNAMICOBJECT)
175 return GetDynamicObject(p, guid);
176 break;
177 default:
178 return nullptr;
179 }
180
181 return nullptr;
182}
@ TYPEID_PLAYER
Definition: ObjectGuid.h:38
@ TYPEMASK_ITEM
Definition: ObjectGuid.h:49
@ TYPEMASK_DYNAMICOBJECT
Definition: ObjectGuid.h:54
@ TYPEMASK_UNIT
Definition: ObjectGuid.h:51
@ TYPEMASK_GAMEOBJECT
Definition: ObjectGuid.h:53
@ TYPEMASK_PLAYER
Definition: ObjectGuid.h:52
GameObject * GetGameObject(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:189
DynamicObject * GetDynamicObject(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
Player * GetPlayer(Map const *, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:225

References DynamicObject, GameObject, GetCreature(), GetDynamicObject(), GetGameObject(), ObjectGuid::GetHigh(), GetPet(), GetPlayer(), Object::GetTypeId(), Item, Mo_Transport, Pet, Player, Transport, TYPEID_PLAYER, TYPEMASK_DYNAMICOBJECT, TYPEMASK_GAMEOBJECT, TYPEMASK_ITEM, TYPEMASK_PLAYER, TYPEMASK_UNIT, Unit, and Vehicle.

Referenced by Player::GetViewpoint(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverQueryQuestOpcode(), WorldSession::HandleQuestgiverRequestRewardOpcode(), WorldSession::HandleQuestgiverStatusQueryOpcode(), and Player::SendPreparedQuest().

◆ GetPet()

Pet * ObjectAccessor::GetPet ( WorldObject const &  u,
ObjectGuid const  guid 
)

◆ GetPlayer() [1/2]

Player * ObjectAccessor::GetPlayer ( Map const *  m,
ObjectGuid const  guid 
)
226{
227 if (Player * player = HashMapHolder<Player>::Find(guid))
228 if (player->IsInWorld() && player->GetMap() == m)
229 return player;
230
231 return nullptr;
232}
Definition: ObjectAccessor.h:45

Referenced by npc_hidden_cultist::npc_hidden_cultistAI::AttackPlayer(), Corpse::BuildValuesUpdate(), npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::CheckEventFail(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::CheckEventFail(), BattlegroundWS::CheckFlagKeeperInArea(), npc_cork_gizelton::npc_cork_gizeltonAI::CheckPlayer(), npc_simon_bunny::npc_simon_bunnyAI::CheckPlayer(), GameObject::CheckRitualList(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::CheckSummons(), GameObject::ClearRitualList(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::CreditPlayer(), npc_eris_hevenfire::npc_eris_hevenfireAI::DoAction(), npc_chained_spirit::DoAction(), npc_ball_of_flame::npc_ball_of_flameAI::DoAction(), npc_anubarak_spike::npc_anubarak_spikeAI::DoAction(), BattlegroundIC::DoAction(), npc_clintar_spirit::npc_clintar_spiritAI::EnterEvadeMode(), npc_overlord_drakuru_betrayal::npc_overlord_drakuru_betrayalAI::EnterEvadeMode(), NPCStaveQuestAI::EvadeOnFeignDeath(), EoEDrakeEnterVehicleEvent::Execute(), VerasEnvenom::Execute(), instance_stratholme::instance_stratholme_InstanceMapScript::gate_critter_delay(), Unit::GetCharmerOrOwnerPlayerOrPlayerItself(), Unit::GetDiseasesByCaster(), NPCStaveQuestAI::GetGossipPlayer(), FollowerAI::GetLeaderForFollower(), GetObjectByTypeMask(), Puppet::GetOwner(), npc_pet_gen_soul_trader_beacon::GetOwner(), npc_conversing_with_the_depths_trigger::npc_conversing_with_the_depths_triggerAI::GetPlayer(), npc_hourglass_of_eternity::npc_hourglass_of_eternityAI::GetPlayer(), GetPlayer(), npc_escortAI::GetPlayerForEscort(), boss_headless_horseman::GetRhymePlayer(), Player::GetSelectedPlayer(), GetUnit(), npc_wild_wyrm::npc_wild_wyrmAI::GetValidPlayer(), GetWorldObject(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), npc_simon_bunny::npc_simon_bunnyAI::GiveRewardForLevel(), npc_imprisoned_beryl_sorcerer::npc_imprisoned_beryl_sorcererAI::GotStinged(), WorldSession::HandleAcceptGrantLevel(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), WorldSession::HandleEjectPassenger(), WorldSession::HandleEnterPlayerVehicle(), WorldSession::HandleGrantLevel(), WorldSession::HandleInspectHonorStatsOpcode(), WorldSession::HandleInspectOpcode(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleQueryInspectAchievements(), WorldSession::HandleQuestConfirmAccept(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestPushResult(), pyrewood_ambush::pyrewood_ambushAI::JustDied(), npc_zulaman_hostage::npc_zulaman_hostageAI::JustDied(), npc_clintar_spirit::npc_clintar_spiritAI::JustDied(), npc_ice_tomb::npc_ice_tombAI::JustDied(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::JustSummoned(), npc_overlord_drakuru_betrayal::npc_overlord_drakuru_betrayalAI::MoveInLineOfSight(), npc_unworthy_initiate::npc_unworthy_initiateAI::MovementInform(), npc_hive_zara_larva::MovementInform(), npc_stillpine_capitive::npc_stillpine_capitiveAI::MovementInform(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::MovementInform(), npc_chained_spirit::MovementInform(), npc_doctor::npc_doctorAI::PatientDied(), BattlegroundWS::PostUpdateImpl(), npc_hidden_cultist::npc_hidden_cultistAI::PreScript(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), SmartScript::ProcessAction(), BattlegroundWS::RemoveAssaultAuras(), npc_finklestein::npc_finklesteinAI::RightClickCauldron(), boss_baroness_anastari::boss_baroness_anastariAI::SchedulePossession(), Map::ScriptsProcess(), npc_anubarak_spike::npc_anubarak_spikeAI::SelectNewTarget(), Unit::SendComboPoints(), npc_q24545_lich_king::npc_q24545_lich_kingAI::SetData(), npc_bloodmage_laurith::npc_bloodmage_laurithAI::SetGUID(), Unit::SetOwnerGUID(), npc_deaths_door_fell_cannon_target_bunny::npc_deaths_door_fell_cannon_target_bunnyAI::SpellHit(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), npc_finklestein::npc_finklesteinAI::StartNextTask(), SmartAI::StopFollow(), pyrewood_ambush::pyrewood_ambushAI::SummonCreatureWithRandomTarget(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), GameObject::Update(), Creature::Update(), go_gilded_brazier::go_gilded_brazierAI::UpdateAI(), npc_kernobee::npc_kernobeeAI::UpdateAI(), npc_death_knight_initiate::npc_death_knight_initiateAI::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_crusade_persuaded::npc_crusade_persuadedAI::UpdateAI(), npc_a_special_surprise::npc_a_special_surpriseAI::UpdateAI(), npc_eris_hevenfire::npc_eris_hevenfireAI::UpdateAI(), npc_bh_thalorien_dawnseeker::npc_bh_thalorien_dawnseekerAI::UpdateAI(), npc_grand_magister_rommath::npc_grand_magister_rommathAI::UpdateAI(), pyrewood_ambush::pyrewood_ambushAI::UpdateAI(), npc_calvin_montague::npc_calvin_montagueAI::UpdateAI(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::UpdateAI(), npc_forest_frog::npc_forest_frogAI::UpdateAI(), npc_winterfin_playmate::UpdateAI(), npc_snowfall_glade_playmate::UpdateAI(), npc_the_biggest_tree::UpdateAI(), npc_high_oracle_soo_roo::UpdateAI(), npc_elder_kekek::UpdateAI(), npc_the_etymidian::UpdateAI(), npc_alexstraza_the_lifebinder::UpdateAI(), npc_midsummer_torch_target::UpdateAI(), npc_rizzle_sprysprocket::npc_rizzle_sprysprocketAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), npc_rabid_thistle_bear::npc_rabid_thistle_bearAI::UpdateAI(), npc_clintar_spirit::npc_clintar_spiritAI::UpdateAI(), npc_shenthul::npc_shenthulAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_sergeant_bly::npc_sergeant_blyAI::UpdateAI(), npc_anubarak_spike::npc_anubarak_spikeAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), boss_gormok::boss_gormokAI::UpdateAI(), boss_icehowl::boss_icehowlAI::UpdateAI(), boss_twin_valkyrAI::UpdateAI(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::UpdateAI(), npc_ice_tomb::npc_ice_tombAI::UpdateAI(), npc_scion_of_eternity::npc_scion_of_eternityAI::UpdateAI(), boss_ignis::boss_ignisAI::UpdateAI(), boss_yoggsaron_voice::boss_yoggsaron_voiceAI::UpdateAI(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::UpdateAI(), npc_beryl_sorcerer::npc_beryl_sorcererAI::UpdateAI(), npc_hidden_cultist::npc_hidden_cultistAI::UpdateAI(), npc_bloodmage_laurith::npc_bloodmage_laurithAI::UpdateAI(), npc_q24545_lich_king::npc_q24545_lich_kingAI::UpdateAI(), npc_venture_co_straggler::npc_venture_co_stragglerAI::UpdateAI(), npc_battle_at_valhalas::npc_battle_at_valhalasAI::UpdateAI(), npc_wild_wyrm::npc_wild_wyrmAI::UpdateAI(), npc_overlord_drakuru_betrayal::npc_overlord_drakuru_betrayalAI::UpdateAI(), boss_ahune::UpdateAI(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::UpdateAI(), npc_magister_aledis::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), npc_phase_hunter::npc_phase_hunterAI::UpdateAI(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_pet_gen_imp_in_a_bottle::UpdateAI(), npc_magwin::npc_magwinAI::UpdateEscortAI(), GameObject::Use(), and npc_cork_gizelton::npc_cork_gizeltonAI::WaypointReached().

◆ GetPlayer() [2/2]

Player * ObjectAccessor::GetPlayer ( WorldObject const &  u,
ObjectGuid const  guid 
)
235{
236 return GetPlayer(u.GetMap(), guid);
237}

References WorldObject::GetMap(), and GetPlayer().

◆ GetPlayers()

◆ GetSpawnedCreatureByDBGUID()

Creature * ObjectAccessor::GetSpawnedCreatureByDBGUID ( uint32  mapId,
uint64  guid 
)

Get a spawned creature by DB guid column. MODULE USAGE ONLY - USE IT FOR CUSTOM CONTENT.

Parameters
uint32mapId The map id where the creature is spawned.
uint64guid Database guid of the creature we are accessing.
292{
293 if (Map* map = sMapMgr->FindBaseMap(mapId))
294 {
295 auto bounds = map->GetCreatureBySpawnIdStore().equal_range(guid);
296
297 if (bounds.first == bounds.second)
298 {
299 return nullptr;
300 }
301
302 if (Creature* creature = bounds.first->second)
303 {
304 return creature;
305 }
306 }
307
308 return nullptr;
309}
#define sMapMgr
Definition: MapMgr.h:221
Definition: Creature.h:46
Definition: Map.h:312

References sMapMgr.

◆ GetSpawnedGameObjectByDBGUID()

GameObject * ObjectAccessor::GetSpawnedGameObjectByDBGUID ( uint32  mapId,
uint64  guid 
)

Get a spawned gameobject by DB guid column. MODULE USAGE ONLY - USE IT FOR CUSTOM CONTENT.

Parameters
uint32mapId The map id where the gameobject is spawned.
uint64guid Database guid of the gameobject we are accessing.
318{
319 if (Map* map = sMapMgr->FindBaseMap(mapId))
320 {
321 auto bounds = map->GetGameObjectBySpawnIdStore().equal_range(guid);
322
323 if (bounds.first == bounds.second)
324 {
325 return nullptr;
326 }
327
328 if (GameObject* go = bounds.first->second)
329 {
330 return go;
331 }
332 }
333
334 return nullptr;
335}
Definition: GameObject.h:122

References sMapMgr.

◆ GetTransport()

Transport * ObjectAccessor::GetTransport ( WorldObject const &  u,
ObjectGuid const  guid 
)
195{
196 return u.GetMap()->GetTransport(guid);
197}

References WorldObject::GetMap(), and Map::GetTransport().

Referenced by ResetEncounterEvent::Execute().

◆ GetUnit()

Unit * ObjectAccessor::GetUnit ( WorldObject const &  u,
ObjectGuid const  guid 
)
205{
206 if (guid.IsPlayer())
207 return GetPlayer(u, guid);
208
209 if (guid.IsPet())
210 return GetPet(u, guid);
211
212 return GetCreature(u, guid);
213}

References GetCreature(), GetPet(), GetPlayer(), ObjectGuid::IsPet(), and ObjectGuid::IsPlayer().

Referenced by Vehicle::AddPassenger(), DynamicObject::BindToCaster(), Spell::cancel(), boss_archimonde::boss_archimondeAI::CanUseFingerOfDeath(), npc_hallows_end_soh::CastFires(), boss_mor_grayhoof::CastRandomSpell(), SmartAI::CheckConditions(), VehicleAI::CheckConditions(), Aura::Create(), npc_mograine::npc_mograineAI::DamageTaken(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::DamageTaken(), Spell::DelayedChannel(), boss_zuljin::boss_zuljinAI::DespawnAdds(), UnitAI::DoAddAuraToAllHostilePlayers(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), boss_nightbane::DoCastOnFarAwayPlayers(), boss_archimonde::boss_archimondeAI::DoCastProtection(), UnitAI::DoCastToAllHostilePlayers(), PointMovementGenerator< T >::DoFinalize(), Spell::EffectJumpDest(), Spell::EffectPersistentAA(), boss_faction_championsAI::EnemiesInRange(), boss_malchezaar::EnfeebleResetHealth(), SmartAI::EnterEvadeMode(), boss_halazzi::boss_halazziAI::EnterPhase(), boss_zuljin::boss_zuljinAI::EnterPhase(), AssistDelayEvent::Execute(), TemporaryThreatModifierEvent::Execute(), RedirectSpellEvent::Execute(), ReflectEvent::Execute(), AuraMunchingQueue::Execute(), DealDebrisDamage::Execute(), spell_eoe_ph3_surge_of_power::spell_eoe_ph3_surge_of_power_SpellScript::FilterTargets(), spell_putricide_mutated_transformation_dmg::spell_putricide_mutated_transformation_dmg_SpellScript::FilterTargetsInitial(), boss_supremus::boss_supremusAI::FindHatefulStrikeTarget(), npc_hallows_end_soh::FinishEvent(), boss_shade_of_aran::FlameWreathEffect(), Aura::GetCaster(), Unit::GetCharm(), Unit::GetCharmer(), Unit::GetFirstControlled(), SmartScript::GetLastInvoker(), Minion::GetOwner(), GameObject::GetOwner(), Unit::GetOwner(), Vehicle::GetPassenger(), FleeingMovementGenerator< T >::GetPoint(), Unit::GetRedirectThreatTarget(), ChatHandler::getSelectedObject(), Player::GetSelectedUnit(), npc_dark_iron_guzzler::GetTarget(), SmartScript::GetTargets(), spell_dk_scourge_strike::HandleAfterHit(), WorldSession::HandleAttackSwingOpcode(), boss_janalai::boss_janalaiAI::HandleBombSequence(), WorldSession::HandleChangeSeatsOnControlledVehicle(), spell_item_gnomish_death_ray::HandleDummy(), Unit::HandleDummyAuraProc(), spell_rog_killing_spree::spell_rog_killing_spree_AuraScript::HandleEffectPeriodic(), WorldSession::HandleEjectPassenger(), WorldSession::HandleFarSightOpcode(), gobject_commandscript::HandleGameObjectDeleteCommand(), WorldSession::HandleMirrorImageDataRequest(), WorldSession::HandlePetAction(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandlePetSetAction(), spell_item_lil_phylactery::HandleProc(), spell_rog_blade_flurry::HandleProc(), spell_kaelthas_nether_beam::spell_kaelthas_nether_beam_SpellScript::HandleScriptEffect(), WorldSession::HandleSetSelectionOpcode(), WorldSession::HandleTextEmoteOpcode(), Spell::HandleThreatSpells(), WorldSession::HandleUpdateMissileTrajectory(), WorldSession::HandleUpdateProjectilePosition(), Spell::InitExplicitTargets(), Totem::InitStats(), NPCStaveQuestAI::IsFairFight(), npc_tiger_matriarch::npc_tiger_matriarchAI::IsSummonedBy(), boss_sapphiron::boss_sapphironAI::IsValidExplosionTarget(), Vehicle::IsVehicleInUse(), npc_kilrek::JustDied(), npc_demon_chain::JustDied(), boss_hexlord_malacrass::boss_hex_lord_malacrassAI::JustDied(), boss_zuljin::boss_zuljinAI::JustDied(), npc_zulian_prowler::npc_zulian_prowlerAI::JustDied(), npc_eye_tentacle::JustDied(), npc_claw_tentacle::JustDied(), npc_giant_claw_tentacle::JustDied(), npc_giant_eye_tentacle::JustDied(), npc_snobold_vassal::npc_snobold_vassalAI::JustDied(), boss_maexxna_webwrap::boss_maexxna_webwrapAI::JustDied(), boss_freya_iron_root::boss_freya_iron_rootAI::JustDied(), boss_yoggsaron_constrictor_tentacle::boss_yoggsaron_constrictor_tentacleAI::JustDied(), npc_inner_demon::npc_inner_demonAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), npc_frost_tomb::npc_frost_tombAI::JustDied(), boss_bigbadwolf::JustEngagedWith(), npc_healing_ward::JustEngagedWith(), npc_obsidian_eradicator::JustEngagedWith(), npc_obsidian_nullifier::JustEngagedWith(), boss_blackheart_the_inciter::JustEngagedWith(), boss_swamplord_muselek::JustEngagedWith(), boss_archimonde::boss_archimondeAI::JustSummoned(), boss_selin_fireheart::boss_selin_fireheartAI::MovementInform(), npc_akilzon_eagle::npc_akilzon_eagleAI::MovementInform(), npc_pet_mage_mirror_image::MySelectNextTarget(), boss_razorgore::boss_razorgoreAI::OnCharmed(), npc_chesspiece::OnCharmed(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::OnPeriodic(), AbominationDespawner::operator()(), Unit::OutDebugInfo(), boss_chromaggus::boss_chromaggusAI::PathEndReached(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), ThreatMgr::processThreatEvent(), boss_priestess_lackey_commonAI::RecalculateThreat(), boss_faction_championsAI::RecalculateThreat(), Vehicle::RelocatePassengers(), DynamicObject::RemoveCasterViewpoint(), Unit::RemoveCharmedBy(), GameObject::RemoveFromOwner(), npc_pet_dk_ebon_gargoyle::npc_pet_dk_ebon_gargoyleAI::RemoveTargetAura(), npc_zulian_prowler::npc_zulian_prowlerAI::Reset(), boss_archimonde::boss_archimondeAI::Reset(), boss_faction_championsAI::SelectEnemyCaster(), Spell::SelectImplicitAreaTargets(), npc_scholomance_occultist::npc_scholomance_occultistAI::SelectUnitCasting(), DynamicObject::SetCasterViewpoint(), Unit::SetControlled(), spell_mother_shahraz_fatal_attraction::spell_mother_shahraz_fatal_attraction_SpellScript::SetDest(), boss_mandokir::boss_mandokirAI::SetGUID(), boss_maexxna_webwrap::boss_maexxna_webwrapAI::SetGUID(), Unit::SetSpeed(), Spell::Spell(), Vehicle::TeleportVehicle(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_eachother(), GameObject::Update(), Unit::Update(), TotemAI::UpdateAI(), npc_rocknot::npc_rocknotAI::UpdateAI(), boss_drakkisath::boss_drakkisathAI::UpdateAI(), boss_vaelastrasz::boss_vaelAI::UpdateAI(), npc_image_of_medivh::npc_image_of_medivhAI::UpdateAI(), boss_yazzai::boss_yazzaiAI::UpdateAI(), boss_selin_fireheart::boss_selin_fireheartAI::UpdateAI(), npc_mograine::npc_mograineAI::UpdateAI(), npc_balance_of_light_and_shadow::npc_balance_of_light_and_shadowAI::UpdateAI(), boss_akilzon::boss_akilzonAI::UpdateAI(), boss_halazzi::boss_halazziAI::UpdateAI(), boss_zuljin::boss_zuljinAI::UpdateAI(), boss_arlokk::boss_arlokkAI::UpdateAI(), boss_grilek::boss_grilekAI::UpdateAI(), boss_renataki::boss_renatakiAI::UpdateAI(), npc_hallows_end_soh::UpdateAI(), npc_ancient_wisp::npc_ancient_wispAI::UpdateAI(), npc_doomfire_targetting::npc_doomfire_targettingAI::UpdateAI(), boss_archimonde::boss_archimondeAI::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), hyjalAI::UpdateAI(), npc_tiger_matriarch::npc_tiger_matriarchAI::UpdateAI(), boss_taldaram::UpdateAI(), npc_toc5_grand_champion_minion::npc_toc5_grand_champion_minionAI::UpdateAI(), boss_grand_champion::boss_grand_championAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::UpdateAI(), npc_putricide_oozeAI::UpdateAI(), npc_icc_ice_sphere::npc_icc_ice_sphereAI::UpdateAI(), boss_sapphiron::boss_sapphironAI::UpdateAI(), npc_hol_monument::npc_hol_monumentAI::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), npc_wg_siege_machine::npc_wg_siege_machineAI::UpdateAI(), boss_the_lurker_below::boss_the_lurker_belowAI::UpdateAI(), boss_alar::boss_alarAI::UpdateAI(), npc_phase_hunter::npc_phase_hunterAI::UpdateAI(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::UpdateAI(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI(), guard_shattrath_scryer::guard_shattrath_scryerAI::UpdateAI(), guard_shattrath_aldor::guard_shattrath_aldorAI::UpdateAI(), npc_garments_of_quests::npc_garments_of_questsAI::UpdateAI(), npc_spring_rabbit::npc_spring_rabbitAI::UpdateAI(), PetAI::UpdateAI(), npc_frost_tomb::npc_frost_tombAI::UpdateAI(), Spell::UpdateChanneledTargetList(), HostileReference::updateOnlineStatus(), Spell::UpdatePointers(), boss_netherspite::UpdatePortals(), boss_anetheron::boss_anetheronAI::WaypointReached(), boss_azgalor::boss_azgalorAI::WaypointReached(), boss_kazrogal::boss_kazrogalAI::WaypointReached(), boss_rage_winterchill::boss_rage_winterchillAI::WaypointReached(), npc_giant_infernal::npc_giant_infernalAI::WaypointReached(), npc_abomination::npc_abominationAI::WaypointReached(), npc_ghoul::npc_ghoulAI::WaypointReached(), npc_necromancer::npc_necromancerAI::WaypointReached(), npc_banshee::npc_bansheeAI::WaypointReached(), npc_crypt_fiend::npc_crypt_fiendAI::WaypointReached(), npc_fel_stalker::npc_fel_stalkerAI::WaypointReached(), npc_frost_wyrm::npc_frost_wyrmAI::WaypointReached(), npc_gargoyle::npc_gargoyleAI::WaypointReached(), and Vehicle::~Vehicle().

◆ GetWorldObject()

WorldObject * ObjectAccessor::GetWorldObject ( WorldObject const &  p,
ObjectGuid const  guid 
)
121{
122 switch (guid.GetHigh())
123 {
124 case HighGuid::Player:
125 return GetPlayer(p, guid);
129 return GetGameObject(p, guid);
131 case HighGuid::Unit:
132 return GetCreature(p, guid);
133 case HighGuid::Pet:
134 return GetPet(p, guid);
136 return GetDynamicObject(p, guid);
137 case HighGuid::Corpse:
138 return GetCorpse(p, guid);
139 default:
140 return nullptr;
141 }
142
143 return nullptr;
144}
Corpse * GetCorpse(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:184

References Corpse, DynamicObject, GameObject, GetCorpse(), GetCreature(), GetDynamicObject(), GetGameObject(), ObjectGuid::GetHigh(), GetPet(), GetPlayer(), Mo_Transport, Pet, Player, Transport, Unit, and Vehicle.

Referenced by Unit::_UpdateSpells(), SummonList::DoForAllSummons(), SpellCastTargets::GetObjectTargetChannel(), TempSummon::GetSummoner(), SmartScript::GetTargets(), AuraEffect::PeriodicTick(), Acore::VisibleNotifier::SendToSelf(), SpellCastTargets::Update(), ObjectGuidVector::UpdateObjects(), and Spell::UpdatePointers().

◆ RemoveObject() [1/2]

template<>
void ObjectAccessor::RemoveObject ( Player player)
346{
349}
void Remove(Player *p)
Definition: ObjectAccessor.cpp:98
static void Remove(T *o)
Definition: ObjectAccessor.cpp:50

References PlayerNameMapHolder::Remove(), and HashMapHolder< T >::Remove().

◆ RemoveObject() [2/2]

template<class T >
void ObjectAccessor::RemoveObject ( T *  object)
100 {
102 }

References HashMapHolder< T >::Remove().

Referenced by Map::DeleteFromWorld().

◆ SaveAllPlayers()

void ObjectAccessor::SaveAllPlayers ( )
268{
269 std::shared_lock<std::shared_mutex> lock(*HashMapHolder<Player>::GetLock());
270
272 for (HashMapHolder<Player>::MapType::const_iterator itr = m.begin(); itr != m.end(); ++itr)
273 itr->second->SaveToDB(false, false);
274}
HashMapHolder< Player >::MapType const & GetPlayers()
Definition: ObjectAccessor.cpp:80
std::unordered_map< ObjectGuid, T * > MapType
Definition: ObjectAccessor.h:51

References GetPlayers().

Referenced by misc_commandscript::HandleSaveAllCommand(), and World::ShutdownServ().

◆ UpdatePlayerNameMapReference()

void ObjectAccessor::UpdatePlayerNameMapReference ( std::string  oldname,
Player player 
)
352{
355}
void RemoveByName(std::string const &name)
Definition: ObjectAccessor.cpp:103

References PlayerNameMapHolder::Insert(), and PlayerNameMapHolder::RemoveByName().

Referenced by character_commandscript::HandleCharacterRenameCommand().