Beispiel #1
0
 public static float GetFloat(string key, float defaultReturn             = 0f) => ProfileData.GetFloat(key, defaultReturn);
Beispiel #2
0
 public static double GetDouble(string key, double defaultReturn          = 0.0) => ProfileData.GetDouble(key, defaultReturn);
Beispiel #3
0
 public static bool GetBool(string key, bool defaultReturn                = false) => ProfileData.GetBool(key, defaultReturn);
Beispiel #4
0
 public static string GetString(string key, string defaultReturn          = "") => ProfileData.GetString(key, defaultReturn);
Beispiel #5
0
 public static void SetJsonArray(string key, JsonArray value) => ProfileData.SetJsonArray(key, value);
Beispiel #6
0
 public static int GetInt(string key, int defaultReturn                   = 0) => ProfileData.GetInt(key, defaultReturn);
Beispiel #7
0
 public static void SetDouble(string key, double value) => ProfileData.SetDouble(key, value);
Beispiel #8
0
 public static bool HasKey(string key) => ProfileData.HasKey(key);
Beispiel #9
0
 public static void SetString(string key, string value) => ProfileData.SetString(key, value);
Beispiel #10
0
 public static void SetFloat(string key, float value) => ProfileData.SetFloat(key, value);
Beispiel #11
0
 public static void SetBool(string key, bool value) => ProfileData.SetBool(key, value);
Beispiel #12
0
 public static void SetInt(string key, int value) => ProfileData.SetInt(key, value);
Beispiel #13
0
 public static void RemoveKey(string key) => ProfileData.RemoveKey(key);
Beispiel #14
0
 public static JsonValue GetJsonValue(string key, JsonValue defaultReturn = default(JsonValue)) => ProfileData.GetJsonValue(key, defaultReturn);
Beispiel #15
0
 public static void SetJsonValue(string key, JsonValue value) => ProfileData.SetJsonValue(key, value);
Beispiel #16
0
 public static JsonArray GetJsonArray(string key, JsonArray defaultReturn = default(JsonArray)) => ProfileData.GetJsonArray(key, defaultReturn);
Beispiel #17
0
 /// <summary> Serialize the current user's data </summary>
 public static void Save() => ProfileData.Serialize();