![]() |
DDraceNetwork Documentation
|
#include <scoreworker.h>
Public Types | |
| enum | { MAX_MESSAGES = 10 } |
| enum | Variant { DIRECT , ALL , BROADCAST , MAP_VOTE , PLAYER_INFO , PLAYER_TIMECP } |
Public Member Functions | |
| CScorePlayerResult () | |
| void | SetVariant (Variant v) |
Public Member Functions inherited from ISqlResult | |
| virtual | ~ISqlResult ()=default |
Public Attributes | ||
| enum CScorePlayerResult::Variant | m_MessageKind | |
| union { | ||
| char m_aaMessages [MAX_MESSAGES][512] | ||
| char m_aBroadcast [1024] | ||
| struct { | ||
| std::optional< float > m_Time | ||
| float m_aTimeCp [NUM_CHECKPOINTS] | ||
| int m_Birthday | ||
| char m_aRequestedPlayer [MAX_NAME_LENGTH] | ||
| } m_Info = {} | ||
| struct { | ||
| char m_aReason [VOTE_REASON_LENGTH] | ||
| char m_aServer [32+1] | ||
| char m_aMap [MAX_MAP_LENGTH+1] | ||
| } m_MapVote | ||
| } | m_Data = {} | |
Public Attributes inherited from ISqlResult | ||
| std::atomic_bool | m_Completed {false} | |
| bool | m_Success = false | |
| CScorePlayerResult::CScorePlayerResult | ( | ) |
| char CScorePlayerResult::m_aaMessages[MAX_MESSAGES][512] |
| char CScorePlayerResult::m_aBroadcast[1024] |
| char CScorePlayerResult::m_aMap[MAX_MAP_LENGTH+1] |
| char CScorePlayerResult::m_aReason[VOTE_REASON_LENGTH] |
| char CScorePlayerResult::m_aRequestedPlayer[MAX_NAME_LENGTH] |
| char CScorePlayerResult::m_aServer[32+1] |
| float CScorePlayerResult::m_aTimeCp[NUM_CHECKPOINTS] |
| int CScorePlayerResult::m_Birthday |
| union { ... } CScorePlayerResult::m_Data |
| struct { ... } CScorePlayerResult::m_Info |
| struct { ... } CScorePlayerResult::m_MapVote |
| enum CScorePlayerResult::Variant CScorePlayerResult::m_MessageKind |
| std::optional<float> CScorePlayerResult::m_Time |