|
cocos2d-x
3.3
|
Functions | |
| void CC_DLL | localStorageInit (const std::string &fullpath="") |
| Initializes the database. More... | |
| void CC_DLL | localStorageFree () |
| Frees the allocated resources. More... | |
| void CC_DLL | localStorageSetItem (const std::string &key, const std::string &value) |
| sets an item in the LS More... | |
| std::string CC_DLL | localStorageGetItem (const std::string &key) |
| gets an item from the LS More... | |
| void CC_DLL | localStorageRemoveItem (const std::string &key) |
| removes an item from the LS More... | |
| void CC_DLL localStorageFree | ( | ) |
Frees the allocated resources.
| std::string CC_DLL localStorageGetItem | ( | const std::string & | key | ) |
gets an item from the LS
| void CC_DLL localStorageInit | ( | const std::string & | fullpath = "" | ) |
Initializes the database.
If path is null, it will create an in-memory DB
| void CC_DLL localStorageRemoveItem | ( | const std::string & | key | ) |
removes an item from the LS
| void CC_DLL localStorageSetItem | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
sets an item in the LS