Fission FSN
Loading...
Searching...
No Matches
fsCGlobalSavedData Class Reference

#include <fsCGlobalSavedData.h>

Inheritance diagram for fsCGlobalSavedData:

Public Member Functions

fsStr uniqueIDGet () const
fsStr currentLocaleGet () const
void currentLocaleSet (fsStr const &pLocale)
void appRunningtTimeSet (fsS32 pAppRunningTime)
fsS32 appRunningtTimeGet () const
fsS32 numProfilesGet () const
fsS32 currentProfileIndexGet () const
fsStr profileNameGet (fsS32 pProfileIndex) const
fsCResourceName profileFileNameGet (fsS32 pProfileIndex) const
fsStr profileChapterGet (fsS32 pProfileIndex) const
fsS32 profileGameModeGet (fsS32 pProfileIndex) const
virtual ~fsCGlobalSavedData ()
Public Member Functions inherited from fsISavedData
void resetToDefaults ()
virtual ~fsISavedData ()
Public Member Functions inherited from fsCVariableTable
const fsStrfileNameGet () const
std::vector< fsStrpartKeyCollectionGet (const fsStr &pPartKey) const
std::vector< fsStrpartValueCollectionGet (const fsStr &pPartVal) const
fsF32 f32Get (const fsStr &pKey) const
fsF32 f32GetWithDefault (const fsStr &pKey, fsF32 pDefault) const
fsS32 s32Get (const fsStr &pKey) const
fsS32 s32GetWithDefault (const fsStr &pKey, fsS32 pDefault) const
fsStr strGet (const fsStr &pKey) const
fsStr strGetWithDefault (const fsStr &pKey, const fsStr &pDefault) const
fsBool boolGet (const fsStr &pKey) const
fsBool boolGetWithDefault (const fsStr &pKey, fsBool pDefault) const
void removeKeysContaining (const fsStr &pPartialKey)
fsBool keyExistsGet (const fsStr &pKey) const
void merge (fsCVariableTable *pIncoming)
void s32Set (const fsStr &pKey, fsS32 pVal)
void f32Set (const fsStr &pKey, fsF32 pVal)
void strSet (const fsStr &pKey, const fsStr &pVal)
void boolSet (const fsStr &pKey, fsBool pVal)
fsS32 load (const fsCResourceName &pFileName)
void save (const fsCResourceName &pFileName) const
fsS32 loadResultGet () const
fsBool successfullLoadGet () const
 fsCVariableTable ()
virtual ~fsCVariableTable ()

Static Public Member Functions

static std::unique_ptr< fsCGlobalSavedDatacreate ()

Static Public Attributes

static const fsS32 mNoProfileLoaded = -1
static const fsStr mCurrentLocale

Protected Member Functions

void uniqueIDSet (const fsStr &pID)
void currentProfileIndexSet (fsS32 pProfileIndex)
void numProfilesSet (fsS32 pNumProfiles)
void resetToDefaultsDo () override
 fsCGlobalSavedData ()
Protected Member Functions inherited from fsISavedData
 fsISavedData ()

Friends

class fsCProfileManager
class fsCAppCoreMain

Additional Inherited Members

Public Types inherited from fsCVariableTable
enum  {
  eLOAD_RESULT_INVALID = 0 , eLOAD_RESULT_SUCCESS_NO_CHECKSUM , eLOAD_RESULT_SUCCESS_WITH_CHECKSUM , eLOAD_RESULT_FAIL_FILESYSTEM_NOT_READY ,
  eLOAD_RESULT_FAIL_FILE_NOT_FOUND , eLOAD_RESULT_FAIL_READ_ERROR , eLOAD_RESULT_FAIL_CHECKSUM_INVALID
}
Static Protected Member Functions inherited from fsCVariableTable
static fsStr downcased (const fsStr &pKey)
Protected Attributes inherited from fsCVariableTable
VarTableMap mEntries
fsS32 mLoadResult
Static Protected Attributes inherited from fsCVariableTable
static const fsStr mBoolTrueStr
static const fsStr mAltBoolTrueStr
static const fsStr mBoolFalseStr

Constructor & Destructor Documentation

◆ ~fsCGlobalSavedData()

fsCGlobalSavedData::~fsCGlobalSavedData ( )
virtual

◆ fsCGlobalSavedData()

fsCGlobalSavedData::fsCGlobalSavedData ( )
protected

Member Function Documentation

◆ appRunningtTimeGet()

fsS32 fsCGlobalSavedData::appRunningtTimeGet ( ) const

◆ appRunningtTimeSet()

void fsCGlobalSavedData::appRunningtTimeSet ( fsS32 pAppRunningTime)

◆ create()

std::unique_ptr< fsCGlobalSavedData > fsCGlobalSavedData::create ( )
static

◆ currentLocaleGet()

fsStr fsCGlobalSavedData::currentLocaleGet ( ) const

◆ currentLocaleSet()

void fsCGlobalSavedData::currentLocaleSet ( fsStr const & pLocale)

◆ currentProfileIndexGet()

fsS32 fsCGlobalSavedData::currentProfileIndexGet ( ) const

◆ currentProfileIndexSet()

void fsCGlobalSavedData::currentProfileIndexSet ( fsS32 pProfileIndex)
protected

◆ numProfilesGet()

fsS32 fsCGlobalSavedData::numProfilesGet ( ) const

◆ numProfilesSet()

void fsCGlobalSavedData::numProfilesSet ( fsS32 pNumProfiles)
protected

◆ profileChapterGet()

fsStr fsCGlobalSavedData::profileChapterGet ( fsS32 pProfileIndex) const

◆ profileFileNameGet()

fsCResourceName fsCGlobalSavedData::profileFileNameGet ( fsS32 pProfileIndex) const

◆ profileGameModeGet()

fsS32 fsCGlobalSavedData::profileGameModeGet ( fsS32 pProfileIndex) const

◆ profileNameGet()

fsStr fsCGlobalSavedData::profileNameGet ( fsS32 pProfileIndex) const

◆ resetToDefaultsDo()

void fsCGlobalSavedData::resetToDefaultsDo ( )
overrideprotectedvirtual

Reimplemented from fsISavedData.

◆ uniqueIDGet()

fsStr fsCGlobalSavedData::uniqueIDGet ( ) const

◆ uniqueIDSet()

void fsCGlobalSavedData::uniqueIDSet ( const fsStr & pID)
protected

◆ fsCAppCoreMain

friend class fsCAppCoreMain
friend

◆ fsCProfileManager

friend class fsCProfileManager
friend

Member Data Documentation

◆ mCurrentLocale

const fsStr fsCGlobalSavedData::mCurrentLocale
static

◆ mNoProfileLoaded

const fsS32 fsCGlobalSavedData::mNoProfileLoaded = -1
static

The documentation for this class was generated from the following files: