Pyrogenesis
13997
|
Replay log recorder interface. More...
#include <Replay.h>
Public Member Functions | |
IReplayLogger () | |
virtual | ~IReplayLogger () |
virtual void | StartGame (const CScriptValRooted &attribs)=0 |
Started the game with the given game attributes. More... | |
virtual void | Turn (u32 n, u32 turnLength, const std::vector< SimulationCommand > &commands)=0 |
Run the given turn with the given collection of player commands. More... | |
virtual void | Hash (const std::string &hash, bool quick)=0 |
Optional hash of simulation state (for sync checking). More... | |
Replay log recorder interface.
Call its methods at appropriate times during the game.
|
pure virtual |
Optional hash of simulation state (for sync checking).
Implemented in CReplayLogger, and CDummyReplayLogger.
|
pure virtual |
Started the game with the given game attributes.
Implemented in CReplayLogger, and CDummyReplayLogger.
|
pure virtual |
Run the given turn with the given collection of player commands.
Implemented in CReplayLogger, and CDummyReplayLogger.