Mana
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
PartyMember Class Reference

#include <party.h>

Inheritance diagram for PartyMember:
Avatar

Public Member Functions

int getID () const
 
void setID (int id)
 
PartygetParty () const
 
bool getLeader () const
 
void setLeader (bool leader)
 
- Public Member Functions inherited from Avatar
 Avatar (const std::string &name={})
 
const std::string & getName () const
 Returns the avatar's name.
 
void setName (const std::string &name)
 Set the avatar's name.
 
bool getOnline () const
 Returns the avatar's online status.
 
void setOnline (bool online)
 Set the avatar's online status.
 
int getHp () const
 
void setHp (int hp)
 
int getMaxHp () const
 
void setMaxHp (int maxHp)
 
bool getDisplayBold () const
 
void setDisplayBold (bool displayBold)
 

Protected Member Functions

 PartyMember (Party *party, int id, const std::string &name)
 

Protected Attributes

int mId
 
PartymParty
 
bool mLeader = false
 

Friends

class Party
 

Detailed Description

Definition at line 35 of file party.h.

Constructor & Destructor Documentation

◆ PartyMember()

PartyMember::PartyMember ( Party party,
int  id,
const std::string &  name 
)
protected

Definition at line 27 of file party.cpp.

Member Function Documentation

◆ getID()

int PartyMember::getID ( ) const
inline

Definition at line 38 of file party.h.

◆ getLeader()

bool PartyMember::getLeader ( ) const
inline

Definition at line 44 of file party.h.

◆ getParty()

Party * PartyMember::getParty ( ) const
inline

Definition at line 42 of file party.h.

◆ setID()

void PartyMember::setID ( int  id)
inline

Definition at line 40 of file party.h.

◆ setLeader()

void PartyMember::setLeader ( bool  leader)
inline

Definition at line 46 of file party.h.

Friends And Related Symbol Documentation

◆ Party

friend class Party
friend

Definition at line 49 of file party.h.

Member Data Documentation

◆ mId

int PartyMember::mId
protected

Definition at line 53 of file party.h.

◆ mLeader

bool PartyMember::mLeader = false
protected

Definition at line 55 of file party.h.

◆ mParty

Party* PartyMember::mParty
protected

Definition at line 54 of file party.h.


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