gwnavruntime/basesystem/gamewarekey.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_GamewareKey_H
9 #define Navigation_GamewareKey_H
23 class GamewareKeyConfig
28 , m_gamewareKeyFileName(
KY_NULL)
47 const char* m_gamewareKey;
48 const char* m_gamewareKeyFileName;
49 FileOpenerBase* m_fileOpener;
56 static GamewareKey& GetInstance()
58 static GamewareKey s_instance;
62 KyResult Init(
const GamewareKeyConfig& config);
64 const char* GetKey() {
return m_key; }
67 GamewareKey() { m_key[0] =
'\0'; }
68 KyResult SetKeyFromFile(
const char* fileName, FileOpenerBase* fileOpener);
70 void SetKey(
const char* key);
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
#define KY_NULL
Null value.
Definition: types.h:247
Definition: gamekitcrowddispersion.h:20