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

#include <GroupReference.h>

+ Inheritance diagram for GroupReference:

Public Member Functions

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

uint8 iSubGroup
 
friend Reference< Group, Player, GroupReference >
 

Detailed Description

Definition at line 26 of file GroupReference.h.

Constructor & Destructor Documentation

◆ GroupReference()

GroupReference::GroupReference ( )
inline

Definition at line 36 of file GroupReference.h.

◆ ~GroupReference()

GroupReference::~GroupReference ( )
inline

Definition at line 37 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.

◆ 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 ( )
protected

Definition at line 33 of file GroupReference.cpp.

◆ targetObjectBuildLink()

void GroupReference::targetObjectBuildLink ( )
protected

Definition at line 21 of file GroupReference.cpp.

+ Here is the call graph for this function:

◆ targetObjectDestroyLink()

void GroupReference::targetObjectDestroyLink ( )
protected

Definition at line 27 of file GroupReference.cpp.

Member Data Documentation

◆ iSubGroup

uint8 GroupReference::iSubGroup
protected

Definition at line 29 of file GroupReference.h.

◆ Reference< Group, Player, GroupReference >

Definition at line 31 of file GroupReference.h.


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