diff options
Diffstat (limited to 'mp/src/common/replay/ireplayplayercache.h')
| -rw-r--r-- | mp/src/common/replay/ireplayplayercache.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/mp/src/common/replay/ireplayplayercache.h b/mp/src/common/replay/ireplayplayercache.h index e27ad2e7..c1a816f3 100644 --- a/mp/src/common/replay/ireplayplayercache.h +++ b/mp/src/common/replay/ireplayplayercache.h @@ -1,41 +1,41 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//----------------------------------------------------------------------------------------
-
-#ifndef IREPLAYPLAYERCACHE_H
-#define IREPLAYPLAYERCACHE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-
-//----------------------------------------------------------------------------------------
-
-#define REPLAYPLAYERCACHE_INTERFACE_VERSION "VENGINE_REPLAY_PLAYER_CACHE_001"
-
-//----------------------------------------------------------------------------------------
-
-abstract_class IReplayPlayerCache : public IBaseInterface
-{
-public:
- virtual bool Init() = 0;
- virtual void Shutdown() = 0;
-
- virtual void SetupPlayer( int nEntIndex ) = 0;
- virtual void DeletePlayerEntry( int nEntIndex ) = 0;
-
- virtual bool PlayerHasCacheEntry( int nEntIndex ) = 0;
-
- virtual void SetPlayerClass( int nEntIndex, const char *pPlayerClass ) = 0;
- virtual void SetPlayerSpawnTick( int nEntIndex, int nTick ) = 0;
- virtual void SetPlayerDeathTick( int nEntIndex, int nTick ) = 0;
-
- virtual const char *GetPlayerClass( int nEntIndex ) = 0;
- virtual int GetPlayerSpawnTick( int nEntIndex ) = 0;
- virtual int GetPlayerDeathTick( int nEntIndex ) = 0;
-};
-
-//----------------------------------------------------------------------------------------
-
-#endif // IREPLAYPLAYERCACHE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +//---------------------------------------------------------------------------------------- + +#ifndef IREPLAYPLAYERCACHE_H +#define IREPLAYPLAYERCACHE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "interface.h" + +//---------------------------------------------------------------------------------------- + +#define REPLAYPLAYERCACHE_INTERFACE_VERSION "VENGINE_REPLAY_PLAYER_CACHE_001" + +//---------------------------------------------------------------------------------------- + +abstract_class IReplayPlayerCache : public IBaseInterface +{ +public: + virtual bool Init() = 0; + virtual void Shutdown() = 0; + + virtual void SetupPlayer( int nEntIndex ) = 0; + virtual void DeletePlayerEntry( int nEntIndex ) = 0; + + virtual bool PlayerHasCacheEntry( int nEntIndex ) = 0; + + virtual void SetPlayerClass( int nEntIndex, const char *pPlayerClass ) = 0; + virtual void SetPlayerSpawnTick( int nEntIndex, int nTick ) = 0; + virtual void SetPlayerDeathTick( int nEntIndex, int nTick ) = 0; + + virtual const char *GetPlayerClass( int nEntIndex ) = 0; + virtual int GetPlayerSpawnTick( int nEntIndex ) = 0; + virtual int GetPlayerDeathTick( int nEntIndex ) = 0; +}; + +//---------------------------------------------------------------------------------------- + +#endif // IREPLAYPLAYERCACHE_H |