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