DDraceNetwork Docs
CClientSnapshotHandler Class Reference
Collaboration diagram for CClientSnapshotHandler:
[legend]

Classes

struct  CClientData
 

Public Member Functions

 CClientSnapshotHandler ()
 
int UnpackAndValidateSnapshot (CSnapshot *pFrom, CSnapshot *pTo)
 
int SnapNumItems (int SnapId)
 
IClient::CSnapItem SnapGetItem (int SnapId, int Index)
 
void OnNewSnapshot ()
 
void OnDemoPlayerSnapshot (void *pData, int Size)
 

Public Attributes

CClientData m_aClients [MAX_CLIENTS]
 
char m_aaDemoSnapshotData [IClient::NUM_SNAPSHOT_TYPES][CSnapshot::MAX_SIZE]
 
CSnapshotm_apAltSnapshots [IClient::NUM_SNAPSHOT_TYPES]
 

Constructor & Destructor Documentation

◆ CClientSnapshotHandler()

CClientSnapshotHandler::CClientSnapshotHandler ( )
inline

Member Function Documentation

◆ OnDemoPlayerSnapshot()

void CClientSnapshotHandler::OnDemoPlayerSnapshot ( void *  pData,
int  Size 
)
inline

◆ OnNewSnapshot()

void CClientSnapshotHandler::OnNewSnapshot ( )
inline

◆ SnapGetItem()

IClient::CSnapItem CClientSnapshotHandler::SnapGetItem ( int  SnapId,
int  Index 
)
inline

◆ SnapNumItems()

int CClientSnapshotHandler::SnapNumItems ( int  SnapId)
inline

◆ UnpackAndValidateSnapshot()

int CClientSnapshotHandler::UnpackAndValidateSnapshot ( CSnapshot pFrom,
CSnapshot pTo 
)
inline

Member Data Documentation

◆ m_aaDemoSnapshotData

char CClientSnapshotHandler::m_aaDemoSnapshotData[IClient::NUM_SNAPSHOT_TYPES][CSnapshot::MAX_SIZE]

◆ m_aClients

CClientData CClientSnapshotHandler::m_aClients[MAX_CLIENTS]

◆ m_apAltSnapshots

CSnapshot* CClientSnapshotHandler::m_apAltSnapshots[IClient::NUM_SNAPSHOT_TYPES]

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