Class to handle the default playerdata that is used when a player isn't logged in.
More...
|
| DefaultData () |
|
override void | DeletePlayerData () |
|
| ProfileData (string userName) |
|
virtual void | Clear () |
| Clear all values and keys More...
|
|
void | SetInt (string key, int value) |
| Set value at indicated key More...
|
|
void | SetBool (string key, bool value) |
| Set value at indicated key More...
|
|
void | SetString (string key, string value) |
| Set value at indicated key More...
|
|
void | SetFloat (string key, float value) |
| Set value at indicated key More...
|
|
void | SetDouble (string key, double value) |
| Set value at indicated key More...
|
|
void | SetJsonValue (string key, JsonValue value) |
| Set value at indicated key More...
|
|
void | SetJsonArray (string key, JsonArray value) |
| Set value at indicated key More...
|
|
int | GetInt (string key, int defaultReturn=0) |
| Get value associated with indicated key More...
|
|
bool | GetBool (string key, bool defaultReturn=false) |
| Get value associated with indicated key More...
|
|
float | GetFloat (string key, float defaultReturn=0f) |
| Get value associated with indicated key More...
|
|
double | GetDouble (string key, double defaultReturn=0.0) |
| Get value associated with indicated key More...
|
|
string | GetString (string key, string defaultReturn="") |
| Get value associated with indicated key More...
|
|
JsonValue | GetJsonValue (string key, JsonValue defaultReturn=default(JsonValue)) |
| Get value associated with indicated key More...
|
|
JsonArray | GetJsonArray (string key, JsonArray defaultReturn=default(JsonArray)) |
| Get value associated with indicated key More...
|
|
bool | HasKey (string key) |
| Get if any value is associated with indicated key More...
|
|
void | RemoveKey (string key) |
| Remove any value is associated with indicated key More...
|
|
void | Serialize () |
| Save contents to file More...
|
|
bool | Deserialize () |
| Load user contents from file More...
|
|
Class to handle the default playerdata that is used when a player isn't logged in.
Definition at line 9 of file DefaultData.cs.