HPL3/Amnesia: Rebirth/Scripting/cConfigFile
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 EraseAll
- 3.2 EraseSetting
- 3.3 EraseValue
- 3.4 GetBool
- 3.5 GetColor
- 3.6 GetFileLocation
- 3.7 GetFloat
- 3.8 GetInt
- 3.9 GetString
- 3.10 GetStringW
- 3.11 GetVector2f
- 3.12 GetVector2l
- 3.13 GetVector3f
- 3.14 GetVector3l
- 3.15 Load
- 3.16 Save
- 3.17 SetBool
- 3.18 SetColor
- 3.19 SetFileLocation
- 3.20 SetFloat
- 3.21 SetInt
- 3.22 SetString
- 3.23 SetVector2f
- 3.24 SetVector2l
- 3.25 SetVector3f
- 3.26 SetVector3l
- 4 References
Fields
cConfigFile has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | EraseAll() |
void | EraseSetting(const tString &in asLevel) |
void | EraseValue(const tString &in asLevel, const tString &in asName) |
bool | GetBool(const tString &in asLevel, const tString &in asName, bool abDefault) |
cColor | GetColor(const tString &in asLevel, const tString &in asName, const cColor &in aDefault) |
tWString | GetFileLocation() |
float | GetFloat(const tString &in asLevel, const tString &in asName, float afDefault) |
int | GetInt(const tString &in asLevel, const tString &in asName, int alDefault) |
tString | GetString(const tString &in asLevel, const tString &in asName, const tString &in asDefault) |
tWString | GetStringW(const tString &in asLevel, const tString &in asName, const tWString &in asDefault) |
cVector2f | GetVector2f(const tString &in asLevel, const tString &in asName, const cVector2f &in avDefault) |
cVector2l | GetVector2l(const tString &in asLevel, const tString &in asName, const cVector2l &in avDefault) |
cVector3f | GetVector3f(const tString &in asLevel, const tString &in asName, const cVector3f &in avDefault) |
cVector3l | GetVector3l(const tString &in asLevel, const tString &in asName, const cVector3l &in avDefault) |
bool | Load() |
bool | Save() |
void | SetBool(const tString &in asLevel, const tString &in asName, bool abVal) |
void | SetColor(const tString &in asLevel, const tString &in asName, const cColor &in aVal) |
void | SetFileLocation(const tWString &in asFile) |
void | SetFloat(const tString &in asLevel, const tString &in asName, float afVal) |
void | SetInt(const tString &in asLevel, const tString &in asName, int alVal) |
void | SetString(const tString &in asLevel, const tString &in asName, const tString &in asVal) |
void | SetVector2f(const tString &in asLevel, const tString &in asName, const cVector2f &in avVal) |
void | SetVector2l(const tString &in asLevel, const tString &in asName, const cVector2l &in avVal) |
void | SetVector3f(const tString &in asLevel, const tString &in asName, const cVector3f &in avVal) |
void | SetVector3l(const tString &in asLevel, const tString &in asName, const cVector3l &in avVal) |
Details
EraseAll
void EraseAll()
Returns:
- void
EraseSetting
EraseValue
GetBool
GetColor
GetFileLocation
const tWString& GetFileLocation()
Returns:
- const tWString&—
GetFloat
GetInt
GetString
GetStringW
GetVector2f
GetVector2l
GetVector3f
GetVector3l
Load
bool Load()
Returns:
- bool—
Save
bool Save()
Returns:
- bool—