BVB Source Codes

CRYENGINE Show IGameStateRecorder.h Source code

Return Download CRYENGINE: download IGameStateRecorder.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. // -------------------------------------------------------------------------
  4. //  File name:   IGameStateRecorder.h
  5. //  Version:     v1.00
  6. //  Created:     3/2008 by Luciano Morpurgo.
  7. //  Compilers:   Visual Studio.NET
  8. //  Description: (Interface) Checks the player and other game specific objects' states and communicate them to the TestManager
  9. //
  10. // -------------------------------------------------------------------------
  11. //  History:
  12. //
  13. ////////////////////////////////////////////////////////////////////////////
  14.  
  15. #ifndef __IGAMESTATERECORDER_H__
  16. #define __IGAMESTATERECORDER_H__
  17.  
  18. #pragma once
  19.  
  20. typedef enum
  21. {
  22.         GPM_Disabled,
  23.         GPM_SingleActor,
  24.         GPM_AllActors
  25. } EGameProfileMode;
  26.  
  27. struct IGameplayListener;
  28. struct IEntity;
  29. struct GameplayEvent;
  30.  
  31. struct IGameStateRecorder
  32. {
  33.         virtual ~IGameStateRecorder(){}
  34.         virtual void  Enable(bool bEnable, bool bRecording) = 0;
  35.  
  36.         virtual void  OnRecordedGameplayEvent(IEntity* pEntity, const GameplayEvent& event, int currentFrame = 0, bool bRecording = false) = 0;
  37.         virtual void  RegisterListener(IGameplayListener* pL) = 0;
  38.         virtual void  UnRegisterListener(IGameplayListener* pL) = 0;
  39.         virtual float RenderInfo(float y, bool bRecording) = 0;
  40.         virtual void  GetMemoryStatistics(ICrySizer* s) = 0;
  41.         virtual void  Release() = 0;
  42.         virtual bool  IsEnabled() = 0;
  43.         virtual void  Update() = 0;
  44. };
  45.  
  46. #endif
  47.  
downloadIGameStateRecorder.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top