2019-05-31 18:42:28 +00:00
|
|
|
#ifndef ENGINE_CLIENT_DEMOEDIT_H
|
|
|
|
#define ENGINE_CLIENT_DEMOEDIT_H
|
|
|
|
|
2020-09-25 16:11:59 +00:00
|
|
|
#include <engine/shared/demo.h>
|
2021-12-24 11:16:43 +00:00
|
|
|
#include <engine/shared/jobs.h>
|
2020-09-25 16:11:59 +00:00
|
|
|
#include <engine/shared/snapshot.h>
|
2019-05-31 18:42:28 +00:00
|
|
|
|
2021-12-24 11:16:43 +00:00
|
|
|
class IStorage;
|
2019-05-31 18:42:28 +00:00
|
|
|
|
|
|
|
class CDemoEdit : public IJob
|
|
|
|
{
|
|
|
|
CSnapshotDelta m_SnapshotDelta;
|
|
|
|
IStorage *m_pStorage;
|
|
|
|
|
|
|
|
CDemoEditor m_DemoEditor;
|
|
|
|
|
|
|
|
char m_aDemo[256];
|
|
|
|
char m_aDst[256];
|
|
|
|
int m_StartTick;
|
|
|
|
int m_EndTick;
|
|
|
|
|
|
|
|
public:
|
2021-12-24 11:16:43 +00:00
|
|
|
CDemoEdit(const char *pNetVersion, CSnapshotDelta *pSnapshotDelta, IStorage *pStorage, const char *pDemo, const char *pDst, int StartTick, int EndTick);
|
2022-05-17 20:13:44 +00:00
|
|
|
void Run() override;
|
2019-05-31 18:42:28 +00:00
|
|
|
char *Destination() { return m_aDst; }
|
|
|
|
};
|
|
|
|
#endif
|