![]() |
TrinityCore
|
| void ObjectAccessor::AddObject | ( | Player * | player | ) |
Definition at line 301 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Insert(), and HashMapHolder< T >::Insert().
| void ObjectAccessor::AddObject | ( | T * | object | ) |
Definition at line 94 of file ObjectAccessor.h.
References HashMapHolder< T >::Insert().
Referenced by WorldSession::HandlePlayerLogin().
| Player * ObjectAccessor::FindConnectedPlayer | ( | ObjectGuid const & | guid | ) |
Definition at line 276 of file ObjectAccessor.cpp.
References HashMapHolder< T >::Find().
Referenced by npc_commandscript::_IterateNotNormalLootMap(), Guild::AddMember(), Channel::AddonSay(), ArenaTeam::BroadcastPacket(), Battlefield::BroadcastPacketToQueue(), WorldSession::BuildNameQueryData(), AuctionHouseObject::BuyCommodity(), Player::CanUninviteFromGroup(), Group::ChangeLeader(), Group::ChangeMembersGroup(), AccountMgr::DeleteAccount(), Guild::DeleteMember(), Group::Disband(), Arena::EndBattleground(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Guild::Member::FindConnectedPlayer(), LootRoll::Finish(), ArenaTeam::FinishGame(), CalendarMgr::GetAllEventRelatives(), Ticket::GetAssignedPlayer(), ArenaTeam::GetAverageMMR(), lfg::LFGMgr::GetCompatibleDungeons(), GarrisonMap::GetGarrison(), lfg::LFGMgr::GetLockedDungeons(), Ticket::GetPlayer(), CalendarMgr::GetPlayerEvents(), ChatHandler::getSelectedPlayer(), Player::GetSelectedPlayer(), ChatHandler::getSelectedPlayerOrSelf(), WorldSession::HandleAuctionPlaceBid(), WorldSession::HandleChatAddonMessage(), WorldSession::HandleChatCanLocalWhisperTargetRequest(), WorldSession::HandleChatIgnoredOpcode(), WorldSession::HandleChatMessage(), misc_commandscript::HandleGPSCommand(), WorldSession::HandleMailTakeItem(), WorldSession::HandleOfferPetition(), WorldSession::HandlePartyInviteResponseOpcode(), WorldSession::HandleQueryCorpseLocation(), WorldSession::HandleQueryCorpseTransport(), WorldSession::HandleRequestPartyMemberStatsOpcode(), WorldSession::HandleSendMail(), WorldSession::HandleSetPartyLeaderOpcode(), WorldSession::HandleSignPetition(), WorldSession::HandleUpdateRaidTargetOpcode(), lfg::LFGMgr::HasIgnore(), BattlegroundQueue::InviteGroupToBG(), Channel::List(), lfg::LFGMgr::MakeNewGroup(), ArenaTeam::NotifyStatsChanged(), lfg::LFGGroupScript::OnRemoveMember(), CalendarMgr::RemoveEvent(), Group::RemoveMember(), BattlegroundQueue::RemovePlayer(), Petition::RemoveSignatureBySigner(), ObjectMgr::ReturnOrDeleteOldMails(), Channel::Say(), AuctionHouseObject::SendAuctionCancelledToBidder(), AuctionHouseObject::SendAuctionExpired(), AuctionHouseObject::SendAuctionInvoice(), AuctionHouseObject::SendAuctionOutbid(), BlackMarketMgr::SendAuctionOutbidMail(), AuctionHouseObject::SendAuctionSold(), AuctionHouseObject::SendAuctionWon(), BlackMarketMgr::SendAuctionWonMail(), CalendarMgr::SendCalendarClearPendingAction(), CalendarMgr::SendCalendarCommandResult(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInvite(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), lfg::LFGMgr::SendLfgBootProposalUpdate(), lfg::LFGMgr::SendLfgJoinResult(), lfg::LFGMgr::SendLfgQueueStatus(), lfg::LFGMgr::SendLfgRoleCheckUpdate(), lfg::LFGMgr::SendLfgRoleChosen(), lfg::LFGMgr::SendLfgUpdateProposal(), lfg::LFGMgr::SendLfgUpdateStatus(), MailDraft::SendReturnToSender(), Channel::SendToAll(), Channel::SendToAllButOne(), Channel::SendToAllWithAddon(), Channel::SendToOne(), Group::SendUpdate(), Group::SendUpdateToPlayer(), Group::SetOfflineMembersReadyChecked(), Group::SwapMembersGroups(), AuctionHouseMgr::UpdatePendingAuctions(), lfg::LFGMgr::UpdateProposal(), BattlegroundScore::UpdatePvpStat(), and Loot::~Loot().
| Player * ObjectAccessor::FindConnectedPlayerByName | ( | std::string_view | name | ) |
Definition at line 281 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Find().
Referenced by World::BanCharacter(), FindPlayerByName(), WorldSession::HandleCalendarInvite(), WorldSession::HandleChatAddonMessage(), WorldSession::HandleChatMessage(), WorldSession::HandleWhoIsOpcode(), Channel::Invite(), Channel::KickOrBan(), World::RemoveBanCharacter(), Channel::SetMode(), Channel::SetOwner(), and Channel::UnBan().
| Player * ObjectAccessor::FindPlayer | ( | ObjectGuid const & | guid | ) |
Definition at line 255 of file ObjectAccessor.cpp.
References HashMapHolder< T >::Find(), and BaseEntity::IsInWorld().
Referenced by Battleground::_CheckSafePositions(), Battleground::_GetPlayer(), Battleground::_ProcessJoin(), ArenaTeam::AddMember(), Group::BroadcastGroupUpdate(), OutdoorPvP::BroadcastPacket(), Battlefield::BroadcastPacketToWar(), Battlefield::BroadcastPacketToZone(), SocialMgr::BroadcastToFriendListers(), OutdoorPvP::BroadcastWorker(), BattlefieldWG::BrokenWallOrTower(), Spell::CheckCast(), SpellInfo::CheckTarget(), Group::ConvertToGroup(), Group::ConvertToRaid(), Player::DeleteFromDB(), ArenaTeam::DelMember(), battleground_eye_of_the_storm::DoForFlagKeepers(), battleground_twin_peaks::DoForFlagKeepers(), battleground_warsong_gulch::DoForFlagKeepers(), npc_bg_silvershard_mines_mine_cart::DoForPlayersInControlZone(), Spell::EffectResurrect(), Spell::EffectResurrectNew(), Spell::EffectSkinPlayerCorpse(), Guild::Member::FindPlayer(), FindPlayerByLowGUID(), lfg::LFGMgr::FinishDungeon(), Battleground::GetAlivePlayersCountByTeam(), SocialMgr::GetFriendInfo(), Item::GetOwner(), WorldSession::HandleAddFriendOpcode(), WorldSession::HandleCanDuel(), npc_bg_silvershard_mines_mine_cart::HandleCapture(), WorldSession::HandleCharDeleteOpcode(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleInitiateTradeOpcode(), BattlefieldTB::HandleKill(), Battleground::HandleKillPlayer(), lfg_commandscript::HandleLfgGroupInfoCommand(), WorldSession::HandlePartyInviteResponseOpcode(), battleground_silvershard_mines::HandleProgressEvent(), battleground_deephaul_ravine::HandleProgressEvent(), BattlefieldWG::HandlePromotion(), WorldSession::HandleQuestConfirmAccept(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestPushResult(), WorldSession::HandleReportPvPAFK(), Battlefield::InvitePlayersInQueueToWar(), Battlefield::InvitePlayersInZoneToQueue(), Battlefield::InvitePlayersInZoneToWar(), ArenaTeam::IsFighting(), Battlefield::KickAfkPlayers(), Battlefield::KickPlayerFromBattlefield(), lfg::LFGMgr::MakeNewGroup(), BattlefieldTB::OnBattleEnd(), BattlefieldWG::OnBattleEnd(), BattlefieldWG::OnBattleStart(), BattlefieldWG::OnCreatureCreate(), lfg::LFGGroupScript::OnRemoveMember(), arena_dalaran_sewers::OnStart(), battleground_temple_of_kotmogu::OnStart(), BattlefieldTB::OnStartGrouping(), battleground_strand_of_the_ancients::OnUpdate(), at_bg_temple_of_kotmogu_small_area::OnUpdate(), Trinity::WorldObjectSpellTargetCheck::operator()(), npc_vp_slipstream::PassengerBoarded(), BattlegroundQueue::RemovePlayer(), Battleground::RemovePlayerAtLeave(), Player::Satisfy(), Spell::SelectEffectTypeImplicitTargets(), Group::SelectNewPartyOrRaidLeader(), CalendarMgr::SendCalendarEvent(), MailDraft::SendMailTo(), OPvPCapturePointZM_Graveyard::SetBeaconState(), ArenaTeam::SetCaptain(), battleground_strand_of_the_ancients::StartShips(), Battlefield::TeamCastSpell(), OutdoorPvP::TeamCastSpell(), battleground_strand_of_the_ancients::TeleportPlayers(), battleground_strand_of_the_ancients::TitanRelicActivated(), arena_ring_of_valor::TogglePillarCollision(), BattlefieldTB::TowerDestroyed(), BattlegroundScript::TriggerGameEvent(), BattlefieldWG::UpdatedDestroyedTowerCount(), Group::UpdateLooterGuid(), lfg::LFGMgr::UpdateRoleCheck(), BattlefieldWG::UpdateTenacity(), and GameObject::Use().
| Player * ObjectAccessor::FindPlayerByLowGUID | ( | ObjectGuid::LowType | lowguid | ) |
Definition at line 270 of file ObjectAccessor.cpp.
References FindPlayer().
Referenced by Trinity::ChatCommands::PlayerIdentifier::TryConsume().
| Player * ObjectAccessor::FindPlayerByName | ( | std::string_view | name | ) |
Definition at line 261 of file ObjectAccessor.cpp.
References FindConnectedPlayerByName(), and BaseEntity::IsInWorld().
Referenced by ChatHandler::extractLowGuidFromLink(), ChatHandler::extractPlayerTarget(), ChatHandler::GetPlayerGroupAndGUIDByName(), ban_commandscript::HandleBanInfoCharacterCommand(), misc_commandscript::HandleCombatStopCommand(), misc_commandscript::HandleFreezeCommand(), Guild::HandleInviteMember(), misc_commandscript::HandleListFreezeCommand(), npc_commandscript::HandleNpcWhisperCommand(), WorldSession::HandlePartyInviteOpcode(), misc_commandscript::HandleUnFreezeCommand(), message_commandscript::HandleWhispersCommand(), and Trinity::ChatCommands::PlayerIdentifier::TryConsume().
| AreaTrigger * ObjectAccessor::GetAreaTrigger | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 194 of file ObjectAccessor.cpp.
References Map::GetAreaTrigger(), and WorldObject::GetMap().
Referenced by GetObjectByTypeMask(), GetWorldObject(), spell_ymiron_the_fallen_king_arise_fallen_selector::HandleHitTarget(), WorldSession::HandleUpdateAreaTriggerVisual(), and npc_priestess_alun_za_spirit_of_gold::MovementInform().
| Conversation * ObjectAccessor::GetConversation | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 204 of file ObjectAccessor.cpp.
References Map::GetConversation(), and WorldObject::GetMap().
Referenced by GetObjectByTypeMask(), GetWorldObject(), and WorldSession::HandleConversationLineStarted().
| Corpse * ObjectAccessor::GetCorpse | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 174 of file ObjectAccessor.cpp.
References Map::GetCorpse(), and WorldObject::GetMap().
Referenced by Spell::CheckEffectTarget(), WorldSession::DoLootRelease(), Spell::CorpseTargetInfo::DoTargetSpellHit(), GetObjectByTypeMask(), GetWorldObject(), and Map::RemoveAllObjectsInRemoveList().
| Creature * ObjectAccessor::GetCreature | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 220 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(), npc_inquisitor_baleful_molten_shore::DamageTaken(), boss_attumen::boss_attumenAI::DamageTaken(), npc_ohgan::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(), npc_silverpine_grand_executor_mortuus::DespawnGarroshAndHisEliteGuards(), 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(), WaypointMgr::DevisualizePath(), boss_mandokir::DoAction(), 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(), boss_volkaal::DoAction(), boss_sporecaller_zancha::DoAction(), boss_krick::DoAction(), boss_blood_council_controller::DoAction(), boss_palehoof::DoAction(), boss_victor_nefarius::DoAction(), npc_silverpine_forest_ettin::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_helena_gentle_witch_hunt::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(), YmironSoulSiphonVisual::Execute(), ActivateGhouls::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(), conversation_burden_of_proof_base::GetConstableClone(), GetCreatureOrPetOrVehicle(), boss_bronjahm::GetData(), boss_four_horsemen_baseAI::getHorsemanHandle(), boss_krick::GetIck(), boss_ick::GetKrick(), conversation_burden_of_proof_base::GetLucilleClone(), GetObjectByTypeMask(), npc_air_force_bots::npc_air_force_botsAI::GetOrSummonGuard(), npc_anubisath_sentinel::aqsentinelAI::GetOtherSentinels(), boss_tyrannus::GetRimefang(), spell_mage_ring_of_frost::GetRingOfFrostMinion(), 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_lockmaw_scent_of_blood::HandleCrocoliskSummoning(), spell_sha_healing_rain_aura::HandleEffecRemoved(), spell_assembly_meltdown::spell_assembly_meltdown_SpellScript::HandleInstaKill(), WorldSession::HandleLootOpcode(), go_empowering_blood_orb::HandleObjectUse(), 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(), Scripts::Pandaria::TheWanderingIsle::npc_huojin_trainee::InitiateSparring(), spell_dru_efflorescence::InitSummon(), 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(), boss_blackheart_the_inciter_mc_dummy::IsSummonedBy(), npc_kayn_sunfury_ashtongue_intro_private::JustAppeared(), npc_joren_ironstock::JustAppeared(), npc_huxsworth_briarpatch_quest_private::JustAppeared(), npc_dawntracker_briarpatch_quest_private::JustAppeared(), BloodPrincesBossAI::JustAppeared(), npc_ingvar_throw_dummy::JustAppeared(), npc_void_traveler::JustAppeared(), Scripts::Pandaria::TheWanderingIsle::npc_huojin_trainee::JustAppeared(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), npc_inquisitor_baleful_molten_shore::JustDied(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::JustDied(), npc_chained_spirit::JustDied(), npc_geolord_grekog::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(), npc_harbinger_of_flame::npc_harbinger_of_flameAI::JustEngagedWith(), BloodPrincesBossAI::JustEngagedWith(), npc_faerlina_add::JustEngagedWith(), npc_dk_understudy::JustEngagedWith(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::JustEngagedWith(), Scripts::Pandaria::TheWanderingIsle::npc_huojin_trainee::JustEngagedWith(), boss_mandokir::JustEngagedWith(), npc_helena_gentle_witch_hunt::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(), boss_volkaal::JustEngagedWith(), boss_cragmaw_the_infested::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(), npc_silverpine_mutant_bush_chicken::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_captain_warlord_first_aid_private::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_baleroc_tormented::OnApply(), spell_tyrannus_mark_of_rimefang::OnApply(), spell_blood_queen_frenzied_bloodthirst::OnApply(), spell_blood_queen_vampiric_bite::OnCast(), npc_jayce_darkweaver_cryptic_hollow_private::OnChannelFinished(), BlackheartCharmedPlayerAI::OnCharmed(), achievement_just_cant_get_enough::OnCheck(), npc_warlord_grimaxe_q59942::OnDespawn(), 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_azhiccar_invading_shriek_aura::OnPeriodic(), spell_blood_queen_frenzied_bloodthirst::OnRemove(), spell_malygos_vortex_visual::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(), conversation_boralus_cyrus_meets_genn::OnUpdate(), boss_gothik::OpenGate(), npc_silverpine_armoire::PassengerBoarded(), 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(), WorldSession::SendTaxiStatus(), boss_shattered_executioner::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(), conversation_the_invasion_begins::StartCloneChannel(), conversation_the_invasion_begins::StartCloneMovement(), 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_garothi_worldbreaker::UpdateAI(), 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_milos_gyro::npc_milos_gyro_AI::UpdateAI(), npc_cameron::UpdateAI(), npc_thalorien_dawnseeker::UpdateAI(), npc_redridge_huge_boulder::UpdateAI(), npc_redridge_subdued_canyon_ettin::UpdateAI(), npc_silverpine_grand_executor_mortuus::UpdateAI(), npc_silverpine_armoire::UpdateAI(), npc_silverpine_salty_rocka::UpdateAI(), npc_silverpine_apothecary_wormcrud::UpdateAI(), npc_silverpine_admiral_hatchet::UpdateAI(), npc_silverpine_forest_ettin::UpdateAI(), npc_silverpine_mutant_bush_chicken::UpdateAI(), Scripts::EasternKingdoms::Westfall::npc_westfall_lous_parting_thoughts_trigger::UpdateAI(), npc_voljin_zulaman::npc_voljin_zulamanAI::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_captain_warlord_first_aid_private::UpdateAI(), npc_survivors_healed_by_leader_beach_private< PathId, WaitTime >::UpdateAI(), npc_huxsworth_briarpatch_quest_private::UpdateAI(), npc_dawntracker_briarpatch_quest_private::UpdateAI(), npc_gnome_goblin_plains_make_copter_private::UpdateAI(), npc_captain_garrick_q55879::UpdateAI(), npc_warlord_grimaxe_q59942::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), boss_lockmaw::UpdateAI(), boss_onyxia::UpdateAI(), Scripts::Kalimdor::Durotar::npc_voljin_garrosh_vision::UpdateAI(), Scripts::Kalimdor::Durotar::npc_voljin_thrall_vision::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_sergeant_bly::npc_sergeant_blyAI::UpdateAI(), npc_helena_gentle_witch_hunt::UpdateAI(), npc_seismic_shard::npc_seismic_shardAI::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_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_warchief_kargath_bladefist::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(), npc_brewfest_reveler_2::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(), PhasingHandler::ControlledUnitVisitor::VisitControlledOf(), 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 244 of file ObjectAccessor.cpp.
References GetCreature(), GetPet(), ObjectGuid::IsCreatureOrVehicle(), and ObjectGuid::IsPet().
Referenced by Spell::_cast(), Unit::GetFirstMinion(), Unit::GetGuardianPet(), Player::GetNPCIfCanInteractWith(), ChatHandler::getSelectedCreature(), Player::GetSummonedBattlePet(), WorldSession::HandleDismissCritter(), WorldSession::HandlePetAbandon(), WorldSession::HandlePetCancelAuraOpcode(), WorldSession::HandlePetSpellAutocastOpcode(), WorldSession::HandlePetStopAttack(), WorldSession::HandleQueryBattlePetName(), WorldSession::HandleSpellClick(), Player::PrepareQuestMenu(), Spell::SelectImplicitCasterObjectTargets(), WorldSession::SendQueryPetNameResponse(), Player::SendQuestGiverStatusMultiple(), Player::UpdateQuestObjectiveProgress(), and Player::UpdateVisibleObjectInteractions().
| DynamicObject * ObjectAccessor::GetDynamicObject | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 189 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 179 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(), boss_temple_guardian_anhuur::DamageTaken(), HoRGameObjectDeleteDelayEvent::DeleteGameObject(), npc_expedition_commander::DestroyHarpoons(), npc_rocknot::npc_rocknotAI::DoGo(), Spell::GOTargetInfo::DoTargetSpellHit(), boss_kirtonos_the_herald::EnterEvadeMode(), boss_kelthuzad::EnterEvadeMode(), spell_anhuur_shield_of_light::FilterTargets(), 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(), npc_snufflenose_gopher::npc_snufflenose_gopherAI::MovementInform(), 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(), boss_temple_guardian_anhuur::UpdateAI(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), Scripts::Kalimdor::Durotar::npc_voljin_garrosh_vision::UpdateAI(), Scripts::Kalimdor::Durotar::npc_voljin_thrall_vision::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(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::UpdateEscortAI(), boss_kirtonos_the_herald::UpdateIntroEvents(), Spell::UpdatePointers(), Player::UpdateQuestObjectiveProgress(), boss_pyroguard_emberseer::UpdateRunes(), Player::UpdateVisibleObjectInteractions(), 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 121 of file ObjectAccessor.cpp.
References AreaTrigger, Conversation, Corpse, Creature, DynamicObject, GameObject, GetAreaTrigger(), GetConversation(), GetCorpse(), GetCreature(), GetDynamicObject(), GetGameObject(), ObjectGuid::GetHigh(), GetPet(), GetPlayer(), GetSceneObject(), BaseEntity::GetTypeId(), Item, Pet, Player, SceneObject, Transport, TYPEID_PLAYER, TYPEMASK_AREATRIGGER, TYPEMASK_CONVERSATION, TYPEMASK_CORPSE, TYPEMASK_DYNAMICOBJECT, TYPEMASK_GAMEOBJECT, TYPEMASK_ITEM, TYPEMASK_PLAYER, TYPEMASK_SCENEOBJECT, TYPEMASK_UNIT, and Vehicle.
Referenced by Player::GetViewpoint(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleQuestgiverChooseRewardOpcode(), WorldSession::HandleQuestgiverCompleteQuest(), WorldSession::HandleQuestgiverQueryQuestOpcode(), WorldSession::HandleQuestgiverRequestRewardOpcode(), and WorldSession::HandleQuestgiverStatusQueryOpcode().
| Pet * ObjectAccessor::GetPet | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 225 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 230 of file ObjectAccessor.cpp.
Referenced by Battleground::_ProcessJoin(), Battleground::_ProcessPlayerPositionBroadcast(), GameObjectType::ControlZone::ActivateObject(), BoBeachStandingAISelector(), Battleground::BuildPvPLogDataPacket(), CaptainGarrickAISelector(), CaptainGarrickBeachAISelector(), 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(), ChoppyBoosterSelector(), Scenario::CompleteStep(), CorkFizzlepopSelector(), npc_wild_wyrm::DamageTaken(), Scripts::Pandaria::TheWanderingIsle::npc_li_fei_combat::DamageTaken(), DawntrackerBriarpatchSelector(), npc_chained_spirit::DoAction(), npc_ball_of_flame::DoAction(), npc_ice_tomb::DoAction(), npc_wild_wyrm::DoAction(), npc_silverpine_forsaken_bat::DoAction(), Scenario::DoForAllPlayers(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), npc_wild_wyrm::EvadeCheck(), WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself(), Unit::GetDemonCreatorPlayer(), FollowerAI::GetLeaderForFollower(), GetObjectByTypeMask(), Map::GetPlayer(), GetPlayer(), EscortAI::GetPlayerForEscort(), Conversation::GetPrivateObjectOwnerLocale(), SmartScript::GetTargets(), GetUnit(), GetWorldObject(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), npc_simon_bunny::npc_simon_bunnyAI::GiveRewardForLevel(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), debug_commandscript::HandleDebugGetLootRecipientCommand(), misc_commandscript::HandleGetDistanceCommand(), group_commandscript::HandleGroupSummonCommand(), WorldSession::HandleInspectOpcode(), WorldSession::HandleLootMasterGiveOpcode(), HPControlZoneHandler::HandleProgressEventAlliance(), TFControlZoneHandler::HandleProgressEventAlliance(), HPControlZoneHandler::HandleProgressEventHorde(), TFControlZoneHandler::HandleProgressEventHorde(), WorldSession::HandleQueryInspectAchievements(), WorldSession::HandleResurrectResponse(), WorldSession::HandleRideVehicleInteract(), spell_borean_tundra_magnataur_on_death_1::HandleScript(), misc_commandscript::HandleSummonCommand(), GameObjectType::ControlZone::HandleUnitEnterExit(), HuxsworthBriarpatchSelector(), npc_coldflame::IsSummonedBy(), npc_inquisitor_baleful_molten_shore::JustDied(), npc_fel_lord_caza_cryptic_hollow::JustDied(), npc_chained_spirit::JustDied(), npc_ice_tomb::JustDied(), npc_iron_roots::npc_iron_rootsAI::JustDied(), npc_daegarn::JustSummoned(), npc_restless_soul::npc_restless_soulAI::JustSummoned(), Unit::Kill(), LanaJordanBeachStandingAISelector(), LindieSpringstockSelector(), MithdranBeachStandingAISelector(), npc_unworthy_initiate::npc_unworthy_initiateAI::MovementInform(), npc_valkyr_shadowguard::MovementInform(), npc_wild_wyrm::MovementInform(), npc_king_jokkum_vehicle::MovementInform(), npc_chained_spirit::MovementInform(), Loot::NotifyItemRemoved(), Loot::NotifyLootList(), Loot::NotifyMoneyRemoved(), Loot::OnLootOpened(), npc_daegarn::OnQuestAccept(), at_guardians_breath< ColorSpellId >::at_guardians_breathAI< ColorSpell >::OnRemove(), at_telash_greywing_vault_rune::OnRemove(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::OnRemove(), conversation_ghostlands_start_convo_on_end< ConversationId >::OnStart(), conversation_dawnspair_spire_to_ghostlands::OnStart(), Scripts::KhazAlgar::CampaignsVisionsOfAShadowedSun::conversation_vereesas_tale::OnStart(), conversation_burden_of_proof_speak_with_constable::OnStart(), Scripts::QuelThalas::Harandar::Chapter1::conversation_the_root_cause_open_portal::OnStart(), Scripts::QuelThalas::Harandar::Chapter1::conversation_to_harathir_talk_to_kupaal::OnStart(), npc_silverpine_fenris_keep_stalker::OnTriggerNoEscape(), at_telash_greywing_vault_rune::OnUnitExit(), conversation_boralus_hub_tour::OnUpdate(), conversation_cyrus_crestfall_shaking_hands::OnUpdate(), npc_silverpine_horde_hauler::PassengerBoarded(), npc_doctor::npc_doctorAI::PatientDied(), npc_jungle_punch_target::proceedCwEvent(), SmartScript::ProcessAction(), conversation_burden_of_proof_base::ScheduleEvents(), Spell::SelectImplicitAreaTargets(), LootRoll::SendAllPassed(), LootRoll::SendLootRollWon(), LootRoll::SendRoll(), LootRoll::SendStartRoll(), Trinity::VisibleNotifier::SendToSelf(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::SetGUID(), npc_snobold_vassal::SetGUID(), npc_bloodmage_laurith::SetGUID(), Unit::SetOwnerGUID(), Scenario::SetStep(), npc_redridge_subdued_canyon_ettin::SpellHit(), boss_flame_leviathan::boss_flame_leviathanAI::SpellHitTarget(), SmartAI::StopFollow(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), LootRoll::TryToStart(), 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_silverpine_forsaken_bat::UpdateAI(), npc_silverpine_forest_ettin::UpdateAI(), npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI::UpdateAI(), Scripts::EasternKingdoms::Westfall::npc_westfall_lous_parting_thoughts_trigger::UpdateAI(), Scripts::EasternKingdoms::Westfall::npc_westfall_small_time_hustler::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_huxsworth_hunter_quest_private::UpdateAI(), npc_huxsworth_briarpatch_quest_private::UpdateAI(), npc_dawntracker_hunter_quest_private::UpdateAI(), npc_dawntracker_briarpatch_quest_private::UpdateAI(), npc_gnome_goblin_plains_make_copter_private::UpdateAI(), npc_scoutomatic_5000::UpdateAI(), npc_choppy_booster_scout::UpdateAI(), npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::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(), Player::UpdateQuestObjectiveProgress(), GameObject::Use(), WorldObjectVisibleChangeVisitor< Work >::Visit(), WarlordGrimaxeBeachAISelector(), npc_danica_the_reclaimer::WaypointPathEnded(), npc_scoutomatic_5000::WaypointPathEnded(), npc_choppy_booster_scout::WaypointPathEnded(), npc_silverpine_forsaken_bat::WaypointReached(), LootRoll::~LootRoll(), and Scenario::~Scenario().
| Player * ObjectAccessor::GetPlayer | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 239 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and GetPlayer().
| HashMapHolder< Player >::MapType const & ObjectAccessor::GetPlayers | ( | ) |
Definition at line 286 of file ObjectAccessor.cpp.
References HashMapHolder< T >::GetContainer().
Referenced by gm_commandscript::HandleGMListIngameCommand(), reset_commandscript::HandleResetAllCommand(), SaveAllPlayers(), and WhoListStorageMgr::Update().
| SceneObject * ObjectAccessor::GetSceneObject | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 199 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and Map::GetSceneObject().
Referenced by GetObjectByTypeMask(), and GetWorldObject().
| Transport * ObjectAccessor::GetTransport | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 184 of file ObjectAccessor.cpp.
References WorldObject::GetMap(), and Map::GetTransport().
Referenced by Player::Create(), ResetEncounterEvent::Execute(), npc_gunship::npc_gunshipAI::JustDied(), npc_the_lich_king_escape_hor::npc_the_lich_king_escape_horAI::MovementInform(), npc_gunship_boarding_addAI::MovementInform(), spell_igb_gunship_fall_teleport::SelectTransport(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI(), npc_high_overlord_saurfang_igb::UpdateAI(), and npc_muradin_bronzebeard_igb::UpdateAI().
| Unit * ObjectAccessor::GetUnit | ( | WorldObject const & | u, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 209 of file ObjectAccessor.cpp.
References GetCreature(), GetPet(), GetPlayer(), ObjectGuid::IsPet(), and ObjectGuid::IsPlayer().
Referenced by Spell::_cast(), ThreatManager::AddThreat(), Vehicle::AddVehiclePassenger(), Creature::AtEngage(), boss_malchezaar::boss_malchezaarAI::AxesCleanup(), DynamicObject::BindToCaster(), Spell::cancel(), Player::CanExecutePendingSpellCastRequest(), spell_baleroc_countdown_aoe_dummy::CastSpellLink(), boss_gurtogg_bloodboil::ChangePhase(), VehicleAI::CheckConditions(), SmartAI::CheckConditions(), Aura::Create(), Spell::DelayedChannel(), Scripts::EasternKingdoms::StormwindCity::npc_jaina_proudmoore_tides_of_war::DoAction(), Scripts::EasternKingdoms::Westfall::npc_westfall_hobo_witness::DoAction(), boss_ick::DoAction(), boss_flame_leviathan::boss_flame_leviathanAI::DoBatteringRamIfReady(), Spell::TargetInfo::DoDamageAndTriggers(), Spell::DoEffectOnLaunchTarget(), Spell::TargetInfo::DoTargetSpellHit(), boss_malchezaar::boss_malchezaarAI::EnfeebleResetHealth(), SmartAI::EnterEvadeMode(), DarkFallenAI::EnterEvadeMode(), AssistDelayEvent::Execute(), spell_mage_flurry::FlurryEvent::Execute(), spell_pri_void_volley::BoltEvent::Execute(), ProcReflectDelayed::Execute(), DarkflamePickaxeDamageEvent::Execute(), boss_epoch::boss_epochAI::ExecuteEvent(), Player::ExecutePendingSpellCastRequest(), UnitAura::FillTargetMap(), spell_putricide_mutated_transformation_dmg::FilterTargetsInitial(), Conversation::GetActorUnit(), AreaTrigger::GetCaster(), Aura::GetCaster(), Unit::GetControllingPlayer(), Unit::GetDemonCreator(), boss_prince_taldaram::GetEmbraceTarget(), Unit::GetFirstControlled(), boss_sapphiron::GetGUID(), SmartScript::GetLastInvoker(), WorldObject::GetOwner(), Vehicle::GetPassenger(), FleeingMovementGenerator::GetPoint(), ChatHandler::getSelectedObject(), Player::GetSelectedUnit(), AreaTrigger::GetTarget(), SmartScript::GetTargets(), GetUnitConditionVariable(), spell_pri_rapture::HandleAfterCast(), WorldSession::HandleAttackSwingOpcode(), debug_commandscript::HandleDebugThreatInfoCommand(), spell_sapphiron_summon_blizzard::HandleDummy(), spell_lord_stormsong_surrender_to_the_void::HandleDummy(), spell_warl_rain_of_fire::HandleDummyTick(), spell_pri_power_word_radiance::HandleEffectHitTarget(), spell_rog_killing_spree_aura::HandleEffectPeriodic(), spell_sha_earthen_rage_proc_aura::HandleEffectPeriodic(), WorldSession::HandleEjectPassenger(), boss_felmyst::HandleFlightSequence(), gobject_commandscript::HandleGameObjectDeleteCommand(), spell_eject_spirits_of_redemption::HandleHitTarget(), spell_edna_refracting_beam_selector::HandleHitTarget(), WorldSession::HandleMirrorImageDataRequest(), WorldSession::HandleMissileTrajectoryCollision(), WorldSession::HandleMoveChangeVehicleSeats(), spell_pri_trail_of_light::HandleOnProc(), spell_sapphiron_change_blizzard_target::HandlePeriodic(), spell_pri_entropic_rift_periodic::HandlePeriodic(), WorldSession::HandlePetAction(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandlePetSetAction(), spell_rog_tricks_of_the_trade_aura::HandleProc(), spell_pri_divine_procession::HandleProc(), WorldSession::HandleRequestVehicleSwitchSeat(), spell_warr_intimidating_shout_menace_knock_back::HandleRoot(), spell_pal_holy_prism_selector::HandleScript(), WorldSession::HandleSendPingUnit(), WorldSession::HandleTextEmoteOpcode(), Spell::HandleThreatSpells(), AreaTrigger::HandleUnitEnterExit(), WorldSession::HandleUpdateAuraVisual(), WorldSession::HandleUpdateMissileTrajectory(), boss_malchezaar::boss_malchezaarAI::InfernalCleanup(), Spell::InitExplicitTargets(), npc_fallout_slime::InitializeAI(), boss_priestess_delrissa::InitializeLackeys(), spell_pal_light_hammer_init_summon::InitSummon(), npc_pit_of_saron_icicle::IsSummonedBy(), npc_tiger_matriarch::IsSummonedBy(), npc_kayn_sunfury_ashtongue_intro_private::JustAppeared(), 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(), MotionMaster::MoveCloserAndStop(), boss_selin_fireheart::MovementInform(), boss_onyxia::MovementInform(), npc_hive_zara_larva::MovementInform(), npc_azure_ring_captain::MovementInform(), GenericMovementGenerator::MovementInform(), CreatureAI::OnCharmed(), SmartAI::OnCharmed(), at_tidesage_council_reinforcing_ward::OnCreate(), at_hun_binding_shot::OnCreate(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), spell_pri_lights_wrath::OnPrecast(), conversation_the_invasion_begins::OnUpdate(), conversation_an_unlikely_informant::OnUpdate(), Scripts::EasternKingdoms::StormwindCity::conversation_start_council_tides_of_war::OnUpdate(), conversation_boralus_cyrus_meets_genn::OnUpdate(), areatrigger_sha_wind_rush_totem::OnUpdate(), 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(), Unit::SendPeriodicAuraLog(), 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_webwrap::SetGUID(), npc_arthas_stratholme::npc_arthas_stratholmeAI::SetGUID(), npc_shadow_demon::SetGUID(), SceneObject::ShouldBeRemoved(), Spell::Spell(), npc_ruby_emerald_amber_drake::SpellHit(), conversation_the_invasion_begins::StartCloneChannel(), spell_pri_atonement::TriggerAtonementHealOnTargets(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_eachother(), GameObject::Update(), Spell::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(), npc_wounded_coldridge_mountaineer::npc_wounded_coldridge_mountaineerAI::UpdateAI(), npc_silverpine_skitterweb_matriarch::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(), boss_vx_001::boss_vx_001AI::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::UpdatePointers(), boss_netherspite::boss_netherspiteAI::UpdatePortals(), areatrigger_pri_entropic_rift::UpdateTarget(), SmartScript::UpdateTimer(), npc_icc_orb_controller::UpdateValidGuids(), GameObject::Use(), WorldSession::ValidateAndGetUnitBeingMoved(), and PhasingHandler::ControlledUnitVisitor::VisitControlledOf().
| WorldObject * ObjectAccessor::GetWorldObject | ( | WorldObject const & | p, |
| ObjectGuid const & | guid | ||
| ) |
Definition at line 102 of file ObjectAccessor.cpp.
References AreaTrigger, Conversation, Corpse, Creature, DynamicObject, GameObject, GetAreaTrigger(), GetConversation(), GetCorpse(), GetCreature(), GetDynamicObject(), GetGameObject(), ObjectGuid::GetHigh(), GetPet(), GetPlayer(), GetSceneObject(), Pet, Player, SceneObject, Transport, and Vehicle.
Referenced by Unit::_UpdateSpells(), Spell::AddUnitTarget(), CinematicMgr::EndCinematic(), TempSummon::GetSummoner(), SmartScript::GetTargets(), Aura::GetWorldObjectCaster(), WorldSession::HandlePlayerChoiceResponse(), AreaTrigger::InitOrbit(), AreaTriggerMovementOriginVisitor::operator()(), AuraEffect::PeriodicTick(), PhasingHandler::PrintToChat(), Creature::ReacquireSpellFocusTarget(), Spell::SelectImplicitCasterObjectTargets(), Spell::SelectImplicitChannelTargets(), Spell::SendChannelStart(), Map::SummonCreature(), SpellCastTargets::Update(), ObjectGuidVector::UpdateObjects(), TempSummon::UpdateObjectVisibilityOnCreate(), TempSummon::UpdateObjectVisibilityOnDestroy(), and Spell::UpdatePointers().
| void ObjectAccessor::RemoveObject | ( | Player * | player | ) |
Definition at line 308 of file ObjectAccessor.cpp.
References PlayerNameMapHolder::Remove(), and HashMapHolder< T >::Remove().
| void ObjectAccessor::RemoveObject | ( | T * | object | ) |
Definition at line 100 of file ObjectAccessor.h.
References HashMapHolder< T >::Remove().
Referenced by Map::DeleteFromWorld().
| void ObjectAccessor::SaveAllPlayers | ( | ) |
Definition at line 291 of file ObjectAccessor.cpp.
References GetPlayers().
Referenced by misc_commandscript::HandleSaveAllCommand().