![]() |
DDNet documentation
|
#include <ghost.h>
Public Member Functions | |
| CGhostRecorder () | |
| void | Init () |
| int | Start (const char *pFilename, const char *pMap, const SHA256_DIGEST &MapSha256, const char *pName) override |
| void | Stop (int Ticks, int Time) override |
| void | WriteData (int Type, const void *pData, size_t Size) override |
| bool | IsRecording () const override |
| Public Member Functions inherited from IInterface | |
| IInterface () | |
| virtual void | Shutdown () |
| virtual | ~IInterface ()=default |
Private Member Functions | |
| void | ResetBuffer () |
| void | FlushChunk () |
Private Attributes | |
| IOHANDLE | m_File |
| char | m_aFilename [IO_MAX_PATH_LENGTH] |
| class IStorage * | m_pStorage |
| char | m_aBuffer [MAX_CHUNK_SIZE] |
| char | m_aBufferTemp [MAX_CHUNK_SIZE] |
| char * | m_pBufferPos |
| const char * | m_pBufferEnd |
| int | m_BufferNumItems |
| std::optional< CGhostItem > | m_LastItem |
Additional Inherited Members | |
| Static Public Member Functions inherited from IGhostRecorder | |
| static const char * | InterfaceName () |
| Protected Member Functions inherited from IInterface | |
| IKernel * | Kernel () |
| CGhostRecorder::CGhostRecorder | ( | ) |
|
private |
| void CGhostRecorder::Init | ( | ) |
|
inlineoverridevirtual |
Implements IGhostRecorder.
|
private |
|
overridevirtual |
Implements IGhostRecorder.
|
overridevirtual |
Implements IGhostRecorder.
|
overridevirtual |
Implements IGhostRecorder.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |