Implementation of IReplayLogger that saves data to a file in the logs directory.
More...
#include <Replay.h>
Implementation of IReplayLogger that saves data to a file in the logs directory.
CReplayLogger::~CReplayLogger |
( |
| ) |
|
OsPath CReplayLogger::GetDirectory |
( |
| ) |
const |
|
virtual |
Remember the directory containing the commands.txt file, so that we can save additional files to it.
Implements IReplayLogger.
void CReplayLogger::Hash |
( |
const std::string & |
hash, |
|
|
bool |
quick |
|
) |
| |
|
virtual |
Optional hash of simulation state (for sync checking).
Implements IReplayLogger.
void CReplayLogger::StartGame |
( |
JS::MutableHandleValue |
attribs | ) |
|
|
virtual |
Started the game with the given game attributes.
Implements IReplayLogger.
Run the given turn with the given collection of player commands.
Implements IReplayLogger.
OsPath CReplayLogger::m_Directory |
|
private |
std::ostream* CReplayLogger::m_Stream |
|
private |
The documentation for this class was generated from the following files: