forked from peace-maker/sourcetvmanager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathihltvdemorecorder.h
35 lines (28 loc) · 1023 Bytes
/
ihltvdemorecorder.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _INCLUDE_DEMORECORDER_H
#define _INCLUDE_DEMORECORDER_H
class CDemoFile;
class bf_read;
class ServerClass;
class IDemoRecorder
{
public:
virtual CDemoFile *GetDemoFile() = 0;
virtual int GetRecordingTick(void) = 0;
virtual void StartRecording(const char *filename, bool bContinuously) = 0;
virtual void SetSignonState(int state) = 0;
virtual bool IsRecording(void) = 0;
virtual void PauseRecording(void) = 0;
virtual void ResumeRecording(void) = 0;
virtual void StopRecording(void) = 0;
virtual void RecordCommand(const char *cmdstring) = 0;
virtual void RecordUserInput(int cmdnumber) = 0;
virtual void RecordMessages(bf_read &data, int bits) = 0;
virtual void RecordPacket(void) = 0;
virtual void RecordServerClasses(ServerClass *pClasses) = 0;
virtual void RecordStringTables(void) = 0;
#if SOURCE_ENGINE == SE_LEFT4DEAD || SOURCE_ENGINE == SE_LEFT4DEAD2
virtual void RecordCustomData(int, void const *, unsigned int) = 0;
#endif
virtual void ResetDemoInterpolation(void) = 0;
};
#endif