DDraceNetwork Documentation
Loading...
Searching...
No Matches
CPlayerData Class Reference

#include <scoreworker.h>

Public Member Functions

 CPlayerData ()
void Reset ()
void Set (float Time, const float aTimeCp[NUM_CHECKPOINTS])
void SetBestTimeCp (const float aTimeCp[NUM_CHECKPOINTS])

Public Attributes

std::optional< float > m_BestTime
float m_aBestTimeCp [NUM_CHECKPOINTS]
int m_RecordStopTick
float m_RecordFinishTime

Constructor & Destructor Documentation

◆ CPlayerData()

CPlayerData::CPlayerData ( )
inline

Member Function Documentation

◆ Reset()

void CPlayerData::Reset ( )
inline

◆ Set()

void CPlayerData::Set ( float Time,
const float aTimeCp[NUM_CHECKPOINTS] )
inline

◆ SetBestTimeCp()

void CPlayerData::SetBestTimeCp ( const float aTimeCp[NUM_CHECKPOINTS])
inline

Member Data Documentation

◆ m_aBestTimeCp

float CPlayerData::m_aBestTimeCp[NUM_CHECKPOINTS]

◆ m_BestTime

std::optional<float> CPlayerData::m_BestTime

◆ m_RecordFinishTime

float CPlayerData::m_RecordFinishTime

◆ m_RecordStopTick

int CPlayerData::m_RecordStopTick

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