TrinityCore
GroupReference Class Reference

#include <GroupReference.h>

+ Inheritance diagram for GroupReference:

Public Member Functions

 GroupReference ()
 
 ~GroupReference ()
 
GroupReferencenext ()
 
GroupReference const * next () const
 
uint8 getSubGroup () const
 
void setSubGroup (uint8 pSubGroup)
 
- Public Member Functions inherited from Reference< Group, Player >
 Reference ()
 
virtual ~Reference ()
 
void link (Group *toObj, Player *fromObj)
 
void unlink ()
 
void invalidate ()
 
bool isValid () const
 
Reference< Group, Player > * next ()
 
Reference< Group, Player > const * next () const
 
Reference< Group, Player > * prev ()
 
Reference< Group, Player > const * prev () const
 
Reference< Group, Player > * nocheck_next ()
 
Reference< Group, Player > const * nocheck_next () const
 
Reference< Group, Player > * nocheck_prev ()
 
Reference< Group, Player > const * nocheck_prev () const
 
Groupoperator-> () const
 
GroupgetTarget () 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 ()
 

Protected Attributes

uint8 iSubGroup
 

Detailed Description

Definition at line 26 of file GroupReference.h.

Constructor & Destructor Documentation

◆ GroupReference()

GroupReference::GroupReference ( )
inline

Definition at line 34 of file GroupReference.h.

◆ ~GroupReference()

GroupReference::~GroupReference ( )
inline

Definition at line 35 of file GroupReference.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ getSubGroup()

uint8 GroupReference::getSubGroup ( ) const
inline

Definition at line 38 of file GroupReference.h.

◆ next() [1/2]

GroupReference * GroupReference::next ( )
inline

Definition at line 36 of file GroupReference.h.

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

◆ next() [2/2]

GroupReference const * GroupReference::next ( ) const
inline

Definition at line 37 of file GroupReference.h.

+ Here is the call graph for this function:

◆ setSubGroup()

void GroupReference::setSubGroup ( uint8  pSubGroup)
inline

Definition at line 39 of file GroupReference.h.

+ Here is the caller graph for this function:

◆ sourceObjectDestroyLink()

void GroupReference::sourceObjectDestroyLink ( )
overrideprotectedvirtual

Implements Reference< Group, Player >.

Definition at line 33 of file GroupReference.cpp.

◆ targetObjectBuildLink()

void GroupReference::targetObjectBuildLink ( )
overrideprotectedvirtual

Implements Reference< Group, Player >.

Definition at line 21 of file GroupReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectDestroyLink()

void GroupReference::targetObjectDestroyLink ( )
overrideprotectedvirtual

Implements Reference< Group, Player >.

Definition at line 27 of file GroupReference.cpp.

Member Data Documentation

◆ iSubGroup

uint8 GroupReference::iSubGroup
protected

Definition at line 29 of file GroupReference.h.


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