DDNet documentation
Loading...
Searching...
No Matches
CTeamsCore Class Reference

#include <teamscore.h>

Public Member Functions

 CTeamsCore ()
int TeamSuper () const
bool SameTeam (int ClientId1, int ClientId2) const
bool CanKeepHook (int ClientId1, int ClientId2) const
bool CanCollide (int ClientId1, int ClientId2) const
int Team (int ClientId) const
void Team (int ClientId, int Team)
void Reset ()
void SetSolo (int ClientId, bool Value)
bool GetSolo (int ClientId) const

Public Attributes

bool m_IsDDRace16
bool m_IsDDRace64

Private Attributes

int m_aTeam [MAX_CLIENTS]
bool m_aIsSolo [MAX_CLIENTS]

Constructor & Destructor Documentation

◆ CTeamsCore()

CTeamsCore::CTeamsCore ( )

Member Function Documentation

◆ CanCollide()

bool CTeamsCore::CanCollide ( int ClientId1,
int ClientId2 ) const

◆ CanKeepHook()

bool CTeamsCore::CanKeepHook ( int ClientId1,
int ClientId2 ) const

◆ GetSolo()

bool CTeamsCore::GetSolo ( int ClientId) const

◆ Reset()

void CTeamsCore::Reset ( )

◆ SameTeam()

bool CTeamsCore::SameTeam ( int ClientId1,
int ClientId2 ) const

◆ SetSolo()

void CTeamsCore::SetSolo ( int ClientId,
bool Value )

◆ Team() [1/2]

int CTeamsCore::Team ( int ClientId) const

◆ Team() [2/2]

void CTeamsCore::Team ( int ClientId,
int Team )

◆ TeamSuper()

int CTeamsCore::TeamSuper ( ) const
inline

Member Data Documentation

◆ m_aIsSolo

bool CTeamsCore::m_aIsSolo[MAX_CLIENTS]
private

◆ m_aTeam

int CTeamsCore::m_aTeam[MAX_CLIENTS]
private

◆ m_IsDDRace16

bool CTeamsCore::m_IsDDRace16

◆ m_IsDDRace64

bool CTeamsCore::m_IsDDRace64

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