Pyrogenesis
13997
|
Implementation of IReplayLogger that saves data to a file in the logs directory. More...
#include <Replay.h>
Public Member Functions | |
CReplayLogger (ScriptInterface &scriptInterface) | |
~CReplayLogger () | |
virtual void | StartGame (const CScriptValRooted &attribs) |
Started the game with the given game attributes. More... | |
virtual void | Turn (u32 n, u32 turnLength, const std::vector< SimulationCommand > &commands) |
Run the given turn with the given collection of player commands. More... | |
virtual void | Hash (const std::string &hash, bool quick) |
Optional hash of simulation state (for sync checking). More... | |
![]() | |
IReplayLogger () | |
virtual | ~IReplayLogger () |
Private Member Functions | |
NONCOPYABLE (CReplayLogger) | |
Private Attributes | |
ScriptInterface & | m_ScriptInterface |
std::ostream * | m_Stream |
Implementation of IReplayLogger that saves data to a file in the logs directory.
CReplayLogger::CReplayLogger | ( | ScriptInterface & | scriptInterface | ) |
Definition at line 54 of file Replay.cpp.
CReplayLogger::~CReplayLogger | ( | ) |
Definition at line 73 of file Replay.cpp.
|
virtual |
Optional hash of simulation state (for sync checking).
Implements IReplayLogger.
Definition at line 94 of file Replay.cpp.
|
private |
|
virtual |
Started the game with the given game attributes.
Implements IReplayLogger.
Definition at line 78 of file Replay.cpp.
|
virtual |
Run the given turn with the given collection of player commands.
Implements IReplayLogger.
Definition at line 83 of file Replay.cpp.
|
private |