SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
Team Class Reference

#include <Team.h>

Collaboration diagram for Team:
Collaboration graph

Classes

struct  TeamMember
 

Public Member Functions

 Team ()
 
virtual ~Team ()=default
 
void dump ()
 
void listTeamMembers ()
 
void addTeamMember (Entity *e)
 
void removeTeamMember (Entity *e)
 
bool isTeamLeader (Entity *e)
 

Public Attributes

std::vector< TeamMemberm_team_members
 
const uint32_t m_team_idx
 
uint32_t m_max_team_size = 8
 
int m_team_leader_idx = 0
 
bool m_team_has_mission = false
 

Constructor & Destructor Documentation

Team::Team ( )
inline
virtual Team::~Team ( )
virtualdefault

Member Data Documentation

uint32_t Team::m_max_team_size = 8
bool Team::m_team_has_mission = false
const uint32_t Team::m_team_idx
int Team::m_team_leader_idx = 0
std::vector<TeamMember> Team::m_team_members

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