#include <race_demo.h>
◆ anonymous enum
Enumerator |
---|
RACE_NONE | |
RACE_IDLE | |
RACE_PREPARE | |
RACE_STARTED | |
RACE_FINISHED | |
◆ CRaceDemo()
◆ CheckDemo()
bool CRaceDemo::CheckDemo |
( |
int |
Time | ) |
|
|
private |
◆ GetPath()
void CRaceDemo::GetPath |
( |
char * |
pBuf, |
|
|
int |
Size, |
|
|
int |
Time = -1 |
|
) |
| const |
|
private |
◆ OnMapLoad()
void CRaceDemo::OnMapLoad |
( |
| ) |
|
|
overridevirtual |
Called on map load.
Reimplemented from CComponent.
◆ OnMessage()
void CRaceDemo::OnMessage |
( |
int |
Msg, |
|
|
void * |
pRawMsg |
|
) |
| |
|
overridevirtual |
◆ OnNewSnapshot()
void CRaceDemo::OnNewSnapshot |
( |
| ) |
|
|
overridevirtual |
Called when a new snapshot is received.
Reimplemented from CComponent.
◆ OnReset()
void CRaceDemo::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ OnShutdown()
void CRaceDemo::OnShutdown |
( |
| ) |
|
|
overridevirtual |
Called to cleanup the component. This method is called when the client is closed.
Reimplemented from CComponent.
◆ OnStateChange()
void CRaceDemo::OnStateChange |
( |
int |
NewState, |
|
|
int |
OldState |
|
) |
| |
|
overridevirtual |
◆ RaceDemolistFetchCallback()
int CRaceDemo::RaceDemolistFetchCallback |
( |
const CFsFileInfo * |
pInfo, |
|
|
int |
IsDir, |
|
|
int |
StorageType, |
|
|
void * |
pUser |
|
) |
| |
|
staticprivate |
◆ Sizeof()
virtual int CRaceDemo::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ StopRecord()
void CRaceDemo::StopRecord |
( |
int |
Time = -1 | ) |
|
|
private |
◆ m_AllowRestart
bool CRaceDemo::m_AllowRestart |
◆ m_aTmpFilename
char CRaceDemo::m_aTmpFilename[128] |
|
private |
◆ m_RaceDemosLoadStartTime
std::chrono::nanoseconds CRaceDemo::m_RaceDemosLoadStartTime {0} |
|
private |
◆ m_RaceStartTick
int CRaceDemo::m_RaceStartTick |
|
private |
◆ m_RaceState
int CRaceDemo::m_RaceState |
|
private |
◆ m_RecordStopTick
int CRaceDemo::m_RecordStopTick |
|
private |
◆ m_Time
◆ ms_pRaceDemoDir
const char * CRaceDemo::ms_pRaceDemoDir = "demos/auto/race" |
|
staticprivate |
The documentation for this class was generated from the following files: