DDraceNetwork Docs
CRaceHelper Class Reference

#include <race.h>

Collaboration diagram for CRaceHelper:
[legend]

Public Member Functions

void Init (const CGameClient *pGameClient)
 
bool IsStart (vec2 Prev, vec2 Pos) const
 

Static Public Member Functions

static int TimeFromSecondsStr (const char *pStr)
 
static int TimeFromStr (const char *pStr)
 
static int TimeFromFinishMessage (const char *pStr, char *pNameBuf, int NameBufSize)
 

Private Attributes

const CGameClientm_pGameClient
 
int m_aFlagIndex [2] = {-1, -1}
 

Member Function Documentation

◆ Init()

void CRaceHelper::Init ( const CGameClient pGameClient)

◆ IsStart()

bool CRaceHelper::IsStart ( vec2  Prev,
vec2  Pos 
) const

◆ TimeFromFinishMessage()

int CRaceHelper::TimeFromFinishMessage ( const char *  pStr,
char *  pNameBuf,
int  NameBufSize 
)
static

◆ TimeFromSecondsStr()

int CRaceHelper::TimeFromSecondsStr ( const char *  pStr)
static

◆ TimeFromStr()

int CRaceHelper::TimeFromStr ( const char *  pStr)
static

Member Data Documentation

◆ m_aFlagIndex

int CRaceHelper::m_aFlagIndex[2] = {-1, -1}
private

◆ m_pGameClient

const CGameClient* CRaceHelper::m_pGameClient
private

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