BVB Source Codes

CRYENGINE Show ILoadGame.h Source code

Return Download CRYENGINE: download ILoadGame.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __ILOADGAME_H__
  4. #define __ILOADGAME_H__
  5.  
  6. #pragma once
  7.  
  8. struct ILoadGame
  9. {
  10.         virtual ~ILoadGame(){}
  11.         // initialize - set name of game
  12.         virtual bool                Init(const char* name) = 0;
  13.  
  14.         virtual IGeneralMemoryHeap* GetHeap() = 0;
  15.  
  16.         // get some basic meta-data
  17.         virtual const char*                 GetMetadata(const char* tag) = 0;
  18.         virtual bool                        GetMetadata(const char* tag, int& value) = 0;
  19.         virtual bool                        HaveMetadata(const char* tag) = 0;
  20.         // create a serializer for some data section
  21.         virtual std::unique_ptr<TSerialize> GetSection(const char* section) = 0;
  22.         virtual bool                        HaveSection(const char* section) = 0;
  23.  
  24.         // finish - indicate success (negative success *must* remove file)
  25.         // also calls delete this;
  26.         virtual void Complete() = 0;
  27.  
  28.         // returns the filename of this savegame
  29.         virtual const char* GetFileName() const = 0;
  30. };
  31.  
  32. #endif
  33.  
downloadILoadGame.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