TrinityCore
MapReference Class Reference

#include <MapReference.h>

+ Inheritance diagram for MapReference:

Public Member Functions

 MapReference ()
 
 ~MapReference ()
 
MapReferencenext ()
 
MapReference const * next () const
 
MapReferencenockeck_prev ()
 
MapReference const * nocheck_prev () const
 
- Public Member Functions inherited from Reference< Map, Player >
 Reference ()
 
virtual ~Reference ()
 
void link (Map *toObj, Player *fromObj)
 
void unlink ()
 
void invalidate ()
 
bool isValid () const
 
Reference< Map, Player > * next ()
 
Reference< Map, Player > const * next () const
 
Reference< Map, Player > * prev ()
 
Reference< Map, Player > const * prev () const
 
Reference< Map, Player > * nocheck_next ()
 
Reference< Map, Player > const * nocheck_next () const
 
Reference< Map, Player > * nocheck_prev ()
 
Reference< Map, Player > const * nocheck_prev () const
 
Mapoperator-> () const
 
MapgetTarget () const
 
PlayerGetSource () const
 
- Public Member Functions inherited from LinkedListElement
 LinkedListElement ()
 
bool hasNext () const
 
bool hasPrev () const
 
bool isInList () const
 
LinkedListElementnext ()
 
LinkedListElement const * next () const
 
LinkedListElementprev ()
 
LinkedListElement const * prev () const
 
LinkedListElementnocheck_next ()
 
LinkedListElement const * nocheck_next () const
 
LinkedListElementnocheck_prev ()
 
LinkedListElement const * nocheck_prev () const
 
void delink ()
 
void insertBefore (LinkedListElement *pElem)
 
void insertAfter (LinkedListElement *pElem)
 

Protected Member Functions

void targetObjectBuildLink () override
 
void targetObjectDestroyLink () override
 
void sourceObjectDestroyLink () override
 
virtual void targetObjectBuildLink ()=0
 
virtual void targetObjectDestroyLink ()=0
 
virtual void sourceObjectDestroyLink ()=0
 
- Protected Member Functions inherited from LinkedListElement
 ~LinkedListElement ()
 

Detailed Description

Definition at line 26 of file MapReference.h.

Constructor & Destructor Documentation

◆ MapReference()

MapReference::MapReference ( )
inline

Definition at line 33 of file MapReference.h.

◆ ~MapReference()

MapReference::~MapReference ( )
inline

Definition at line 34 of file MapReference.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ next() [1/2]

MapReference * MapReference::next ( )
inline

Definition at line 35 of file MapReference.h.

+ Here is the call graph for this function:

◆ next() [2/2]

MapReference const * MapReference::next ( ) const
inline

Definition at line 36 of file MapReference.h.

+ Here is the call graph for this function:

◆ nocheck_prev()

MapReference const * MapReference::nocheck_prev ( ) const
inline

Definition at line 38 of file MapReference.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nockeck_prev()

MapReference * MapReference::nockeck_prev ( )
inline

Definition at line 37 of file MapReference.h.

+ Here is the call graph for this function:

◆ sourceObjectDestroyLink()

void MapReference::sourceObjectDestroyLink ( )
overrideprotectedvirtual

Implements Reference< Map, Player >.

Definition at line 35 of file MapReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectBuildLink()

void MapReference::targetObjectBuildLink ( )
overrideprotectedvirtual

Implements Reference< Map, Player >.

Definition at line 21 of file MapReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectDestroyLink()

void MapReference::targetObjectDestroyLink ( )
overrideprotectedvirtual

Implements Reference< Map, Player >.

Definition at line 28 of file MapReference.cpp.

+ Here is the call graph for this function:

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