![]() |
TrinityCore
|
| void ObjectAccessor::AddObject | ( | Player * | player | ) |
Definition at line 277 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Insert(), and HashMapHolder< T >::Insert().
| void ObjectAccessor::AddObject | ( | T * | object | ) |
Definition at line 88 of file ObjectAccessor.h.
References HashMapHolder< T >::Insert().
Referenced by WorldSession::HandlePlayerLogin().
| Player * ObjectAccessor::FindConnectedPlayer | ( | ObjectGuid const & | guid | ) |
Definition at line 257 of file ObjectAccessor.cpp.
References HashMapHolder< T >::Find().
Referenced by npc_commandscript::_IterateNotNormalLootMap(), Guild::AddMember(), ArenaTeam::BroadcastPacket(), Battlefield::BroadcastPacketToQueue(), Group::ChangeLeader(), Group::ChangeMembersGroup(), Group::CountTheRoll(), AccountMgr::DeleteAccount(), Guild::DeleteMember(), ArenaTeam::DelMember(), Group::Disband(), ArenaTeamMgr::DistributeArenaPoints(), Arena::EndBattleground(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Guild::Member::FindConnectedPlayer(), ArenaTeam::FinishGame(), CalendarMgr::GetAllEventRelatives(), ArenaTeam::GetAverageMMR(), lfg::LFGMgr::GetCompatibleDungeons(), lfg::LFGMgr::GetLockedDungeons(), Creature::GetLootRecipient(), GameObject::GetLootRecipient(), CalendarMgr::GetPlayerEvents(), ChatHandler::getSelectedPlayer(), Player::GetSelectedPlayer(), ChatHandler::getSelectedPlayerOrSelf(), Group::GroupLoot(), WorldSession::HandleChatIgnoredOpcode(), WorldSession::HandleDeclinePetition(), WorldSession::HandleGroupDeclineOpcode(), WorldSession::HandleGroupSetLeaderOpcode(), WorldSession::HandleMailTakeItem(), WorldSession::HandleOfferPetitionOpcode(), WorldSession::HandleRaidTargetUpdateOpcode(), WorldSession::HandleRequestPartyMemberStatsOpcode(), WorldSession::HandleSendMail(), WorldSession::HandleSignPetition(), lfg::LFGMgr::HasIgnore(), BattlegroundQueue::InviteGroupToBG(), Channel::List(), lfg::LFGMgr::MakeNewGroup(), Group::NeedBeforeGreed(), ArenaTeam::NotifyStatsChanged(), Group::OfflineReadyCheck(), lfg::LFGGroupScript::OnRemoveMember(), CalendarMgr::RemoveEvent(), Group::RemoveMember(), BattlegroundQueue::RemovePlayer(), Petition::RemoveSignatureBySigner(), Group::ResetInstances(), ObjectMgr::ReturnOrDeleteOldMails(), ArenaTeam::Roster(), Channel::Say(), 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(), MailDraft::SendReturnToSender(), Channel::SendToAll(), Channel::SendToAllButOne(), Channel::SendToOne(), Group::SendUpdate(), Group::SendUpdateToPlayer(), AuctionHouseMgr::UpdatePendingAuctions(), and lfg::LFGMgr::UpdateProposal().
| Player * ObjectAccessor::FindConnectedPlayerByName | ( | std::string_view | name | ) |
Definition at line 262 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Find().
Referenced by World::BanCharacter(), FindPlayerByName(), WorldSession::HandleCalendarEventInvite(), WorldSession::HandleChatMessage(), WorldSession::HandleGroupChangeSubGroupOpcode(), WorldSession::HandleWhoIsOpcode(), Channel::Invite(), Channel::KickOrBan(), World::RemoveBanCharacter(), Channel::SetMode(), Channel::SetOwner(), and Channel::UnBan().
| Player * ObjectAccessor::FindPlayer | ( | ObjectGuid const & | guid | ) |
Definition at line 236 of file ObjectAccessor.cpp.
References HashMapHolder< T >::Find(), and Object::IsInWorld().
Referenced by Battleground::_CheckSafePositions(), Battleground::_GetPlayer(), Battleground::_ProcessJoin(), Battleground::_ProcessResurrect(), Loot::AddItem(), ArenaTeam::AddMember(), BfGraveyard::AddPlayer(), Battleground::AddPlayerToResurrectQueue(), Group::BroadcastGroupUpdate(), OutdoorPvP::BroadcastPacket(), Battlefield::BroadcastPacketToWar(), Battlefield::BroadcastPacketToZone(), SocialMgr::BroadcastToFriendListers(), OutdoorPvP::BroadcastWorker(), BattlefieldWG::BrokenWallOrTower(), OutdoorPvPEP::BuffTeams(), OPvPCapturePointTF::ChangeState(), Spell::CheckCast(), BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), SpellInfo::CheckTarget(), Group::ConvertToRaid(), Group::CountTheRoll(), Player::DeleteFromDB(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectSkinPlayerCorpse(), StartLaunchEvent::Execute(), Guild::Member::FindPlayer(), FindPlayerByLowGUID(), lfg::LFGMgr::FinishDungeon(), Battleground::GetAlivePlayersCountByTeam(), GmTicket::GetAssignedPlayer(), SocialMgr::GetFriendInfo(), Item::GetOwner(), GmTicket::GetPlayer(), WorldSession::HandleAddFriendOpcode(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleGroupAcceptOpcode(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleInspectArenaTeamsOpcode(), Battleground::HandleKillPlayer(), lfg_commandscript::HandleLfgGroupInfoCommand(), BattlefieldWG::HandlePromotion(), WorldSession::HandleQuestConfirmAccept(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestPushResult(), WorldSession::HandleReportPvPAFK(), Battlefield::InvitePlayersInQueueToWar(), Battlefield::InvitePlayersInZoneToQueue(), Battlefield::InvitePlayersInZoneToWar(), ArenaTeam::IsFighting(), Battlefield::KickAfkPlayers(), Battlefield::KickPlayerFromBattlefield(), Unit::Kill(), lfg::LFGMgr::MakeNewGroup(), Loot::NotifyItemRemoved(), Loot::NotifyMoneyRemoved(), Loot::NotifyQuestItemRemoved(), BattlefieldWG::OnBattleEnd(), BattlefieldWG::OnBattleStart(), BattlefieldWG::OnCreatureCreate(), lfg::LFGGroupScript::OnRemoveMember(), Trinity::WorldObjectSpellTargetCheck::operator()(), BattlegroundSA::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), BfGraveyard::RelocateDeadPlayers(), Battleground::RelocateDeadPlayers(), BattlegroundQueue::RemovePlayer(), BfGraveyard::RemovePlayer(), Battleground::RemovePlayerAtLeave(), Battleground::RemovePlayerFromResurrectQueue(), Group::ResetMaxEnchantingLevel(), BattlegroundSA::ResetObjs(), BfGraveyard::Resurrect(), Player::Satisfy(), Spell::SelectEffectTypeImplicitTargets(), Group::SelectNewPartyOrRaidLeader(), CalendarMgr::SendCalendarEvent(), BattlefieldWG::SendInitWorldStatesToAll(), BfCapturePoint::SendObjectiveComplete(), OPvPCapturePoint::SendObjectiveComplete(), Trinity::VisibleNotifier::SendToSelf(), BfCapturePoint::SendUpdateWorldState(), OPvPCapturePoint::SendUpdateWorldState(), OutdoorPvP::SendUpdateWorldState(), OPvPCapturePointZM_Graveyard::SetBeaconState(), ArenaTeam::SetCaptain(), BattlegroundSA::StartShips(), Battleground::StartTimedAchievement(), Battlefield::TeamCastSpell(), OutdoorPvP::TeamCastSpell(), BattlegroundSA::TeleportPlayers(), BattlegroundSA::TitanRelicActivated(), BattlegroundRV::TogglePillarCollision(), BfCapturePoint::Update(), OPvPCapturePoint::Update(), BattlefieldWG::UpdatedDestroyedTowerCount(), Group::UpdateLooterGuid(), BattlegroundEY::UpdatePointStatuses(), lfg::LFGMgr::UpdateRoleCheck(), BattlefieldWG::UpdateTenacity(), GameObject::Use(), and WorldObjectChangeAccumulator::Visit().
| Player * ObjectAccessor::FindPlayerByLowGUID | ( | ObjectGuid::LowType | lowguid | ) |
Definition at line 251 of file ObjectAccessor.cpp.
References FindPlayer().
Referenced by misc_commandscript::HandleGetDistanceCommand(), misc_commandscript::HandleGPSCommand(), MailDraft::SendMailTo(), and Trinity::ChatCommands::PlayerIdentifier::TryConsume().
| Player * ObjectAccessor::FindPlayerByName | ( | std::string_view | name | ) |
Definition at line 242 of file ObjectAccessor.cpp.
References FindConnectedPlayerByName(), and Object::IsInWorld().
Referenced by ChatHandler::extractLowGuidFromLink(), ChatHandler::extractPlayerTarget(), ChatHandler::GetPlayerGroupAndGUIDByName(), WorldSession::HandleArenaTeamInviteOpcode(), ban_commandscript::HandleBanInfoCharacterCommand(), misc_commandscript::HandleCombatStopCommand(), misc_commandscript::HandleFreezeCommand(), ticket_commandscript::HandleGMTicketGetByNameCommand(), WorldSession::HandleGroupInviteOpcode(), Guild::HandleInviteMember(), misc_commandscript::HandleListFreezeCommand(), npc_commandscript::HandleNpcWhisperCommand(), misc_commandscript::HandleUnFreezeCommand(), message_commandscript::HandleWhispersCommand(), and Trinity::ChatCommands::PlayerIdentifier::TryConsume().
| Corpse * ObjectAccessor::GetCorpse | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 167 of file ObjectAccessor.cpp.
References Map::GetCorpse(), and WorldObject::GetMap().
Referenced by Spell::CheckEffectTarget(), WorldSession::DoLootRelease(), Spell::CorpseTargetInfo::DoTargetSpellHit(), GetWorldObject(), WorldSession::HandleAutostoreLootItemOpcode(), WorldSession::HandleLootMoneyOpcode(), Map::RemoveAllObjectsInRemoveList(), and Player::SendLoot().
| Creature * ObjectAccessor::GetCreature | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 201 of file ObjectAccessor.cpp.
References Map::GetCreature(), and WorldObject::GetMap().
Referenced by npc_elwynn_forest_wolf::_ScheduleBeforeChasingEvents(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::AttackIceWall(), boss_thaddius::BeginResetEncounter(), boss_ionar::CallBackSparks(), npc_anubisath_sentinel::aqsentinelAI::CallBuddiesToAttack(), boss_sartharion::CallDragon(), npc_commander_eligor_dawnbringer::ChangeImage(), boss_erekem::CheckGuardAlive(), spell_putricide_mutation_init::CheckRequirementInternal(), netherspite_infernal::netherspite_infernalAI::Cleanup(), npc_thassarian::Cleanup(), boss_novos::CrystalHandlerDied(), player_overlord_brandAI::DamageDealt(), boss_attumen::boss_attumenAI::DamageTaken(), boss_deathbringer_saurfang::DamageTaken(), boss_valithria_dreamwalker::DamageTaken(), npc_stalagg::DamageTaken(), npc_feugen::DamageTaken(), boss_brain_of_yogg_saron::boss_brain_of_yogg_saronAI::DamageTaken(), boss_dalliah_the_doomsayer::DamageTaken(), boss_wrath_scryer_soccothrates::DamageTaken(), ControllerBaseAI::DamageTaken(), SummonList::DespawnAll(), boss_ymiron::DespawnBoatGhosts(), npc_brann_hos::DespawnDwarf(), SummonList::DespawnEntry(), boss_moroes::DespawnGuests(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::DespawnNPC(), boss_felmyst::DespawnSummons(), hyjalAI::DeSpawnVeins(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::DestroyIceWall(), boss_netherspite::boss_netherspiteAI::DestroyPortals(), boss_ossirian::boss_ossirianAI::DoAction(), npc_high_overlord_saurfang_icc::DoAction(), npc_muradin_bronzebeard_icc::DoAction(), boss_professor_putricide::DoAction(), npc_crok_scourgebane::DoAction(), npc_argent_captainAI::DoAction(), npc_strangulate_vehicle::DoAction(), npc_green_dragon_combat_trigger::DoAction(), boss_gluth::DoAction(), boss_thaddius::DoAction(), npc_stalagg::DoAction(), npc_feugen::DoAction(), boss_malygos::DoAction(), npc_azure_ring_captain::DoAction(), boss_volkhan::DoAction(), boss_mimiron::boss_mimironAI::DoAction(), npc_thorim_minibossAI::DoAction(), npc_thrall_herald_of_war::npc_thrall_herald_of_warAI::DoAction(), boss_krick::DoAction(), boss_blood_council_controller::DoAction(), boss_palehoof::DoAction(), boss_victor_nefarius::DoAction(), npc_arcane_overload::DoAction(), SummonList::DoActionImpl(), boss_lady_deathwhisper::DoImproveCultist(), SummonList::DoZoneInCombat(), boss_sartharion::DrakeRespawn(), boss_festergut::EnterEvadeMode(), boss_rotface::EnterEvadeMode(), npc_argent_captainAI::EnterEvadeMode(), npc_gothik_minion_baseAI::EnterEvadeMode(), npc_kelthuzad_minionAI::EnterEvadeMode(), npc_kelthuzad_guardian::EnterEvadeMode(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::EnterEvadeMode(), boss_attumen::boss_attumenAI::EnterEvadeMode(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::EnterEvadeMode(), boss_hadronox::EnterEvadeMode(), boss_blood_council_controller::EnterEvadeMode(), boss_lady_deathwhisper::EnterEvadeMode(), boss_the_lich_king::EnterEvadeMode(), npc_stalagg::EnterEvadeMode(), npc_feugen::EnterEvadeMode(), boss_shade_of_akama::EnterEvadeMode(), AssistDelayEvent::Execute(), Trinity::Helpers::Events::SetAggresiveStateEvent::Execute(), spell_festergut_blighted_spores::ExtraEffect(), boss_sartharion::FetchDragons(), spell_scion_of_eternity_arcane_barrage::FilterMeleeHoverDiskPassangers(), boss_thorim::boss_thorimAI::FinishEncounter(), boss_erekem::GetChainHealTarget(), PlayerAI::GetCharmer(), GetCreatureOrPetOrVehicle(), boss_bronjahm::GetData(), boss_four_horsemen_baseAI::getHorsemanHandle(), boss_krick::GetIck(), boss_ick::GetKrick(), GetObjectByTypeMask(), npc_air_force_bots::npc_air_force_botsAI::GetOrSummonGuard(), npc_anubisath_sentinel::aqsentinelAI::GetOtherSentinels(), boss_tyrannus::GetRimefang(), npc_ranshalla::npc_ranshallaAI::GetSpeakerByEntry(), TempSummon::GetSummonerCreatureBase(), GetUnit(), GetWorldObject(), GrandChampionsOutVehicle(), boss_moroes::GuestsAttack(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), WorldSession::HandleAreaSpiritHealerQueryOpcode(), WorldSession::HandleAreaSpiritHealerQueueOpcode(), spell_thaddius_magnetic_pull::HandleCast(), spell_assembly_meltdown::spell_assembly_meltdown_SpellScript::HandleInstaKill(), go_empowering_blood_orb::HandleObjectUse(), spell_sha_glyph_of_totem_of_wrath::HandleProc(), spell_putricide_unbound_plague::HandleScript(), spell_rotface_large_ooze_combine::HandleScript(), spell_rotface_large_ooze_buff_combine::HandleScript(), spell_the_lich_king_restore_soul::HandleScript(), spell_heigan_eruption::HandleScript(), spell_mimiron_bomb_bot::spell_mimiron_bomb_bot_SpellScript::HandleScript(), spell_mimiron_rocket_strike_damage::spell_mimiron_rocket_strike_damage_SpellScript::HandleScript(), spell_marrowgar_bone_spike_graveyard::HandleSpikes(), spell_putricide_mutated_transformation::HandleSummon(), WorldSession::HandleTotemDestroyed(), SummonList::HasEntry(), player_overlord_brandAI::HealDone(), boss_valithria_dreamwalker::HealReceived(), go_troll_cage::go_troll_cageAI::initBlyCrewMember(), IsEncounterFinished(), npc_direbrew_minion::IsSummonedBy(), npc_corrupted_soul_fragment::IsSummonedBy(), npc_escape_event_trash::IsSummonedBy(), npc_big_ooze::IsSummonedBy(), npc_raging_spirit::IsSummonedBy(), npc_terenas_menethil::IsSummonedBy(), npc_suppresser::IsSummonedBy(), npc_strangulate_vehicle::IsSummonedBy(), BloodPrincesBossAI::JustAppeared(), npc_ingvar_throw_dummy::JustAppeared(), npc_void_traveler::JustAppeared(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::JustDied(), npc_anubisath_sentinel::aqsentinelAI::JustDied(), npc_qiraj_war_spawn::npc_qiraj_war_spawnAI::JustDied(), boss_sartharion::JustDied(), npc_acolyte_of_shadron::JustDied(), npc_acolyte_of_vesperon::JustDied(), npc_drakkari_gutripper::JustDied(), npc_drakkari_scytheclaw::JustDied(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::JustDied(), npc_quel_delar_sword::npc_quel_delar_swordAI::JustDied(), boss_garfrost::JustDied(), boss_festergut::JustDied(), npc_stinky_icc::JustDied(), boss_rotface::JustDied(), npc_big_ooze::JustDied(), npc_precious_icc::JustDied(), boss_sister_svalna::JustDied(), npc_raging_spirit::JustDied(), npc_spirit_warden::JustDied(), npc_faerlina_add::JustDied(), boss_kelthuzad::JustDied(), boss_razuvious::JustDied(), boss_thaddius::JustDied(), boss_malygos::JustDied(), npc_nexus_lord::JustDied(), npc_scion_of_eternity::JustDied(), boss_steelbreaker::boss_steelbreakerAI::JustDied(), boss_runemaster_molgeim::boss_runemaster_molgeimAI::JustDied(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::JustDied(), boss_freya::boss_freyaAI::JustDied(), boss_yogg_saron::boss_yogg_saronAI::JustDied(), ControllerBaseAI::JustDied(), npc_tempest_minion::JustDied(), boss_shade_of_akama::JustDied(), boss_dalliah_the_doomsayer::JustDied(), boss_wrath_scryer_soccothrates::JustDied(), npc_barada::npc_baradaAI::JustDied(), npc_infernal_attacker::npc_infernal_attackerAI::JustDied(), npc_illidari_spawn::npc_illidari_spawnAI::JustDied(), boss_blood_council_controller::JustDied(), boss_lady_deathwhisper::JustDied(), npc_kelthuzad_abomination::JustDied(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::JustDied(), BloodPrincesBossAI::JustEngagedWith(), npc_faerlina_add::JustEngagedWith(), npc_dk_understudy::JustEngagedWith(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::JustEngagedWith(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::JustEngagedWith(), boss_blood_council_controller::JustEngagedWith(), boss_deathbringer_saurfang::JustEngagedWith(), boss_festergut::JustEngagedWith(), boss_rotface::JustEngagedWith(), boss_sister_svalna::JustEngagedWith(), npc_stalagg::JustEngagedWith(), npc_feugen::JustEngagedWith(), boss_freya::boss_freyaAI::JustEngagedWith(), boss_emalon::JustEngagedWith(), npc_tempest_minion::JustEngagedWith(), npc_green_dragon_combat_trigger::JustEnteredCombat(), npc_risen_archmage::JustEnteredCombat(), BloodPrincesBossAI::JustReachedHome(), boss_attumen::boss_attumenAI::JustSummoned(), npc_crystal_channel_target::JustSummoned(), boss_rotface::JustSummoned(), npc_gothik_trigger::JustSummoned(), npc_warchiefs_portal::JustSummoned(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::JustSummoned(), npc_thalorien_dawnseeker::MorlenTalk(), npc_grizzlemaw_cw_trigger::npc_grizzlemaw_cw_triggerAI::MoveInLineOfSight(), boss_shade_of_akama::MovementInform(), boss_onyxia::MovementInform(), npc_high_overlord_saurfang_icc::MovementInform(), npc_muradin_bronzebeard_icc::MovementInform(), boss_professor_putricide::MovementInform(), npc_tirion_fordring_tft::MovementInform(), boss_malygos::MovementInform(), npc_ingvar_throw_dummy::MovementInform(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::MovementInform(), npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::MovementInform(), boss_the_lich_king::MovementInform(), boss_warlord_kalithresh::MovementInform(), npc_cameron::MoveTheChildren(), npc_power_spark::MoveToMalygos(), npc_stalagg::myCoil(), npc_feugen::myCoil(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), npc_geezle::npc_geezleAI::NextStep(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::NPCChangeTarget(), spell_tyrannus_mark_of_rimefang::OnApply(), spell_blood_queen_frenzied_bloodthirst::OnApply(), spell_blood_queen_vampiric_bite::OnCast(), achievement_just_cant_get_enough::OnCheck(), go_blackened_urn::go_blackened_urnAI::OnGossipHello(), containment_sphere::OnGossipHello(), go_acherus_soul_prison::go_acherus_soul_prisonAI::OnGossipHello(), npc_taretha::OnGossipSelect(), spell_mimiron_proximity_explosion::spell_mimiron_proximity_explosion_SpellScript::OnHit(), go_sapphiron_birth::OnLootStateChanged(), spell_blood_queen_frenzied_bloodthirst::OnRemove(), spell_malygos_vortex_visual::OnRemove(), spell_dk_raise_ally::spell_dk_raise_ally_AuraScript::OnRemove(), at_nearby_scarshield_infiltrator::OnTrigger(), at_hor_waves_restarter::OnTrigger(), at_hor_uther_quel_delar_start::OnTrigger(), at_tyrannus_event_starter::OnTrigger(), at_pit_cavern_entrance::OnTrigger(), at_blood_prince_council_start_intro::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_icc_start_frostwing_gauntlet::OnTrigger(), at_kelthuzad_center::OnTrigger(), at_nethekurse_exit::OnTrigger(), AreaTrigger_at_frostgrips_hollow::OnTrigger(), at_trigger_the_beast_movement::OnTrigger(), at_the_beast_room::OnTrigger(), boss_gothik::OpenGate(), npc_doctor::npc_doctorAI::PatientSaved(), npc_jungle_punch_target::proceedCwEvent(), boss_festergut::RemoveBlight(), SummonList::RemoveNotExisting(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::Reset(), npc_anubisath_sentinel::aqsentinelAI::Reset(), npc_acolyte_of_shadron::Reset(), boss_paletress::boss_paletressAI::Reset(), boss_blood_council_controller::Reset(), boss_the_lich_king::Reset(), boss_mimiron::boss_mimironAI::Reset(), boss_thorim::boss_thorimAI::Reset(), npc_blade_of_azzinoth::Reset(), SmartScript::ResetBaseObject(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::RestoreAll(), boss_erekem::ScheduleTasks(), npc_anubisath_sentinel::aqsentinelAI::SendMyListToBuddies(), Player::SendTaxiNodeStatusMultiple(), WorldSession::SendTaxiStatus(), boss_shattered_executioner::SetData(), boss_the_beast::SetData(), boss_toc_champion_controller::SetData(), npc_announcer_toc5::npc_announcer_toc5AI::SetData(), boss_anub_arak::SetGUID(), npc_crok_scourgebane::SetGUID(), npc_icc_orb_controller::SetGUID(), boss_thorim::boss_thorimAI::SetGUID(), boss_novos::SetSummonerStatus(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::SpawnNPC(), boss_attumen::boss_attumenAI::SpellHit(), npc_cult_fanatic::SpellHit(), npc_cult_adherent::SpellHit(), boss_valithria_dreamwalker::SpellHit(), npc_portal_eoe::SpellHit(), npc_injured_patient::npc_injured_patientAI::SpellHit(), npc_malformed_ooze::SpellHitTarget(), npc_announcer_toc5::npc_announcer_toc5AI::StartGrandChampionsAttack(), PassengerController::SummonCreatures(), boss_volazj::SummonedCreatureDespawn(), npc_gothik_trigger::SummonedCreatureDespawn(), npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::SummonedCreatureDies(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::SummonIceWall(), npc_sergeant_bly::npc_sergeant_blyAI::switchFactionIfAlive(), npc_thalorien_dawnseeker::ThalorienTalk(), at_lady_deathwhisper_entrance::TryHandleOnce(), at_lord_marrowgar_entrance::TryHandleOnce(), at_anubrekhan_entrance::TryHandleOnce(), at_faerlina_entrance::TryHandleOnce(), at_thaddius_entrance::TryHandleOnce(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), npc_commander_eligor_dawnbringer::TurnAudience(), boss_balinda::UpdateAI(), npc_grimstone::npc_grimstoneAI::UpdateAI(), boss_rend_blackhand::UpdateAI(), npc_felblood_kaelthas_phoenix::UpdateAI(), boss_selin_fireheart::UpdateAI(), npc_dark_rider_of_acherus::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_cameron::UpdateAI(), npc_thalorien_dawnseeker::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), boss_onyxia::UpdateAI(), npc_overlord_runthak_orgrimmar::npc_overlord_runthak_orgrimmarAI::UpdateAI(), npc_thrall_herald_of_war::npc_thrall_herald_of_warAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_sergeant_bly::npc_sergeant_blyAI::UpdateAI(), boss_jedoga_shadowseeker::UpdateAI(), boss_anub_arak::UpdateAI(), npc_twilight_eggs::UpdateAI(), boss_general_zarithrian::UpdateAI(), npc_meteor_strike_flame::UpdateAI(), boss_anubarak_trial::UpdateAI(), boss_trollgore::UpdateAI(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::UpdateAI(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI(), npc_uther_quel_delar::npc_uther_quel_delarAI::UpdateAI(), npc_quel_delar_sword::npc_quel_delar_swordAI::UpdateAI(), boss_krick::UpdateAI(), boss_tyrannus::UpdateAI(), boss_blood_council_controller::UpdateAI(), npc_blood_queen_lana_thel::UpdateAI(), npc_high_overlord_saurfang_icc::UpdateAI(), boss_festergut::UpdateAI(), boss_the_lich_king::UpdateAI(), npc_tirion_fordring_tft::UpdateAI(), npc_strangulate_vehicle::UpdateAI(), npc_terenas_menethil::UpdateAI(), npc_highlord_tirion_fordring_lh::UpdateAI(), boss_anubrekhan::UpdateAI(), boss_gluth::UpdateAI(), npc_zombie_chow::UpdateAI(), boss_gothik::UpdateAI(), boss_kelthuzad::UpdateAI(), boss_thaddius::UpdateAI(), boss_malygos::UpdateAI(), boss_anomalus::UpdateAI(), npc_chaotic_rift::UpdateAI(), npc_tribuna_controller::UpdateAI(), boss_runemaster_molgeim::boss_runemaster_molgeimAI::UpdateAI(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::UpdateAI(), boss_freya::boss_freyaAI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), boss_vx_001::boss_vx_001AI::UpdateAI(), boss_thorim::boss_thorimAI::UpdateAI(), boss_sara::boss_saraAI::UpdateAI(), npc_annhylde_the_caller::UpdateAI(), boss_svala::UpdateAI(), boss_emalon::UpdateAI(), go_caribou_trap::UpdateAI(), go_mammoth_trap::UpdateAI(), npc_thassarian::UpdateAI(), npc_commander_eligor_dawnbringer::UpdateAI(), npc_blessed_banner::UpdateAI(), npc_brann_bronzebeard_keystone::UpdateAI(), npc_wrathbone_flayer::UpdateAI(), npc_akama_illidan::UpdateAI(), boss_shade_of_akama::UpdateAI(), npc_akama_shade::UpdateAI(), boss_dalliah_the_doomsayer::UpdateAI(), boss_wrath_scryer_soccothrates::UpdateAI(), boss_high_astromancer_solarian::UpdateAI(), npc_barada::npc_baradaAI::UpdateAI(), npc_infernal_rain_hellfire::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), player_ghoulAI::UpdateAI(), npc_brewfest_reveler_2::UpdateAI(), npc_lord_gregor_lescovar::npc_lord_gregor_lescovarAI::UpdateAI(), boss_paletress::boss_paletressAI::UpdateAI(), npc_announcer_toc5::npc_announcer_toc5AI::UpdateAI(), npc_scorch_ground::npc_scorch_groundAI::UpdateAI(), npc_portal_eoe::UpdateAI(), npc_power_spark::UpdateAI(), npc_injured_patient::npc_injured_patientAI::UpdateAI(), npc_crok_scourgebane::UpdateEscortAI(), npc_brann_hos::UpdateEscortAI(), npc_tooga::npc_toogaAI::UpdateFollowerAI(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::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(), hyjalAI::WaypointReached(), npc_thrall_old_hillsbrad::WaypointReached(), npc_crok_scourgebane::WaypointReached(), npc_emily::WaypointReached(), and npc_crok_scourgebane::WaypointStarted().
| Creature * ObjectAccessor::GetCreatureOrPetOrVehicle | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 225 of file ObjectAccessor.cpp.
References GetCreature(), GetPet(), ObjectGuid::IsCreatureOrVehicle(), and ObjectGuid::IsPet().
Referenced by Spell::_cast(), Unit::GetFirstMinion(), Unit::GetGuardianPet(), Player::GetNPCIfCanInteractWith(), ChatHandler::getSelectedCreature(), WorldSession::HandleDismissCritter(), WorldSession::HandlePetAbandon(), WorldSession::HandlePetCancelAuraOpcode(), WorldSession::HandlePetSpellAutocastOpcode(), WorldSession::HandlePetStopAttack(), WorldSession::HandleSpellClick(), Player::PrepareQuestMenu(), Player::SendPreparedQuest(), WorldSession::SendQueryPetNameResponse(), Player::SendQuestGiverStatusMultiple(), and Player::UpdateVisibleGameobjectsOrSpellClicks().
| DynamicObject * ObjectAccessor::GetDynamicObject | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 182 of file ObjectAccessor.cpp.
References Map::GetDynamicObject(), and WorldObject::GetMap().
Referenced by GetObjectByTypeMask(), and GetWorldObject().
| GameObject * ObjectAccessor::GetGameObject | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 172 of file ObjectAccessor.cpp.
References Map::GetGameObject(), and WorldObject::GetMap().
Referenced by npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::CaveDestruction(), boss_keristrasza::CheckContainmentSpheres(), boss_ossirian::boss_ossirianAI::Cleanup(), boss_novos::CrystalHandlerDied(), HoRGameObjectDeleteDelayEvent::DeleteGameObject(), npc_expedition_commander::DestroyHarpoons(), npc_rocknot::npc_rocknotAI::DoGo(), Spell::GOTargetInfo::DoTargetSpellHit(), boss_kirtonos_the_herald::EnterEvadeMode(), boss_kelthuzad::EnterEvadeMode(), spell_the_lich_king_quake::FilterTargets(), Player::GetGameObjectIfCanInteractWith(), GameObject::GetLinkedTrap(), GetObjectByTypeMask(), boss_kalecgos_kj::boss_kalecgos_kjAI::GetOrb(), GetWorldObject(), spell_shadow_portal::HandleCast(), boss_netherspite::boss_netherspiteAI::HandleDoors(), spell_sapphiron_icebolt::HandleRemove(), spell_shadow_portal_rooms::HandleSendEvent(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), boss_darkmaster_gandling::JustDied(), boss_kirtonos_the_herald::JustDied(), boss_darkmaster_gandling::JustEngagedWith(), boss_professor_putricide::MovementInform(), npc_valkyr_shadowguard::MovementInform(), npc_stalagg::myCoilGO(), npc_feugen::myCoilGO(), boss_nightbane::boss_nightbaneAI::Reset(), boss_darkmaster_gandling::Reset(), SmartScript::ResetBaseObject(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::RestoreAll(), boss_novos::SetCrystalsStatus(), npc_announcer_toc5::npc_announcer_toc5AI::SetData(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::SetInFace(), boss_rend_blackhand::UpdateAI(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), npc_jaina_or_sylvanas_intro_hor::npc_jaina_or_sylvanas_intro_horAI::UpdateAI(), boss_heigan::UpdateAI(), boss_kelthuzad::UpdateAI(), boss_malygos::UpdateAI(), go_caribou_trap::UpdateAI(), npc_brann_bronzebeard_keystone::UpdateAI(), boss_mr_smite::boss_mr_smiteAI::UpdateAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::UpdateEscortAI(), boss_kirtonos_the_herald::UpdateIntroEvents(), Spell::UpdatePointers(), boss_pyroguard_emberseer::UpdateRunes(), Player::UpdateVisibleGameobjectsOrSpellClicks(), npc_train_wrecker::npc_train_wreckerAI::VerifyTarget(), and npc_ranshalla::npc_ranshallaAI::WaypointReached().
| Object * ObjectAccessor::GetObjectByTypeMask | ( | WorldObject const & | p, |
| ObjectGuid const & | guid, | ||
| uint32 | typemask | ||
| ) |
Definition at line 127 of file ObjectAccessor.cpp.
References Corpse, 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().
| Pet * ObjectAccessor::GetPet | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 206 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and Map::GetPet().
Referenced by GetCreatureOrPetOrVehicle(), GetObjectByTypeMask(), Player::GetPet(), GetUnit(), GetWorldObject(), and WorldSession::HandlePetRename().
| Player * ObjectAccessor::GetPlayer | ( | Map const * | m, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 211 of file ObjectAccessor.cpp.
Referenced by npc_anachronos_quest_trigger::npc_anachronos_quest_triggerAI::CheckEventFail(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::CheckEventFail(), npc_simon_bunny::npc_simon_bunnyAI::CheckPlayer(), npc_wild_wyrm::DamageTaken(), npc_ball_of_flame::DoAction(), npc_ice_tomb::DoAction(), npc_wild_wyrm::DoAction(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), npc_clintar_spirit::npc_clintar_spiritAI::EnterEvadeMode(), npc_wild_wyrm::EvadeCheck(), WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself(), FollowerAI::GetLeaderForFollower(), GetObjectByTypeMask(), Map::GetPlayer(), GetPlayer(), EscortAI::GetPlayerForEscort(), GetUnit(), GetWorldObject(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), npc_simon_bunny::npc_simon_bunnyAI::GiveRewardForLevel(), WorldSession::HandleAcceptGrantLevel(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), WorldSession::HandleEnterPlayerVehicle(), BattlegroundWS::HandleFlagRoomCapturePoint(), WorldSession::HandleGrantLevel(), group_commandscript::HandleGroupSummonCommand(), WorldSession::HandleInspectOpcode(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleQueryInspectAchievements(), WorldSession::HandleRequestHonorStats(), misc_commandscript::HandleSummonCommand(), npc_coldflame::IsSummonedBy(), npc_rizzle_sprysprocket::IsSummonedBy(), npc_clintar_spirit::npc_clintar_spiritAI::JustDied(), npc_ice_tomb::JustDied(), npc_iron_roots::npc_iron_rootsAI::JustDied(), npc_daegarn::JustSummoned(), npc_restless_soul::npc_restless_soulAI::JustSummoned(), npc_unworthy_initiate::npc_unworthy_initiateAI::MovementInform(), npc_hive_zara_larva::MovementInform(), npc_valkyr_shadowguard::MovementInform(), npc_wild_wyrm::MovementInform(), npc_daegarn::OnQuestAccept(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::OnRemove(), npc_doctor::npc_doctorAI::PatientDied(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), Unit::SendComboPoints(), npc_snobold_vassal::SetGUID(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::SetGUID(), npc_bloodmage_laurith::SetGUID(), Unit::SetOwnerGUID(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), SmartAI::StopFollow(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), GameObject::Update(), boss_vaelastrasz::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_koltira_deathweaver::UpdateAI(), npc_a_special_surprise::npc_a_special_surpriseAI::UpdateAI(), boss_baroness_anastari::UpdateAI(), npc_shield_orb::npc_shield_orbAI::UpdateAI(), npc_thalorien_dawnseeker::UpdateAI(), npc_calvin_montague::npc_calvin_montagueAI::UpdateAI(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::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_uther_quel_delar::npc_uther_quel_delarAI::UpdateAI(), boss_blood_queen_lana_thel::UpdateAI(), npc_ice_tomb::UpdateAI(), boss_sapphiron::UpdateAI(), npc_wyrmrest_skytalon::UpdateAI(), go_caribou_trap::UpdateAI(), go_mammoth_trap::UpdateAI(), npc_bloodmage_laurith::UpdateAI(), npc_venture_co_straggler::UpdateAI(), npc_brann_bronzebeard_keystone::UpdateAI(), npc_alchemist_finklestein::UpdateAI(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::UpdateAI(), npc_magister_aledis::npc_magister_aledisAI::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_imp_in_a_ball::npc_imp_in_a_ballAI::UpdateAI(), npc_magwin::npc_magwinAI::UpdateEscortAI(), GameObject::Use(), and npc_rizzle_sprysprocket::WaypointStarted().
| Player * ObjectAccessor::GetPlayer | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 220 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and GetPlayer().
| HashMapHolder< Player >::MapType const & ObjectAccessor::GetPlayers | ( | ) |
Definition at line 76 of file ObjectAccessor.cpp.
References HashMapHolder< T >::GetContainer().
Referenced by gm_commandscript::HandleGMListIngameCommand(), reset_commandscript::HandleResetAllCommand(), SaveAllPlayers(), and WhoListStorageMgr::Update().
| Transport * ObjectAccessor::GetTransport | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 177 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and Map::GetTransport().
Referenced by npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::MovementInform(), and npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI().
| Unit * ObjectAccessor::GetUnit | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 187 of file ObjectAccessor.cpp.
References GetCreature(), GetPet(), GetPlayer(), ObjectGuid::IsEmpty(), ObjectGuid::IsPet(), and ObjectGuid::IsPlayer().
Referenced by Spell::_cast(), Vehicle::AddPassenger(), ThreatManager::AddThreat(), Creature::AtEngage(), boss_malchezaar::boss_malchezaarAI::AxesCleanup(), DynamicObject::BindToCaster(), Spell::cancel(), boss_gurtogg_bloodboil::ChangePhase(), VehicleAI::CheckConditions(), SmartAI::CheckConditions(), Aura::Create(), Spell::DelayedChannel(), boss_zuljin::DoAction(), boss_ick::DoAction(), boss_flame_leviathan::boss_flame_leviathanAI::DoBatteringRamIfReady(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::TargetInfo::DoTargetSpellHit(), boss_malchezaar::boss_malchezaarAI::EnfeebleResetHealth(), DarkFallenAI::EnterEvadeMode(), SmartAI::EnterEvadeMode(), AssistDelayEvent::Execute(), ProcReflectDelayed::Execute(), boss_epoch::boss_epochAI::ExecuteEvent(), UnitAura::FillTargetMap(), spell_putricide_mutated_transformation_dmg::FilterTargetsInitial(), Aura::GetCaster(), Unit::GetControllingPlayer(), boss_prince_taldaram::GetEmbraceTarget(), Unit::GetFirstControlled(), boss_sapphiron::GetGUID(), SmartScript::GetLastInvoker(), WorldObject::GetOwner(), Vehicle::GetPassenger(), FleeingMovementGenerator< T >::GetPoint(), ChatHandler::getSelectedObject(), Player::GetSelectedUnit(), SmartScript::GetTargets(), WorldSession::HandleAttackSwingOpcode(), WorldSession::HandleChangeSeatsOnControlledVehicle(), debug_commandscript::HandleDebugThreatInfoCommand(), spell_sapphiron_summon_blizzard::HandleDummy(), spell_rog_killing_spree::spell_rog_killing_spree_AuraScript::HandleEffectPeriodic(), WorldSession::HandleEjectPassenger(), boss_felmyst::HandleFlightSequence(), WorldSession::HandleForceSpeedChangeAck(), gobject_commandscript::HandleGameObjectDeleteCommand(), WorldSession::HandleMirrorImageDataRequest(), WorldSession::HandleMoveKnockBackAck(), spell_sapphiron_change_blizzard_target::HandlePeriodic(), WorldSession::HandlePetAction(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandlePetSetAction(), spell_rog_tricks_of_the_trade_aura::HandleProc(), WorldSession::HandleSetActiveMoverOpcode(), WorldSession::HandleSetSelectionOpcode(), WorldSession::HandleTextEmoteOpcode(), Spell::HandleThreatSpells(), WorldSession::HandleUpdateMissileTrajectory(), WorldSession::HandleUpdateProjectilePosition(), boss_malchezaar::boss_malchezaarAI::InfernalCleanup(), Spell::InitExplicitTargets(), npc_fallout_slime::InitializeAI(), boss_priestess_delrissa::InitializeLackeys(), npc_pit_of_saron_icicle::IsSummonedBy(), npc_tiger_matriarch::IsSummonedBy(), npc_doomfire::JustAppeared(), boss_attumen::boss_attumenAI::JustDied(), npc_demon_chain::npc_demon_chainAI::JustDied(), npc_eye_tentacle::eye_tentacleAI::JustDied(), npc_claw_tentacle::claw_tentacleAI::JustDied(), npc_giant_claw_tentacle::giant_claw_tentacleAI::JustDied(), npc_giant_eye_tentacle::giant_eye_tentacleAI::JustDied(), dummy_dragonAI::JustDied(), npc_webwrap::JustDied(), boss_lady_deathwhisper::JustDied(), DarkFallenAI::JustEngagedWith(), boss_priestess_delrissa::JustEngagedWith(), boss_priestess_lackey_commonAI::JustEngagedWith(), boss_kologarn::boss_kologarnAI::JustSummoned(), boss_midnight::boss_midnightAI::KilledUnit(), netherspite_infernal::netherspite_infernalAI::KilledUnit(), boss_selin_fireheart::MovementInform(), boss_onyxia::MovementInform(), npc_azure_ring_captain::MovementInform(), CreatureAI::OnCharmed(), SmartAI::OnCharmed(), AbominationDespawner::operator()(), Unit::OutDebugInfo(), Spell::PreprocessSpellLaunch(), Spell::TargetInfo::PreprocessTarget(), Vehicle::RelocatePassengers(), Vehicle::RemoveAllPassengers(), GameObject::RemoveFromOwner(), boss_najentus::RemoveImpalingSpine(), spell_halion_twilight_cutter::RemoveNotBetween(), boss_garaxxas::Reset(), npc_vengeful_shade::Reset(), boss_mimiron::boss_mimironAI::Reset(), npc_shadow_demon::Reset(), npc_shadowy_construct::Reset(), npc_icc_orb_controller::ScheduleVisualChannel(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitChannelTargets(), boss_cthun::cthunAI::SelectRandomNotStomach(), npc_combustion_consumption::SetData(), Unit::SetFeared(), npc_headless_horseman_head::SetGUID(), boss_gal_darah::SetGUID(), npc_icc_orb_controller::SetGUID(), go_empowering_blood_orb::SetGUID(), npc_arthas_stratholme::npc_arthas_stratholmeAI::SetGUID(), npc_webwrap::SetGUID(), npc_shadow_demon::SetGUID(), Creature::SetPhaseMask(), npc_ruby_emerald_amber_drake::SpellHit(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_eachother(), Spell::update(), GameObject::Update(), Unit::Update(), TotemAI::UpdateAI(), npc_rocknot::npc_rocknotAI::UpdateAI(), boss_malchezaar::boss_malchezaarAI::UpdateAI(), boss_shade_of_aran::boss_aranAI::UpdateAI(), npc_image_of_medivh::npc_image_of_medivhAI::UpdateAI(), boss_priestess_delrissa::UpdateAI(), boss_zelfan::UpdateAI(), npc_restless_soul::npc_restless_soulAI::UpdateAI(), boss_arlokk::UpdateAI(), npc_tiger_matriarch::UpdateAI(), hyjalAI::UpdateAI(), npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(), boss_cthun::cthunAI::UpdateAI(), npc_claw_tentacle::claw_tentacleAI::UpdateAI(), npc_giant_claw_tentacle::giant_claw_tentacleAI::UpdateAI(), npc_prince_taldaram_flame_sphere::UpdateAI(), boss_rimefang::UpdateAI(), npc_ruby_emerald_amber_drake::UpdateAI(), boss_ignis::boss_ignis_AI::UpdateAI(), boss_mimiron::boss_mimironAI::UpdateAI(), npc_ritual_channeler::UpdateAI(), boss_gurtogg_bloodboil::UpdateAI(), npc_invis_infernal_caster::npc_invis_infernal_casterAI::UpdateAI(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI(), npc_spring_rabbit::npc_spring_rabbitAI::UpdateAI(), npc_death_knight_initiate::npc_death_knight_initiateAI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), PetAI::UpdateAI(), npc_air_force_bots::npc_air_force_botsAI::UpdateAI(), Spell::UpdateChanneledTargetList(), Spell::UpdateOriginalCasterPointer(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), npc_pet_dk_rune_weapon::UpdateRuneWeaponVictim(), SmartScript::UpdateTimer(), npc_icc_orb_controller::UpdateValidGuids(), GameObject::Use(), and WorldSession::ValidateAndGetUnitBeingMoved().
| WorldObject * ObjectAccessor::GetWorldObject | ( | WorldObject const & | p, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 110 of file ObjectAccessor.cpp.
References Corpse, DynamicObject, GameObject, GetCorpse(), GetCreature(), GetDynamicObject(), GetGameObject(), ObjectGuid::GetHigh(), GetPet(), GetPlayer(), Mo_Transport, Pet, Player, Transport, Unit, and Vehicle.
Referenced by Unit::_UpdateSpells(), CinematicMgr::EndCinematic(), TempSummon::GetSummoner(), SmartScript::GetTargets(), AuraEffect::PeriodicTick(), Creature::ReacquireSpellFocusTarget(), Spell::SelectImplicitChannelTargets(), Spell::SendChannelStart(), SpellCastTargets::Update(), ObjectGuidVector::UpdateObjects(), and Spell::UpdatePointers().
| void ObjectAccessor::RemoveObject | ( | Player * | player | ) |
Definition at line 284 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Remove(), and HashMapHolder< T >::Remove().
| void ObjectAccessor::RemoveObject | ( | T * | object | ) |
Definition at line 94 of file ObjectAccessor.h.
References HashMapHolder< T >::Remove().
Referenced by Map::DeleteFromWorld(), and Map::DeleteFromWorld().
| void ObjectAccessor::SaveAllPlayers | ( | ) |
Definition at line 267 of file ObjectAccessor.cpp.
References GetPlayers().
Referenced by misc_commandscript::HandleSaveAllCommand().