TrinityCore
Loading...
Searching...
No Matches
MapReference Class Reference

#include <MapReference.h>

+ Inheritance diagram for MapReference:

Public Member Functions

 MapReference ()=default
 
 ~MapReference ()
 
- Public Member Functions inherited from Reference< Map, Player, MapReference >
 Reference ()
 
 ~Reference ()
 
void link (Map *toObj, Player *fromObj)
 
void unlink ()
 
void invalidate ()
 
bool isValid () const
 
Mapoperator-> () const
 
MapgetTarget () const
 
PlayerGetSource () const
 
- Public Member Functions inherited from LinkedListElement
 LinkedListElement ()
 
bool isInList () const
 
LinkedListElementnext ()
 
LinkedListElement const * next () const
 
LinkedListElementprev ()
 
LinkedListElement const * prev () const
 
void delink ()
 
void insertBefore (LinkedListElement *pElem)
 
void insertAfter (LinkedListElement *pElem)
 

Protected Member Functions

void targetObjectBuildLink ()
 
void targetObjectDestroyLink ()
 
void sourceObjectDestroyLink ()
 
- Protected Member Functions inherited from LinkedListElement
 ~LinkedListElement ()
 

Protected Attributes

friend Reference< Map, Player, MapReference >
 

Detailed Description

Definition at line 26 of file MapReference.h.

Constructor & Destructor Documentation

◆ MapReference()

MapReference::MapReference ( )
default

◆ ~MapReference()

MapReference::~MapReference ( )
inline

Definition at line 35 of file MapReference.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ sourceObjectDestroyLink()

void MapReference::sourceObjectDestroyLink ( )
protected

Definition at line 35 of file MapReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectBuildLink()

void MapReference::targetObjectBuildLink ( )
protected

Definition at line 21 of file MapReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectDestroyLink()

void MapReference::targetObjectDestroyLink ( )
protected

Definition at line 28 of file MapReference.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ Reference< Map, Player, MapReference >

Definition at line 29 of file MapReference.h.


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