Pyrogenesis  trunk
Public Member Functions | List of all members
CDummyReplayLogger Class Reference

Implementation of IReplayLogger that simply throws away all data. More...

#include <Replay.h>

Inheritance diagram for CDummyReplayLogger:
Inheritance graph
[legend]
Collaboration diagram for CDummyReplayLogger:
Collaboration graph
[legend]

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 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 ()
 

Detailed Description

Implementation of IReplayLogger that simply throws away all data.

Member Function Documentation

virtual OsPath CDummyReplayLogger::GetDirectory ( ) const
inlinevirtual

Remember the directory containing the commands.txt file, so that we can save additional files to it.

Implements IReplayLogger.

virtual void CDummyReplayLogger::Hash ( const std::string &  hash,
bool  quick 
)
inlinevirtual

Optional hash of simulation state (for sync checking).

Implements IReplayLogger.

virtual void CDummyReplayLogger::StartGame ( JS::MutableHandleValue  attribs)
inlinevirtual

Started the game with the given game attributes.

Implements IReplayLogger.

virtual void CDummyReplayLogger::Turn ( u32  n,
u32  turnLength,
std::vector< SimulationCommand > &  commands 
)
inlinevirtual

Run the given turn with the given collection of player commands.

Implements IReplayLogger.


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