Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ObjectAccessor Class Reference

#include <ObjectAccessor.h>

Public Member Functions

void AddCorpse (Corpse *corpse)
void AddCorpsesToGrid (GridCoord const &gridpair, GridType &grid, Map *map)
void AddUpdateObject (Object *obj)
CorpseConvertCorpseForPlayer (uint64 player_guid, bool insignia=false)
CorpseGetCorpseForPlayerGUID (uint64 guid)
void RemoveCorpse (Corpse *corpse)
void RemoveOldCorpses ()
void RemoveUpdateObject (Object *obj)
void UnloadAll ()
void Update (uint32 diff)

Static Public Member Functions

template<class T>
static void AddObject (T *object)
static PetFindPet (uint64)
static PlayerFindPlayer (uint64)
static PlayerFindPlayerByName (std::string const &name)
static PlayerFindPlayerInOrOutOfWorld (uint64)
static UnitFindUnit (uint64)
static AreaTriggerGetAreaTrigger (WorldObject const &u, uint64 guid)
static CorpseGetCorpse (WorldObject const &u, uint64 guid)
static CreatureGetCreature (WorldObject const &u, uint64 guid)
static CreatureGetCreatureOrPetOrVehicle (WorldObject const &, uint64)
static HashMapHolder< Creature >::MapType const & GetCreatures ()
static DynamicObjectGetDynamicObject (WorldObject const &u, uint64 guid)
static GameObjectGetGameObject (WorldObject const &u, uint64 guid)
static HashMapHolder< GameObject >::MapType const & GetGameObjects ()
static ObjectGetObjectByTypeMask (WorldObject const &, uint64, uint32 typemask)
template<class T>
static T * GetObjectInMap (uint64 guid, Map *map, T *)
template<class T>
static T * GetObjectInOrOutOfWorld (uint64 guid, T *)
static UnitGetObjectInOrOutOfWorld (uint64 guid, Unit *)
template<class T>
static T * GetObjectInWorld (uint32 mapid, float x, float y, uint64 guid, T *)
static PlayerGetObjectInWorld (uint64 guid, Player *)
template<class T>
static T * GetObjectInWorld (uint64 guid, T *)
static UnitGetObjectInWorld (uint64 guid, Unit *)
static PetGetPet (WorldObject const &, uint64 guid)
static PlayerGetPlayer (WorldObject const &, uint64 guid)
static HashMapHolder< Player >::MapType const & GetPlayers ()
static TransportGetTransport (WorldObject const &u, uint64 guid)
static UnitGetUnit (WorldObject const &, uint64 guid)
static WorldObjectGetWorldObject (WorldObject const &, uint64)
template<class T>
static void RemoveObject (T *object)
static void SaveAllPlayers ()

Private Types

typedef UNORDERED_MAP< uint64, Corpse * > Player2CorpsesMapType
typedef UNORDERED_MAP< Player *, UpdateData >::value_type UpdateDataValueType

Private Member Functions

 ObjectAccessor ()
 ObjectAccessor (const ObjectAccessor &)
ObjectAccessoroperator= (const ObjectAccessor &)
 ~ObjectAccessor ()

Private Attributes

SF_SHARED_MUTEX i_corpseLock
SF_SHARED_MUTEX i_objectLock
std::set< Object * > i_objects
Player2CorpsesMapType i_player2corpse

Friends

class Skyfire::Singleton< ObjectAccessor, Skyfire::NullMutex >

Detailed Description

Definition at line 56 of file ObjectAccessor.h.

Member Typedef Documentation

◆ Player2CorpsesMapType

Definition at line 185 of file ObjectAccessor.h.

◆ UpdateDataValueType

Definition at line 186 of file ObjectAccessor.h.

Constructor & Destructor Documentation

◆ ObjectAccessor() [1/2]

ObjectAccessor::ObjectAccessor ( )
private

Definition at line 78 of file ObjectAccessor.cpp.

Referenced by ObjectAccessor(), and operator=().

◆ ~ObjectAccessor()

ObjectAccessor::~ObjectAccessor ( )
private

Definition at line 80 of file ObjectAccessor.cpp.

◆ ObjectAccessor() [2/2]

ObjectAccessor::ObjectAccessor ( const ObjectAccessor & )
private

References ObjectAccessor().

Member Function Documentation

◆ AddCorpse()

◆ AddCorpsesToGrid()

void ObjectAccessor::AddCorpsesToGrid ( GridCoord const & gridpair,
GridType & grid,
Map * map )

◆ AddObject()

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

Definition at line 156 of file ObjectAccessor.h.

References HashMapHolder< T >::Insert().

◆ AddUpdateObject()

◆ ConvertCorpseForPlayer()

◆ FindPet()

Pet * ObjectAccessor::FindPet ( uint64 guid)
static

Definition at line 235 of file ObjectAccessor.cpp.

References GetObjectInWorld().

◆ FindPlayer()

Player * ObjectAccessor::FindPlayer ( uint64 guid)
static

Definition at line 240 of file ObjectAccessor.cpp.

References GetObjectInWorld().

