|
| ~CCUserDefault () |
bool | getBoolForKey (const char *pKey) |
| Get bool value by key, if the key doesn't exist, a default value will return. More...
|
|
bool | getBoolForKey (const char *pKey, bool defaultValue) |
local | getBoolForKey ( local pKey, local defaultValue) |
int | getIntegerForKey (const char *pKey) |
| Get integer value by key, if the key doesn't exist, a default value will return. More...
|
|
int | getIntegerForKey (const char *pKey, int defaultValue) |
float | getFloatForKey (const char *pKey) |
| Get float value by key, if the key doesn't exist, a default value will return. More...
|
|
float | getFloatForKey (const char *pKey, float defaultValue) |
double | getDoubleForKey (const char *pKey) |
| Get double value by key, if the key doesn't exist, a default value will return. More...
|
|
local | getDoubleForKey ( local pKey) |
| Get double value by key, if the key doesn't exist, a default value will return. More...
|
|
double | getDoubleForKey (const char *pKey, double defaultValue) |
std::string | getStringForKey (const char *pKey) |
| Get string value by key, if the key doesn't exist, a default value will return. More...
|
|
var | getStringForKey ( var pKey) |
| Get string value by key, if the key doesn't exist, a default value will return. More...
|
|
local | getStringForKey ( local pKey) |
| Get string value by key, if the key doesn't exist, a default value will return. More...
|
|
std::string | getStringForKey (const char *pKey, const std::string &defaultValue) |
local | getStringForKey ( local pKey, local defaultValue) |
void | setBoolForKey (const char *pKey, bool value) |
| Set bool value by key. More...
|
|
local | setBoolForKey ( local pKey, local value) |
| Set bool value by key. More...
|
|
void | setIntegerForKey (const char *pKey, int value) |
| Set integer value by key. More...
|
|
var | setIntegerForKey ( var pKey, var value) |
| Set integer value by key. More...
|
|
local | setIntegerForKey ( local pKey, local value) |
| Set integer value by key. More...
|
|
void | setFloatForKey (const char *pKey, float value) |
| Set float value by key. More...
|
|
void | setDoubleForKey (const char *pKey, double value) |
| Set double value by key. More...
|
|
void | setStringForKey (const char *pKey, const std::string &value) |
| Set string value by key. More...
|
|
local | setStringForKey ( local pKey, local value) |
| Set string value by key. More...
|
|
void | flush () |
| Save content to xml file. More...
|
|