DDraceNetwork Docs
Score Struct Reference
Inheritance diagram for Score:
[legend]
Collaboration diagram for Score:
[legend]

Public Member Functions

 Score ()
 
 ~Score ()
 
void Connect ()
 
void LoadBestTime ()
 
void InsertMap ()
 
void InsertRank (float Time=100.0, bool WithTimeCheckPoints=false)
 
void ExpectLines (const std::shared_ptr< CScorePlayerResult > &pPlayerResult, std::initializer_list< const char * > Lines, bool All=false)
 

Public Attributes

IDbConnectionm_pConn {GetParam()}
 
char m_aError [256] = {}
 
std::shared_ptr< CScorePlayerResultm_pPlayerResult {std::make_shared<CScorePlayerResult>()}
 
CSqlPlayerRequest m_PlayerRequest {m_pPlayerResult}
 

Constructor & Destructor Documentation

◆ Score()

Score::Score ( )
inline

◆ ~Score()

Score::~Score ( )
inline

Member Function Documentation

◆ Connect()

void Score::Connect ( )
inline

◆ ExpectLines()

void Score::ExpectLines ( const std::shared_ptr< CScorePlayerResult > &  pPlayerResult,
std::initializer_list< const char * >  Lines,
bool  All = false 
)
inline

◆ InsertMap()

void Score::InsertMap ( )
inline

◆ InsertRank()

void Score::InsertRank ( float  Time = 100.0,
bool  WithTimeCheckPoints = false 
)
inline

◆ LoadBestTime()

void Score::LoadBestTime ( )
inline

Member Data Documentation

◆ m_aError

char Score::m_aError[256] = {}

◆ m_pConn

IDbConnection* Score::m_pConn {GetParam()}

◆ m_PlayerRequest

CSqlPlayerRequest Score::m_PlayerRequest {m_pPlayerResult}

◆ m_pPlayerResult

std::shared_ptr<CScorePlayerResult> Score::m_pPlayerResult {std::make_shared<CScorePlayerResult>()}

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