Referenced by Battleground::_CheckSafePositions(), Battleground::_GetPlayer(), Battleground::_ProcessJoin(), Battleground::_ProcessRessurect(), Guild::AddMember(), GuildFinderMgr::AddMembershipRequest(), Battleground::AddPlayerToResurrectQueue(), Group::BroadcastGroupUpdate(), ArenaTeam::BroadcastPacket(), OutdoorPvP::BroadcastPacket(), SocialMgr::BroadcastToFriendListers(), Battleground::BroadcastWorker(), BattlegroundMgr::BuildPvpLogDataPacket(), Group::ChangeLeader(), Group::ChangeMembersGroup(), OPvPCapturePointTF::ChangeState(), Spell::CheckCast(), BattlegroundEY::CheckSomeoneJoinedPoint(), BattlegroundEY::CheckSomeoneLeftPoint(), SpellInfo::CheckTarget(), Unit::ClearComboPointHolders(), lfg::LFGMgr::ClearGroupQueueState(), Group::ConvertToGroup(), Group::ConvertToRaid(), Group::CountTheRoll(), AccountMgr::DeleteAccount(), Player::DeleteFromDB(), GuildFinderMgr::DeleteGuild(), Guild::DeleteMember(), BattlegroundIC::DoAction(), Battleground::EndBattleground(), BattlegroundSA::EventPlayerUsedGO(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Guild::Member::FindPlayer(), lfg::LFGMgr::FinishDungeon(), ArenaTeam::FinishGame(), Battleground::GetAlivePlayersCountByTeam(), TicketInfo::GetAssignedPlayer(), ArenaTeam::GetAverageMMR(), lfg::LFGMgr::GetCompatibleDungeons(), SocialMgr::GetFriendInfo(), LuaGroup::GetLeader(), LuaGuild::GetLeader(), lfg::LFGMgr::GetLockedDungeons(), Creature::GetLootRecipient(), GameObject::GetLootRecipient(), Item::GetOwner(), TicketInfo::GetPlayer(), ObjectMgr::GetPlayerAccountIdByGUID(), LuaGlobalFunctions::GetPlayerByGUID(), ObjectMgr::GetPlayerByLowGUID(), CalendarMgr::GetPlayerEvents(), ObjectMgr::GetPlayerNameByGUID(), ObjectMgr::GetPlayerTeamByGUID(), ChatHandler::getSelectedPlayer(), Group::GroupLoot(), WorldSession::HandleAddFriendOpcodeCallBack(), WorldSession::HandleBattlegroundPlayerPositionsOpcode(), WorldSession::HandleCalendarAddEvent(), WorldSession::HandleCharDeleteOpcode(), WorldSession::HandleChatIgnoredOpcode(), WorldSession::HandleEjectPassenger(), WorldSession::HandleGroupInviteResponseOpcode(), group_commandscript::HandleGroupListCommand(), WorldSession::HandleGroupSetLeaderOpcode(), WorldSession::HandleGroupSetRolesOpcode(), WorldSession::HandleGuildDeclineOpcode(), WorldSession::HandleInitiateTradeOpcode(), WorldSession::HandleInspectHonorStatsOpcode(), WorldSession::HandleInspectOpcode(), Battleground::HandleKillPlayer(), WorldSession::HandleLootMasterGiveOpcode(), WorldSession::HandleMailTakeItem(), npc_commandscript::HandleNpcWhisperCommand(), WorldSession::HandleOfferPetitionOpcode(), WorldSession::HandlePetBattleQueueProposeMatchResult(), WorldSession::HandlePetitionDeclineOpcode(), WorldSession::HandlePetitionSignOpcode(), WorldSession::HandleQueryInspectAchievements(), WorldSession::HandleQuestConfirmAccept(), WorldSession::HandleQuestgiverAcceptQuestOpcode(), WorldSession::HandleRaidReadyCheckConfirmOpcode(), WorldSession::HandleReportPvPAFK(), WorldSession::HandleRideVehicleInteract(), WorldSession::HandleSendMail(), lfg::LFGMgr::HasIgnore(), BattlegroundQueue::InviteGroupToBG(), ArenaTeam::IsFighting(), Unit::Kill(), Channel::List(), lfg::LFGMgr::MakeNewGroup(), Group::NeedBeforeGreed(), Loot::NotifyItemRemoved(), Loot::NotifyMoneyRemoved(), Loot::NotifyQuestItemRemoved(), ArenaTeam::NotifyStatsChanged(), Group::OfflineReadyCheck(), lfg::LFGGroupScript::OnRemoveMember(), Skyfire::WorldObjectSpellTargetCheck::operator()(), BattlegroundSA::PostUpdateImpl(), BattlegroundTP::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundWS::PostUpdateImpl(), SmartScript::ProcessAction(), Battleground::RelocateDeadPlayers(), Group::RemoveMember(), GuildFinderMgr::RemoveMembershipRequest(), Player::RemovePetitionsAndSigns(), BattlegroundQueue::RemovePlayer(), Battleground::RemovePlayerAtLeave(), Battleground::RemovePlayerFromResurrectQueue(), Group::ResetMaxEnchantingLevel(), BattlegroundSA::ResetObjs(), ObjectMgr::ReturnOrDeleteOldMails(), Player::Satisfy(), Channel::Say(), Spell::SelectEffectTypeImplicitTargets(), GuildFinderMgr::SendApplicantListUpdate(), AuctionHouseMgr::SendAuctionCancelledToBidderMail(), AuctionHouseMgr::SendAuctionExpiredMail(), BlackMarketMgr::SendAuctionOutbidded(), AuctionHouseMgr::SendAuctionOutbiddedMail(), AuctionHouseMgr::SendAuctionSalePendingMail(), AuctionHouseMgr::SendAuctionSuccessfulMail(), BlackMarketMgr::SendAuctionWon(), AuctionHouseMgr::SendAuctionWonMail(), BattlegroundSA::SendBoatDebugTimerUpdate(), BattlegroundSA::SendBoatTransportUpdates(), CalendarMgr::SendCalendarClearPendingAction(), CalendarMgr::SendCalendarCommandResult(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInvite(), CalendarMgr::SendCalendarEventInviteAlert(), CalendarMgr::SendCalendarEventInviteRemoveAlert(), CalendarMgr::SendCalendarEventStatusAlert(), lfg::LFGMgr::SendLfgBootProposalUpdate(), lfg::LFGMgr::SendLfgJoinResult(), lfg::LFGMgr::SendLfgQueueStatus(), lfg::LFGMgr::SendLfgRoleCheckUpdate(), WorldSession::SendLfgRoleCheckUpdate(), lfg::LFGMgr::SendLfgRoleChosen(), lfg::LFGMgr::SendLfgUpdateProposal(), lfg::LFGMgr::SendLfgUpdateStatus(), Group::SendLootAllPassed(), Group::SendLootRoll(), Group::SendLootRollWon(), Group::SendLootStartRoll(), WorldSession::SendNameQueryOpcode(), OPvPCapturePoint::SendObjectiveComplete(), CalendarMgr::SendPacketToAllEventRelatives(), MailDraft::SendReturnToSender(), Channel::SendToAll(), Channel::SendToAllButOne(), Channel::SendToOne(), Skyfire::VisibleNotifier::SendToSelf(), Group::SendUpdateToPlayer(), OPvPCapturePoint::SendUpdateWorldState(), OutdoorPvP::SendUpdateWorldState(), Battleground::SendWarningToAll(), OPvPCapturePointZM_GraveYard::SetBeaconState(), BattlegroundIC::SetupBattleground(), BattlegroundSA::ShouldDelayStartForDebug(), BattlegroundDS::StartingEventOpenDoors(), Battleground::StartTimedAchievement(), OutdoorPvP::TeamCastSpell(), BattlegroundSA::TeleportPlayers(), BattlegroundRV::TogglePillarCollision(), OPvPCapturePoint::Update(), Group::UpdateLooterGuid(), BattlegroundEY::UpdatePointStatuses(), lfg::LFGMgr::UpdateProposal(), GameObject::Use(), WorldObjectChangeAccumulator::Visit(), and Player::Whisper().

◆ FindPlayerByName()

Player * ObjectAccessor::FindPlayerByName ( std::string const & name)
static

◆ FindPlayerInOrOutOfWorld()

Player * ObjectAccessor::FindPlayerInOrOutOfWorld ( uint64 guid)
static

◆ FindUnit()

Unit * ObjectAccessor::FindUnit ( uint64 guid)
static

Definition at line 250 of file ObjectAccessor.cpp.

References GetObjectInWorld().

Referenced by Spell::DoAllEffectOnTarget(), and SmartScript::GetLastInvoker().

◆ GetAreaTrigger()

AreaTrigger * ObjectAccessor::GetAreaTrigger ( WorldObject const & u,
uint64 guid )
static

Definition at line 199 of file ObjectAccessor.cpp.

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

Referenced by GetObjectByTypeMask(), and GetWorldObject().

◆ GetCorpse()

◆ GetCorpseForPlayerGUID()

Corpse * ObjectAccessor::GetCorpseForPlayerGUID ( uint64 guid)

Definition at line 300 of file ObjectAccessor.cpp.

References ASSERT, CORPSE_BONES, i_corpseLock, i_player2corpse, and SF_SHARED_GUARD.

Referenced by ConvertCorpseForPlayer().

◆ GetCreature()

Creature * ObjectAccessor::GetCreature ( WorldObject const & u,
uint64 guid )
static

Definition at line 209 of file ObjectAccessor.cpp.

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

Referenced by boss_maiev_shadowsong::boss_maievAI::AttackStart(), boss_shade_of_akama::boss_shade_of_akamaAI::AttackStart(), npc_akama_illidan::npc_akama_illidanAI::BeginTalk(), boss_maiev_shadowsong::boss_maievAI::BlinkToPlayer(), boss_twilight_halion::boss_twilight_halionAI::boss_twilight_halionAI(), spell_yogg_saron_in_the_maws_of_the_old_god::spell_yogg_saron_in_the_maws_of_the_old_god_SpellScript::CheckRequirement(), spell_putricide_mutation_init::spell_putricide_mutation_init_SpellScript::CheckRequirementInternal(), boss_prince_keleseth_icc::boss_prince_kelesethAI::CheckRoom(), boss_prince_taldaram_icc::boss_prince_taldaramAI::CheckRoom(), boss_prince_valanar_icc::boss_prince_valanarAI::CheckRoom(), BattlePetMgr::ClearActivePetBattleWorldObjectState(), spell_yogg_saron_induce_madness::spell_yogg_saron_induce_madness_SpellScript::ClearShatteredIllusion(), player_overlord_brandAI::DamageDealt(), boss_brain_of_yogg_saron::boss_brain_of_yogg_saronAI::DamageTaken(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::DamageTaken(), boss_halion::boss_halionAI::DamageTaken(), boss_maiev_shadowsong::boss_maievAI::DamageTaken(), boss_sara::boss_saraAI::DamageTaken(), boss_twilight_halion::boss_twilight_halionAI::DamageTaken(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::DamageTaken(), npc_ice_block::npc_ice_blockAI::DamageTaken(), npc_iron_construct::npc_iron_constructAI::DamageTaken(), boss_moroes::boss_moroesAI::DeSpawnAdds(), BattlePetMgr::DespawnResolvedWildPetBattleWorldObject(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::DestroyIceWall(), boss_brain_of_yogg_saron::boss_brain_of_yogg_saronAI::DoAction(), boss_krick::boss_krickAI::DoAction(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::DoAction(), npc_argent_captainAI::DoAction(), npc_azure_ring_captain::npc_azure_ring_captainAI::DoAction(), npc_brann_bronzebeard_anraphet::npc_brann_bronzebeard_anraphetAI::DoAction(), npc_crok_scourgebane::npc_crok_scourgebaneAI::DoAction(), npc_halion_controller::npc_halion_controllerAI::DoAction(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::DoAction(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::DoAction(), npc_scarlet_miner_cart::npc_scarlet_miner_cartAI::DoAction(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::DoAction(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::EmpowerCultist(), npc_flame_of_azzinoth::flame_of_azzinothAI::EnrageCheck(), boss_algalon_the_observer::boss_algalon_the_observerAI::EnterCombat(), boss_blood_council_controller::boss_blood_council_controllerAI::EnterCombat(), boss_deathbringer_saurfang::boss_deathbringer_saurfangAI::EnterCombat(), boss_festergut::boss_festergutAI::EnterCombat(), boss_freya::boss_freyaAI::EnterCombat(), boss_halion::boss_halionAI::EnterCombat(), boss_illidari_councilAI::EnterCombat(), boss_prince_keleseth_icc::boss_prince_kelesethAI::EnterCombat(), boss_prince_taldaram_icc::boss_prince_taldaramAI::EnterCombat(), boss_prince_valanar_icc::boss_prince_valanarAI::EnterCombat(), boss_razorscale::boss_razorscaleAI::EnterCombat(), boss_sister_svalna::boss_sister_svalnaAI::EnterCombat(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::EnterCombat(), npc_green_dragon_combat_trigger::npc_green_dragon_combat_triggerAI::EnterCombat(), npc_harbinger_of_flame::npc_harbinger_of_flameAI::EnterCombat(), npc_risen_archmage::npc_risen_archmageAI::EnterCombat(), boss_festergut::boss_festergutAI::EnterEvadeMode(), boss_the_lich_king::boss_the_lich_kingAI::EnterEvadeMode(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::EnterEvadeMode(), npc_argent_captainAI::EnterEvadeMode(), boss_illidan_stormrage::boss_illidan_stormrageAI::EnterPhase(), npc_akama_illidan::npc_akama_illidanAI::EnterPhase(), spell_festergut_blighted_spores::spell_festergut_blighted_spores_AuraScript::ExtraEffect(), GetCreatureOrPetOrVehicle(), boss_krick::boss_krickAI::GetIck(), boss_ick::boss_ickAI::GetKrick(), GetObjectByTypeMask(), boss_tyrannus::boss_tyrannusAI::GetRimefang(), TempSummon::GetSummonerCreatureBase(), GetWorldObject(), spell_power_of_the_twins::spell_power_of_the_twins_AuraScript::HandleEffectApply(), spell_power_of_the_twins::spell_power_of_the_twins_AuraScript::HandleEffectRemove(), boss_illidan_stormrage::boss_illidan_stormrageAI::HandleFlightSequence(), spell_assembly_meltdown::spell_assembly_meltdown_SpellScript::HandleInstaKill(), spell_heigan_eruption::spell_heigan_eruption_SpellScript::HandleScript(), spell_occuthar_eyes_of_occuthar_vehicle::spell_occuthar_eyes_of_occuthar_vehicle_SpellScript::HandleScript(), spell_putricide_unbound_plague::spell_putricide_unbound_plague_SpellScript::HandleScript(), spell_the_lich_king_restore_soul::spell_the_lich_king_restore_soul_SpellScript::HandleScript(), spell_putricide_mutated_transformation::spell_putricide_mutated_transformation_SpellScript::HandleSummon(), boss_illidan_stormrage::boss_illidan_stormrageAI::HandleTalkSequence(), npc_akama_illidan::npc_akama_illidanAI::HandleTalkSequence(), player_overlord_brandAI::HealDone(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::HealReceived(), npc_alpha_beam::npc_alpha_beamAI::IsSummonedBy(), npc_combustion_consumption::npc_combustion_consumptionAI::IsSummonedBy(), npc_constrictor_tentacle::npc_constrictor_tentacleAI::IsSummonedBy(), npc_eyestalk::npc_eyestalkAI::IsSummonedBy(), npc_flash_freeze::npc_flash_freezeAI::IsSummonedBy(), npc_guardian_of_yogg_saron::npc_guardian_of_yogg_saronAI::IsSummonedBy(), npc_ice_block::npc_ice_blockAI::IsSummonedBy(), npc_living_ember::npc_living_emberAI::IsSummonedBy(), npc_living_inferno::npc_living_infernoAI::IsSummonedBy(), npc_meteor_strike::npc_meteor_strikeAI::IsSummonedBy(), npc_meteor_strike_initial::npc_meteor_strike_initialAI::IsSummonedBy(), npc_onyx_flamecaller::npc_onyx_flamecallerAI::IsSummonedBy(), npc_raging_spirit::npc_raging_spiritAI::IsSummonedBy(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::IsSummonedBy(), npc_suppresser::npc_suppresserAI::IsSummonedBy(), npc_terenas_menethil::npc_terenas_menethilAI::IsSummonedBy(), boss_anraphet::boss_anraphetAI::JustDied(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::JustDied(), boss_blindeye_the_seer::boss_blindeye_the_seerAI::JustDied(), boss_blood_council_controller::boss_blood_council_controllerAI::JustDied(), boss_dalronn_the_controller::boss_dalronn_the_controllerAI::JustDied(), boss_elder_brightleaf::boss_elder_brightleafAI::JustDied(), boss_elder_ironbranch::boss_elder_ironbranchAI::JustDied(), boss_elder_stonebark::boss_elder_stonebarkAI::JustDied(), boss_emperor_dagran_thaurissan::boss_draganthaurissanAI::JustDied(), boss_festergut::boss_festergutAI::JustDied(), boss_freya::boss_freyaAI::JustDied(), boss_halion::boss_halionAI::JustDied(), boss_kiggler_the_crazed::boss_kiggler_the_crazedAI::JustDied(), boss_krosh_firehand::boss_krosh_firehandAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_olm_the_summoner::boss_olm_the_summonerAI::JustDied(), boss_razorscale::boss_razorscaleAI::JustDied(), boss_runemaster_molgeim::boss_runemaster_molgeimAI::JustDied(), boss_sister_svalna::boss_sister_svalnaAI::JustDied(), boss_skarvald_the_constructor::boss_skarvald_the_constructorAI::JustDied(), boss_steelbreaker::boss_steelbreakerAI::JustDied(), boss_stormcaller_brundir::boss_stormcaller_brundirAI::JustDied(), boss_twilight_halion::boss_twilight_halionAI::JustDied(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::JustDied(), boss_yogg_saron::boss_yogg_saronAI::JustDied(), npc_akama_shade::npc_akamaAI::JustDied(), npc_ancient_water_spirit::npc_ancient_water_spiritAI::JustDied(), npc_ashtongue_channeler::npc_ashtongue_channelerAI::JustDied(), npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI::JustDied(), npc_baltharus_the_warborn_clone::npc_baltharus_the_warborn_cloneAI::JustDied(), npc_drakkari_gutripper::npc_drakkari_gutripperAI::JustDied(), npc_drakkari_scytheclaw::npc_drakkari_scytheclawAI::JustDied(), npc_faerlina_add::npc_faerlina_addAI::JustDied(), npc_feral_defender::npc_feral_defenderAI::JustDied(), npc_frost_tomb::npc_frost_tombAI::JustDied(), npc_hodir_druid::npc_hodir_druidAI::JustDied(), npc_hodir_mage::npc_hodir_mageAI::JustDied(), npc_hodir_priest::npc_hodir_priestAI::JustDied(), npc_hodir_shaman::npc_hodir_shamanAI::JustDied(), npc_influence_tentacle::npc_influence_tentacleAI::JustDied(), npc_iron_sludge::npc_iron_sludgeAI::JustDied(), npc_jedoga_initiand::npc_jedoga_initiandAI::JustDied(), npc_raging_spirit::npc_raging_spiritAI::JustDied(), npc_sanctum_sentry::npc_sanctum_sentryAI::JustDied(), npc_snaplasher::npc_snaplasherAI::JustDied(), npc_spirit_warden::npc_spirit_wardenAI::JustDied(), npc_storm_lasher::npc_storm_lasherAI::JustDied(), boss_blood_council_controller::boss_blood_council_controllerAI::JustReachedHome(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustReachedHome(), boss_prince_keleseth_icc::boss_prince_kelesethAI::JustReachedHome(), boss_prince_taldaram_icc::boss_prince_taldaramAI::JustReachedHome(), boss_prince_valanar_icc::boss_prince_valanarAI::JustReachedHome(), npc_halion_controller::npc_halion_controllerAI::JustReachedHome(), boss_sara::boss_saraAI::JustSummoned(), npc_collapsing_star::npc_collapsing_starAI::JustSummoned(), boss_the_lich_king::boss_the_lich_kingAI::MovementInform(), npc_annhylde_the_caller::npc_annhylde_the_callerAI::MovementInform(), npc_corrupted_soul_fragment::npc_corrupted_soul_fragmentAI::MovementInform(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::MovementInform(), npc_muradin_bronzebeard_icc::npc_muradin_bronzebeard_iccAI::MovementInform(), npc_tirion_fordring_tft::npc_tirion_fordringAI::MovementInform(), npc_overlord_morghor::npc_overlord_morghorAI::NextStep(), npc_ancient_water_spirit::npc_ancient_water_spiritAI::npc_ancient_water_spiritAI(), npc_snaplasher::npc_snaplasherAI::npc_snaplasherAI(), npc_storm_lasher::npc_storm_lasherAI::npc_storm_lasherAI(), spell_blood_queen_frenzied_bloodthirst::spell_blood_queen_frenzied_bloodthirst_AuraScript::OnApply(), spell_tyrannus_mark_of_rimefang::spell_tyrannus_mark_of_rimefang_AuraScript::OnApply(), spell_blood_queen_vampiric_bite::spell_blood_queen_vampiric_bite_SpellScript::OnCast(), achievement_watch_him_die::OnCheck(), go_najentus_spine::OnGossipHello(), go_razorscale_harpoon::OnGossipHello(), prince_taldaram_sphere::OnGossipHello(), spell_blood_queen_frenzied_bloodthirst::spell_blood_queen_frenzied_bloodthirst_AuraScript::OnRemove(), at_alizabal_intro::OnTrigger(), at_baltharus_plateau::OnTrigger(), at_icc_start_frostwing_gauntlet::OnTrigger(), at_sindragosa_lair::OnTrigger(), at_tyrannus_event_starter::OnTrigger(), npc_scarlet_miner_cart::npc_scarlet_miner_cartAI::PassengerBoarded(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::ReanimateCultist(), boss_festergut::boss_festergutAI::RemoveBlight(), boss_illidan_stormrage::boss_illidan_stormrageAI::Reset(), boss_razorscale::boss_razorscaleAI::Reset(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::Reset(), boss_shade_of_akama::boss_shade_of_akamaAI::Reset(), npc_ashtongue_defender::npc_ashtongue_defenderAI::Reset(), npc_ashtongue_elementalist::npc_ashtongue_elementalistAI::Reset(), npc_ashtongue_rogue::npc_ashtongue_rogueAI::Reset(), npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI::Reset(), npc_ashtongue_spiritbinder::npc_ashtongue_spiritbinderAI::Reset(), npc_illidari_council::npc_illidari_councilAI::Reset(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::Reset(), npc_nerubian_burrower::npc_nerubian_burrowerAI::Reset(), npc_swarm_scarab::npc_swarm_scarabAI::Reset(), npc_crok_scourgebane::npc_crok_scourgebaneAI::SetGUID(), boss_shade_of_akama::boss_shade_of_akamaAI::SpellHit(), boss_twilight_halion::boss_twilight_halionAI::SpellHit(), boss_valithria_dreamwalker::boss_valithria_dreamwalkerAI::SpellHit(), npc_akama_shade::npc_akamaAI::SpellHit(), npc_illidari_council::npc_illidari_councilAI::StartEvent(), boss_illidan_stormrage::boss_illidan_stormrageAI::SummonFlamesOfAzzinoth(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), boss_anomalus::boss_anomalusAI::UpdateAI(), boss_auriaya::boss_auriayaAI::UpdateAI(), boss_baltharus_the_warborn::boss_baltharus_the_warbornAI::UpdateAI(), boss_blood_council_controller::boss_blood_council_controllerAI::UpdateAI(), boss_dalronn_the_controller::boss_dalronn_the_controllerAI::UpdateAI(), boss_festergut::boss_festergutAI::UpdateAI(), boss_freya::boss_freyaAI::UpdateAI(), boss_general_zarithrian::boss_general_zarithrianAI::UpdateAI(), boss_krick::boss_krickAI::UpdateAI(), boss_maiev_shadowsong::boss_maievAI::UpdateAI(), boss_razorscale::boss_razorscaleAI::UpdateAI(), boss_runemaster_molgeim::boss_runemaster_molgeimAI::UpdateAI(), boss_sara::boss_saraAI::UpdateAI(), boss_shade_of_akama::boss_shade_of_akamaAI::UpdateAI(), boss_skarvald_the_constructor::boss_skarvald_the_constructorAI::UpdateAI(), boss_the_lich_king::boss_the_lich_kingAI::UpdateAI(), boss_trollgore::boss_trollgoreAI::UpdateAI(), boss_voice_of_yogg_saron::boss_voice_of_yogg_saronAI::UpdateAI(), npc_akama_illidan::npc_akama_illidanAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_annhylde_the_caller::npc_annhylde_the_callerAI::UpdateAI(), npc_ashtongue_channeler::npc_ashtongue_channelerAI::UpdateAI(), npc_ashtongue_sorcerer::npc_ashtongue_sorcererAI::UpdateAI(), npc_blood_queen_lana_thel::npc_blood_queen_lana_thelAI::UpdateAI(), npc_chaotic_rift::npc_chaotic_riftAI::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_expedition_commander::npc_expedition_commanderAI::UpdateAI(), npc_halion_controller::npc_halion_controllerAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_high_overlord_saurfang_icc::npc_high_overlord_saurfangAI::UpdateAI(), npc_highlord_tirion_fordring_lh::npc_highlord_tirion_fordringAI::UpdateAI(), npc_illidari_council::npc_illidari_councilAI::UpdateAI(), npc_jaina_or_sylvanas_escape_hor::npc_jaina_or_sylvanas_escape_horAI::UpdateAI(), npc_jaina_or_sylvanas_hor::npc_jaina_or_sylvanas_horAI::UpdateAI(), npc_lumbering_abomination::npc_lumbering_abominationAI::UpdateAI(), npc_meteor_strike::npc_meteor_strikeAI::UpdateAI(), npc_orb_carrier::npc_orb_carrierAI::UpdateAI(), npc_parasitic_shadowfiend::npc_parasitic_shadowfiendAI::UpdateAI(), npc_raging_ghoul::npc_raging_ghoulAI::UpdateAI(), npc_risen_witch_doctor::npc_risen_witch_doctorAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_strangulate_vehicle::npc_strangulate_vehicleAI::UpdateAI(), npc_terenas_menethil::npc_terenas_menethilAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_tirion_fordring_tft::npc_tirion_fordringAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_voidtraveler::npc_voidtravelerAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), npc_halion_controller::npc_halion_controllerAI::UpdateCorporeality(), npc_crok_scourgebane::npc_crok_scourgebaneAI::UpdateEscortAI(), npc_crok_scourgebane::npc_crok_scourgebaneAI::WaypointReached(), npc_scarlet_miner::npc_scarlet_minerAI::WaypointReached(), and npc_crok_scourgebane::npc_crok_scourgebaneAI::WaypointStart().

◆ GetCreatureOrPetOrVehicle()

◆ GetCreatures()

HashMapHolder< Creature >::MapType const & ObjectAccessor::GetCreatures ( )
inlinestatic

Definition at line 145 of file ObjectAccessor.h.

References HashMapHolder< T >::GetContainer().

Referenced by GameEventMgr::RunSmartAIScripts().

◆ GetDynamicObject()

DynamicObject * ObjectAccessor::GetDynamicObject ( WorldObject const & u,
uint64 guid )
static

Definition at line 194 of file ObjectAccessor.cpp.

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

Referenced by GetObjectByTypeMask(), and GetWorldObject().

◆ GetGameObject()

◆ GetGameObjects()

HashMapHolder< GameObject >::MapType const & ObjectAccessor::GetGameObjects ( )
inlinestatic

Definition at line 151 of file ObjectAccessor.h.

References HashMapHolder< T >::GetContainer().

Referenced by GameEventMgr::RunSmartAIScripts().

◆ GetObjectByTypeMask()

◆ GetObjectInMap()

template<class T>
T * ObjectAccessor::GetObjectInMap ( uint64 guid,
Map * map,
T *  )
inlinestatic

◆ GetObjectInOrOutOfWorld() [1/2]

template<class T>
T * ObjectAccessor::GetObjectInOrOutOfWorld ( uint64 guid,
T *  )
inlinestatic
Todo
: Override these template functions for each holder type and add assertions

Definition at line 67 of file ObjectAccessor.h.

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

Referenced by FindPlayerInOrOutOfWorld(), GetObjectInOrOutOfWorld(), GetObjectInOrOutOfWorld(), and Aura::UnregisterSingleTarget().

◆ GetObjectInOrOutOfWorld() [2/2]

Unit * ObjectAccessor::GetObjectInOrOutOfWorld ( uint64 guid,
Unit *  )
inlinestatic

Definition at line 72 of file ObjectAccessor.h.

References GetObjectInOrOutOfWorld(), IS_PET_GUID(), and IS_PLAYER_GUID().

◆ GetObjectInWorld() [1/4]

template<class T>
T * ObjectAccessor::GetObjectInWorld ( uint32 mapid,
float x,
float y,
uint64 guid,
T *  )
static

◆ GetObjectInWorld() [2/4]

Player * ObjectAccessor::GetObjectInWorld ( uint64 guid,
Player *  )
static

Definition at line 111 of file ObjectAccessor.cpp.

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

◆ GetObjectInWorld() [3/4]

◆ GetObjectInWorld() [4/4]

Unit * ObjectAccessor::GetObjectInWorld ( uint64 guid,
Unit *  )
inlinestatic

Definition at line 92 of file ObjectAccessor.h.

References GetObjectInWorld(), IS_PET_GUID(), and IS_PLAYER_GUID().

◆ GetPet()

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

◆ GetPlayer()

Player * ObjectAccessor::GetPlayer ( WorldObject const & u,
uint64 guid )
static

Definition at line 219 of file ObjectAccessor.cpp.

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

Referenced by npc_hidden_cultist::npc_hidden_cultistAI::AttackPlayer(), 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(), boss_sapphiron::boss_sapphironAI::ClearIceBlock(), npc_ball_of_flame::npc_ball_of_flameAI::DoAction(), npc_hidden_cultist::npc_hidden_cultistAI::DoAction(), npc_ice_tomb::npc_ice_tombAI::DoAction(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::DummyTick(), Unit::GetCharmerOrOwnerPlayerOrPlayerItself(), FollowerAI::GetLeaderForFollower(), GetObjectByTypeMask(), Unit::GetPlayer(), npc_escortAI::GetPlayerForEscort(), Player::GetSelectedPlayer(), GetWorldObject(), npc_simon_bunny::npc_simon_bunnyAI::GivePunishment(), npc_simon_bunny::npc_simon_bunnyAI::GiveRewardForLevel(), npc_imprisoned_beryl_sorcerer::npc_imprisoned_beryl_sorcererAI::GotStinged(), npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), npc_torloth_the_magnificent::npc_torloth_the_magnificentAI::HandleAnimation(), npc_coldflame::npc_coldflameAI::IsSummonedBy(), npc_apprentice_mirveda::npc_apprentice_mirvedaAI::JustDied(), npc_ice_tomb::npc_ice_tombAI::JustDied(), npc_infused_crystal::npc_infused_crystalAI::JustDied(), npc_iron_roots::npc_iron_rootsAI::JustDied(), npc_manaforge_control_console::npc_manaforge_control_consoleAI::JustDied(), npc_snobold_vassal::npc_snobold_vassalAI::JustDied(), npc_daegarn::npc_daegarnAI::JustSummoned(), npc_muru_portal::npc_muru_portalAI::JustSummoned(), npc_nexus_drake_hatchling::npc_nexus_drake_hatchlingAI::MoveInLineOfSight(), boss_icehowl::boss_icehowlAI::MovementInform(), npc_agitated_earth_spirit::npc_agitated_earth_spiritAI::MovementInform(), npc_hive_zara_larva::npc_hive_zara_larvaAI::MovementInform(), npc_lurking_potion::npc_lurking_potionAI::MovementInform(), npc_ogre_brute::npc_ogre_bruteAI::MovementInform(), npc_unworthy_initiate::npc_unworthy_initiateAI::MovementInform(), npc_valkyr_shadowguard::npc_valkyr_shadowguardAI::MovementInform(), npc_overlord_morghor::npc_overlord_morghorAI::NextStep(), spell_yogg_saron_brain_link::spell_yogg_saron_brain_link_AuraScript::OnRemove(), npc_doctor::npc_doctorAI::PatientDied(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), npc_pet_gen_mojo::npc_pet_gen_mojoAI::ReceiveEmote(), boss_kelthuzad::boss_kelthuzadAI::ResetPlayerScale(), Unit::SetOwnerGUID(), npc_overlord_morghor::npc_overlord_morghorAI::StartEvent(), npc_lord_illidan_stormrage::npc_lord_illidan_stormrageAI::SummonNextWave(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_eachother(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_Pathaleons_Image(), GameObject::Update(), boss_blood_queen_lana_thel::boss_blood_queen_lana_thelAI::UpdateAI(), boss_icehowl::boss_icehowlAI::UpdateAI(), boss_kelthuzad::boss_kelthuzadAI::UpdateAI(), boss_omor_the_unscarred::boss_omor_the_unscarredAI::UpdateAI(), npc_a_special_surprise::npc_a_special_surpriseAI::UpdateAI(), npc_alchemist_finklestein::npc_alchemist_finklesteinAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_apprentice_mirveda::npc_apprentice_mirvedaAI::UpdateAI(), npc_commander_dawnforge::npc_commander_dawnforgeAI::UpdateAI(), npc_crusade_persuaded::npc_crusade_persuadedAI::UpdateAI(), npc_draenei_survivor::npc_draenei_survivorAI::UpdateAI(), npc_dragonmaw_peon::npc_dragonmaw_peonAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_enslaved_netherwing_drake::npc_enslaved_netherwing_drakeAI::UpdateAI(), npc_hidden_cultist::npc_hidden_cultistAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_ice_tomb::npc_ice_tombAI::UpdateAI(), npc_infused_crystal::npc_infused_crystalAI::UpdateAI(), npc_manaforge_control_console::npc_manaforge_control_consoleAI::UpdateAI(), npc_mature_netherwing_drake::npc_mature_netherwing_drakeAI::UpdateAI(), npc_nexus_drake_hatchling::npc_nexus_drake_hatchlingAI::UpdateAI(), npc_phase_hunter::npc_phase_hunterAI::UpdateAI(), npc_sergeant_bly::npc_sergeant_blyAI::UpdateAI(), npc_sinkhole_kill_credit::npc_sinkhole_kill_creditAI::UpdateAI(), npc_snobold_vassal::npc_snobold_vassalAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_twiggy_flathead::npc_twiggy_flatheadAI::UpdateAI(), npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI(), npc_venture_co_straggler::npc_venture_co_stragglerAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), SmartAI::UpdateAI(), and GameObject::Use().

◆ GetPlayers()

HashMapHolder< Player >::MapType const & ObjectAccessor::GetPlayers ( )
inlinestatic

Definition at line 139 of file ObjectAccessor.h.

References HashMapHolder< T >::GetContainer().

Referenced by FindPlayerByName(), and SaveAllPlayers().

◆ GetTransport()

Transport * ObjectAccessor::GetTransport ( WorldObject const & u,
uint64 guid )
static

◆ GetUnit()

Unit * ObjectAccessor::GetUnit ( WorldObject const & u,
uint64 guid )
static

Definition at line 204 of file ObjectAccessor.cpp.

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

Referenced by FleeingMovementGenerator< T >::_getPoint(), Player::AddComboPoints(), Vehicle::AddPassenger(), DynamicObject::BindToCaster(), Spell::cancel(), VehicleAI::CheckConditions(), Player::ClearComboPoints(), Aura::Create(), Spell::DelayedChannel(), Spell::DoAllEffectOnLaunchTarget(), Spell::DoAllEffectOnTarget(), boss_flame_leviathan::boss_flame_leviathanAI::DoBatteringRamIfReady(), spell_putricide_mutated_transformation_dmg::spell_putricide_mutated_transformation_dmg_SpellScript::FilterTargetsInitial(), Aura::GetCaster(), Unit::GetCharm(), Unit::GetCharmer(), boss_taldaram::boss_taldaramAI::GetEmbraceTarget(), Unit::GetFirstControlled(), GameObject::GetOwner(), Unit::GetOwner(), Vehicle::GetPassenger(), Unit::GetRedirectThreatTarget(), ChatHandler::getSelectedObject(), Player::GetSelectedUnit(), TempSummon::GetSummoner(), SmartScript::GetTargets(), Unit::GetUnit(), WorldSession::HandleAttackSwingOpcode(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraRetainComboPoints(), WorldSession::HandleEjectPassenger(), gobject_commandscript::HandleGameObjectDeleteCommand(), spell_xt002_heart_overload_periodic::spell_xt002_heart_overload_periodic_AuraScript::HandlePeriodic(), WorldSession::HandlePetActionHelper(), WorldSession::HandlePetCastSpellOpcode(), WorldSession::HandleTextEmoteOpcode(), Spell::HandleThreatSpells(), WorldSession::HandleUpdateMissileTrajectory(), WorldSession::HandleUpdateProjectilePosition(), Spell::InitExplicitTargets(), npc_flash_freeze::npc_flash_freezeAI::IsSummonedBy(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustDied(), boss_lady_deathwhisper::boss_lady_deathwhisperAI::JustSummoned(), npc_azure_ring_captain::npc_azure_ring_captainAI::MovementInform(), SmartAI::OnCharmed(), AbominationDespawner::operator()(), Unit::OutDebugInfo(), Vehicle::RelocatePassengers(), GameObject::RemoveFromOwner(), spell_halion_twilight_cutter::spell_halion_twilight_cutter_SpellScript::RemoveNotBetween(), Spell::SelectImplicitAreaTargets(), Spell::SelectImplicitChannelTargets(), Player::SendComboPoints(), npc_combustion_consumption::npc_combustion_consumptionAI::SetData(), Unit::SetFeared(), npc_commander_dawnforge::npc_commander_dawnforgeAI::Turn_to_eachother(), Creature::Update(), boss_blackheart_the_inciter::boss_blackheart_the_inciterAI::UpdateAI(), boss_hodir::boss_hodirAI::UpdateAI(), boss_ignis::boss_ignis_AI::UpdateAI(), boss_murmur::boss_murmurAI::UpdateAI(), npc_dark_rider_of_acherus::npc_dark_rider_of_acherusAI::UpdateAI(), npc_flash_freeze::npc_flash_freezeAI::UpdateAI(), PetAI::UpdateAI(), TotemAI::UpdateAI(), Spell::UpdateChanneledTargetList(), HostileReference::updateOnlineStatus(), and Spell::UpdatePointers().

◆ GetWorldObject()

◆ operator=()

ObjectAccessor & ObjectAccessor::operator= ( const ObjectAccessor & )
private

References ObjectAccessor().

◆ RemoveCorpse()

◆ RemoveObject()

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

Definition at line 161 of file ObjectAccessor.h.

References HashMapHolder< T >::Remove().

◆ RemoveOldCorpses()

void ObjectAccessor::RemoveOldCorpses ( )

Definition at line 460 of file ObjectAccessor.cpp.

References ConvertCorpseForPlayer(), and i_player2corpse.

◆ RemoveUpdateObject()

◆ SaveAllPlayers()

void ObjectAccessor::SaveAllPlayers ( )
static

◆ UnloadAll()

◆ Update()

◆ Skyfire::Singleton< ObjectAccessor, Skyfire::NullMutex >

Definition at line 53 of file ObjectAccessor.h.

Member Data Documentation

◆ i_corpseLock

SF_SHARED_MUTEX ObjectAccessor::i_corpseLock
private

◆ i_objectLock

SF_SHARED_MUTEX ObjectAccessor::i_objectLock
private

Definition at line 191 of file ObjectAccessor.h.

Referenced by AddUpdateObject(), RemoveUpdateObject(), and Update().

◆ i_objects

std::set<Object*> ObjectAccessor::i_objects
private

Definition at line 188 of file ObjectAccessor.h.

Referenced by AddUpdateObject(), RemoveUpdateObject(), and Update().

◆ i_player2corpse

Player2CorpsesMapType ObjectAccessor::i_player2corpse
private

The documentation for this class was generated from the following files: