18#ifndef INCLUDED_REPLAYTURNMANAGER
19#define INCLUDED_REPLAYTURNMANAGER
Implementation of CTurnManager for offline games.
Definition: LocalTurnManager.h:27
Implementation of CLocalTurnManager for replay games.
Definition: ReplayTurnManager.h:27
void NotifyFinishedUpdate(u32 turn) override
Called when this client has finished a simulation update.
Definition: ReplayTurnManager.cpp:63
void StoreReplayTurnLength(u32 turn, u32 turnLength)
Definition: ReplayTurnManager.cpp:49
std::map< u32, std::vector< std::pair< player_id_t, std::string > > > m_ReplayCommands
Definition: ReplayTurnManager.h:50
void StoreReplayCommand(u32 turn, int player, const std::string &command)
Definition: ReplayTurnManager.cpp:38
std::map< u32, std::pair< std::string, bool > > m_ReplayHash
Definition: ReplayTurnManager.h:56
static const CStr EventNameReplayFinished
Definition: ReplayTurnManager.h:44
void DoTurn(u32 turn)
Definition: ReplayTurnManager.cpp:110
void StoreReplayHash(u32 turn, const std::string &hash, bool quick)
Definition: ReplayTurnManager.cpp:44
CReplayTurnManager(CSimulation2 &simulation, IReplayLogger &replay)
Definition: ReplayTurnManager.cpp:33
std::map< u32, u32 > m_ReplayTurnLengths
Definition: ReplayTurnManager.h:53
bool m_HasSyncError
Definition: ReplayTurnManager.h:47
static const CStr EventNameReplayOutOfSync
Definition: ReplayTurnManager.h:45
void StoreFinalReplayTurn(u32 turn)
Definition: ReplayTurnManager.cpp:58
Public API for simulation system.
Definition: Simulation2.h:47
Replay log recorder interface.
Definition: Replay.h:36
uint32_t u32
Definition: types.h:39