|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Reference.h>
Public Member Functions | |
| FROM * | GetSource () const |
| TO * | getTarget () const |
| void | invalidate () |
| bool | isValid () const |
| void | link (TO *toObj, FROM *fromObj) |
| Reference< TO, FROM > * | next () |
| Reference< TO, FROM > const * | next () const |
| Reference< TO, FROM > * | nocheck_next () |
| Reference< TO, FROM > const * | nocheck_next () const |
| Reference< TO, FROM > * | nocheck_prev () |
| Reference< TO, FROM > const * | nocheck_prev () const |
| TO * | operator-> () const |
| Reference< TO, FROM > * | prev () |
| Reference< TO, FROM > const * | prev () const |
| Reference () | |
| void | unlink () |
| virtual | ~Reference () |
| Public Member Functions inherited from LinkedListElement | |
| void | delink () |
| bool | hasNext () const |
| bool | hasPrev () const |
| void | insertAfter (LinkedListElement *pElem) |
| void | insertBefore (LinkedListElement *pElem) |
| bool | isInList () const |
| LinkedListElement () | |
| LinkedListElement * | next () |
| LinkedListElement const * | next () const |
| LinkedListElement * | nocheck_next () |
| LinkedListElement const * | nocheck_next () const |
| LinkedListElement * | nocheck_prev () |
| LinkedListElement const * | nocheck_prev () const |
| LinkedListElement * | prev () |
| LinkedListElement const * | prev () const |
| virtual | ~LinkedListElement () |
Protected Member Functions | |
| virtual void | sourceObjectDestroyLink ()=0 |
| virtual void | targetObjectBuildLink ()=0 |
| virtual void | targetObjectDestroyLink ()=0 |
Private Member Functions | |
| Reference & | operator= (Reference const &) |
| Reference (Reference const &) | |
Private Attributes | |
| FROM * | iRefFrom |
| TO * | iRefTo |
Definition at line 14 of file Reference.h.
|
inline |
Definition at line 29 of file Reference.h.
References iRefFrom, and iRefTo.
Referenced by next(), next(), nocheck_next(), nocheck_next(), nocheck_prev(), nocheck_prev(), operator=(), prev(), prev(), and Reference().
Definition at line 30 of file Reference.h.
|
private |
References Reference().
|
inline |
Definition at line 83 of file Reference.h.
References iRefFrom.
Referenced by Group::CanJoinBattlegroundQueue(), HostileRefManager::deleteReference(), HostileRefManager::deleteReferencesForFaction(), Group::DelinkMember(), debug_commandscript::HandleDebugHostileRefListCommand(), boss_headless_horseman::boss_headless_horsemanAI::JustDied(), boss_faction_championsAI::KilledUnit(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::OnCreatureCreate(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), instance_nexus::instance_nexus_InstanceMapScript::OnCreatureCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnCreatureCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnCreatureCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnCreatureCreate(), HostileRefManager::setOnlineOfflineState(), Unit::SetPhased(), Unit::SetPhaseMask(), HostileRefManager::threatAssist(), and HostileRefManager::UpdateVisibility().
|
inline |
Definition at line 81 of file Reference.h.
References iRefTo.
Referenced by BattlegroundMap::CanEnter(), InstanceMap::CanEnter(), ThreatManager::getHostilTarget(), ThreatManager::resetAggro(), and ThreatContainer::selectNextVictim().
|
inline |
Definition at line 58 of file Reference.h.
References LinkedListElement::delink(), iRefTo, and sourceObjectDestroyLink().
|
inline |
Definition at line 65 of file Reference.h.
References iRefTo.
Referenced by Group::CountTheRoll(), and link().
|
inline |
Definition at line 33 of file Reference.h.
References ASSERT, iRefFrom, iRefTo, isValid(), targetObjectBuildLink(), and unlink().
Definition at line 70 of file Reference.h.
References LinkedListElement::next(), and Reference().
Referenced by GroupReference::next(), GroupReference::next(), HostileReference::next(), MapReference::next(), and MapReference::next().
|
inline |
Definition at line 71 of file Reference.h.
References LinkedListElement::next(), and Reference().
|
inline |
Definition at line 75 of file Reference.h.
References LinkedListElement::nocheck_next(), and Reference().
|
inline |
Definition at line 76 of file Reference.h.
References LinkedListElement::nocheck_next(), and Reference().
|
inline |
Definition at line 77 of file Reference.h.
References LinkedListElement::nocheck_prev(), and Reference().
Referenced by MapReference::nocheck_prev(), and MapReference::nockeck_prev().
|
inline |
Definition at line 78 of file Reference.h.
References LinkedListElement::nocheck_prev(), and Reference().
|
inline |
Definition at line 80 of file Reference.h.
References iRefTo.
|
private |
References Reference().
Definition at line 72 of file Reference.h.
References LinkedListElement::prev(), and Reference().
|
inline |
Definition at line 73 of file Reference.h.
References LinkedListElement::prev(), and Reference().
|
protectedpure virtual |
Implemented in FollowerReference, GridReference< OBJECT >, GridReference< AreaTrigger >, GridReference< Corpse >, GridReference< Creature >, GridReference< DynamicObject >, GridReference< GameObject >, GridReference< NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > >, GridReference< Player >, GridReference< T >, GroupReference, HostileReference, LootValidatorRef, and MapReference.
Referenced by invalidate().
|
protectedpure virtual |
Implemented in FollowerReference, GridReference< OBJECT >, GridReference< AreaTrigger >, GridReference< Corpse >, GridReference< Creature >, GridReference< DynamicObject >, GridReference< GameObject >, GridReference< NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > >, GridReference< Player >, GridReference< T >, GroupReference, HostileReference, MapReference, and Roll.
Referenced by link().
|
protectedpure virtual |
Implemented in FollowerReference, GridReference< OBJECT >, GridReference< AreaTrigger >, GridReference< Corpse >, GridReference< Creature >, GridReference< DynamicObject >, GridReference< GameObject >, GridReference< NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > >, GridReference< Player >, GridReference< T >, GroupReference, HostileReference, LootValidatorRef, and MapReference.
Referenced by unlink().
|
inline |
Definition at line 48 of file Reference.h.
References LinkedListElement::delink(), iRefFrom, iRefTo, and targetObjectDestroyLink().
Referenced by Group::DelinkMember(), link(), and Player::ResetMap().
|
private |
Definition at line 18 of file Reference.h.
Referenced by GetSource(), link(), Reference(), and unlink().
|
private |
Definition at line 17 of file Reference.h.
Referenced by getTarget(), invalidate(), isValid(), link(), operator->(), Reference(), and unlink().