resonance 1.0.1
Loading...
Searching...
No Matches
gamerecorder.h
Go to the documentation of this file.
1#pragma once
2
4class GameParams;
5class OBFileStream;
6
14public:
20 explicit GameRecorder(GameManagerImpl *pManager);
21
29
45 void BeginRecording(int nGameMode, const GameParams &params);
46
55 void FinishUp();
56
67
68private:
69 GameManagerImpl *mManager; // +0x00
70 // Nothing recovered writes it apart from the constructor and FinishUp(), which clear it.
71 OBFileStream *mStream; // +0x04
72};
Owner of the running game.
Definition gamemanagerimpl.h:111
Settings a game session is started with.
Definition gameparams.h:42
void FinishUp()
Close the watchdog's recording and delete the stream.
~GameRecorder()
Delete the stream, if any.
void BeginRecording(int nGameMode, const GameParams &params)
Open the recording file and start the watchdog's recording into it.
void ScheduleEnd()
Post an EndRecordingCmd for this recorder on the watchdog timer.
GameRecorder(GameManagerImpl *pManager)
Output stream over a C library FILE.
Definition obfilestream.h:24