// Token: 0x06000993 RID: 2451 RVA: 0x00029B14 File Offset: 0x00027D14
 private void Awake()
 {
     Console.instance = this;
     Console.SetupSystemConsole();
     this.InitConVars();
     foreach (SearchableAttribute searchableAttribute in SearchableAttribute.GetInstances <ConCommandAttribute>())
     {
         ConCommandAttribute conCommandAttribute = (ConCommandAttribute)searchableAttribute;
         this.concommandCatalog[conCommandAttribute.commandName.ToLower(CultureInfo.InvariantCulture)] = new Console.ConCommand
         {
             flags    = conCommandAttribute.flags,
             action   = (Console.ConCommandDelegate)Delegate.CreateDelegate(typeof(Console.ConCommandDelegate), conCommandAttribute.target as MethodInfo),
             helpText = conCommandAttribute.helpText
         };
     }
     string[] commandLineArgs = Environment.GetCommandLineArgs();
     for (int i = 0; i < commandLineArgs.Length; i++)
     {
         Debug.LogFormat("arg[{0}]=\"{1}\"", new object[]
         {
             i,
             commandLineArgs[i]
         });
     }
     MPEventSystemManager.availability.CallWhenAvailable(new Action(this.LoadStartupConfigs));
 }
 // Token: 0x06001921 RID: 6433 RVA: 0x0006C4C8 File Offset: 0x0006A6C8
 static SearchableAttribute()
 {
     try
     {
         SearchableAttribute.Scan();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
        // Token: 0x06001920 RID: 6432 RVA: 0x0006C39C File Offset: 0x0006A59C
        private static void Scan()
        {
            IEnumerable <Type> enumerable = SearchableAttribute.GetScannableAssemblies().SelectMany((Assembly a) => a.GetTypes());

            SearchableAttribute.< > c__DisplayClass7_0 CS$ < > 8__locals1;
            CS$ < > 8__locals1.allInstancesList = new List <SearchableAttribute>();
            CS$ < > 8__locals1.memoizedInput    = null;
            CS$ < > 8__locals1.memoizedOutput   = null;
            foreach (Type type in enumerable)
            {
                foreach (SearchableAttribute attribute in type.GetCustomAttributes(false))
                {
                    SearchableAttribute.< Scan > g__Register | 7_2 (attribute, type, ref CS$ < > 8__locals1);
                }
                foreach (MemberInfo memberInfo in type.GetMembers(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
                {
                    foreach (SearchableAttribute attribute2 in memberInfo.GetCustomAttributes(false))
                    {
                        SearchableAttribute.< Scan > g__Register | 7_2 (attribute2, memberInfo, ref CS$ < > 8__locals1);
                    }
                }
            }
        }