using System; using System.Diagnostics; using System.Runtime.CompilerServices; using UnityEngine.Internal; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x020002DE RID: 734 public static class RemoteSettings { // Token: 0x14000018 RID: 24 // (add) Token: 0x0600305A RID: 12378 RVA: 0x00046A8C File Offset: 0x00044C8C // (remove) Token: 0x0600305B RID: 12379 RVA: 0x00046AC0 File Offset: 0x00044CC0 [field: DebuggerBrowsable(DebuggerBrowsableState.Never)] public static event RemoteSettings.UpdatedEventHandler Updated; // Token: 0x0600305C RID: 12380 RVA: 0x00046AF4 File Offset: 0x00044CF4 [RequiredByNativeCode] public static void CallOnUpdate() { RemoteSettings.UpdatedEventHandler updated = RemoteSettings.Updated; if (updated != null) { updated(); } } // Token: 0x0600305D RID: 12381 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern void ForceUpdate(); // Token: 0x0600305E RID: 12382 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern int GetInt(string key, [DefaultValue("0")] int defaultValue); // Token: 0x0600305F RID: 12383 RVA: 0x00046B14 File Offset: 0x00044D14 [ExcludeFromDocs] public static int GetInt(string key) { int num = 0; return RemoteSettings.GetInt(key, num); } // Token: 0x06003060 RID: 12384 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern float GetFloat(string key, [DefaultValue("0.0F")] float defaultValue); // Token: 0x06003061 RID: 12385 RVA: 0x00046B34 File Offset: 0x00044D34 [ExcludeFromDocs] public static float GetFloat(string key) { float num = 0f; return RemoteSettings.GetFloat(key, num); } // Token: 0x06003062 RID: 12386 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern string GetString(string key, [DefaultValue("\"\"")] string defaultValue); // Token: 0x06003063 RID: 12387 RVA: 0x00046B58 File Offset: 0x00044D58 [ExcludeFromDocs] public static string GetString(string key) { string text = ""; return RemoteSettings.GetString(key, text); } // Token: 0x06003064 RID: 12388 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern bool GetBool(string key, [DefaultValue("false")] bool defaultValue); // Token: 0x06003065 RID: 12389 RVA: 0x00046B7C File Offset: 0x00044D7C [ExcludeFromDocs] public static bool GetBool(string key) { bool flag = false; return RemoteSettings.GetBool(key, flag); } // Token: 0x06003066 RID: 12390 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern bool HasKey(string key); // Token: 0x06003067 RID: 12391 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern int GetCount(); // Token: 0x06003068 RID: 12392 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public static extern string[] GetKeys(); // Token: 0x020002DF RID: 735 // (Invoke) Token: 0x0600306A RID: 12394 public delegate void UpdatedEventHandler(); } }