Emergency 20 Dokumentation  4.2.0
em5::multiplayer::DataRecorder Class Reference

EMERGENCY 5 multiplayer data recorder. Records any data which the host/client would send to the client(s)/host. More...

#include <DataRecorder.h>

Inheritance diagram for em5::multiplayer::DataRecorder:

Public Member Functions

 DataRecorder (const std::string &fileName)
 Constructor. More...
 
virtual ~DataRecorder ()
 Destructor. More...
 
void recordData (const qsf::Time &timePassedSinceStart, const qsf::game::BitStream &bitStream)
 Record the packet, which the hosts sends to the client(s) More...
 

Detailed Description

EMERGENCY 5 multiplayer data recorder. Records any data which the host/client would send to the client(s)/host.

Constructor & Destructor Documentation

em5::multiplayer::DataRecorder::DataRecorder ( const std::string &  fileName)
explicit

Constructor.

Parameters
[in]fileNameThe filename where the DataRecorder will write the recorded data to
virtual em5::multiplayer::DataRecorder::~DataRecorder ( )
virtual

Destructor.

Member Function Documentation

void em5::multiplayer::DataRecorder::recordData ( const qsf::Time timePassedSinceStart,
const qsf::game::BitStream bitStream 
)

Record the packet, which the hosts sends to the client(s)

Parameters
[in]timePassedSinceStartThe time when the packet was send to the client
[in]bitStreamThe bit stream which contains the packet data

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