Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Implementation of IReplayLogger that simply throws away all data. More...
#include <Replay.h>
Public Member Functions | |
virtual void | StartGame (JS::MutableHandleValue attribs) |
Started the game with the given game attributes. More... | |
virtual void | Turn (u32 n, u32 turnLength, 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... | |
virtual void | SaveMetadata (const CSimulation2 &simulation) |
Saves metadata.json containing part of the simulation state used for the summary screen. More... | |
virtual OsPath | GetDirectory () const |
Remember the directory containing the commands.txt file, so that we can save additional files to it. More... | |
Public Member Functions inherited from IReplayLogger | |
IReplayLogger () | |
virtual | ~IReplayLogger () |
virtual void | StartGame (JS::MutableHandleValue attribs)=0 |
Started the game with the given game attributes. More... | |
virtual void | Turn (u32 n, u32 turnLength, 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... | |
virtual void | SaveMetadata (const CSimulation2 &simulation)=0 |
Saves metadata.json containing part of the simulation state used for the summary screen. More... | |
virtual OsPath | GetDirectory () const =0 |
Remember the directory containing the commands.txt file, so that we can save additional files to it. More... | |
Implementation of IReplayLogger that simply throws away all data.
|
inlinevirtual |
Remember the directory containing the commands.txt file, so that we can save additional files to it.
Implements IReplayLogger.
|
inlinevirtual |
Optional hash of simulation state (for sync checking).
Implements IReplayLogger.
|
inlinevirtual |
Saves metadata.json containing part of the simulation state used for the summary screen.
Implements IReplayLogger.
|
inlinevirtual |
Started the game with the given game attributes.
Implements IReplayLogger.
|
inlinevirtual |
Run the given turn with the given collection of player commands.
Implements IReplayLogger.