// Token: 0x0600001E RID: 30 RVA: 0x000033C4 File Offset: 0x000015C4 public static void smethod_4(object[] object_0) { List <GClass2> list = new List <GClass2>(); int num = 0; int num2 = object_0.Length - 1; for (int i = num; i <= num2; i += 5) { GClass2 gclass = new GClass2(); gclass.guid_0 = (Guid)object_0[i]; gclass.dateTime_0 = (DateTime)object_0[i + 1]; gclass.string_0 = (string)object_0[i + 2]; gclass.bool_0 = (bool)object_0[i + 3]; gclass.byte_0 = (byte[])object_0[i + 4]; gclass.byte_1 = Class27.smethod_2(gclass.byte_0); Class8.list_2.Add(gclass); list.Add(gclass); if (gclass.bool_0) { Class5.bool_1 = true; } } if (Class5.bool_1) { Class8.smethod_7(); } if (Class5.bool_0) { Class8.smethod_41(); return; } Class8.smethod_87("Loading plugins.."); try { foreach (GClass2 gclass2 in list) { Class23.smethod_0(gclass2.byte_0, gclass2); } } finally { List <GClass2> .Enumerator enumerator; ((IDisposable)enumerator).Dispose(); } Class8.smethod_88(Class8.client_0, true, CommandType.PluginCommand, 3, new object[0]); }
// Token: 0x06000152 RID: 338 RVA: 0x00002B38 File Offset: 0x00000D38 public void Restart() { Class8.smethod_41(); }
// Token: 0x0600001D RID: 29 RVA: 0x00003198 File Offset: 0x00001398 public static void smethod_3(object[] object_0) { try { List <object> list = new List <object>(); List <Guid> list2 = new List <Guid>(); int num = 0; int num2 = object_0.Length - 1; for (int i = num; i <= num2; i += 3) { Guid guid = (Guid)object_0[i]; byte[] byte_ = (byte[])object_0[i + 1]; bool flag = (bool)object_0[i + 2]; list2.Add(guid); GClass2 gclass = Class23.smethod_1(guid); if (gclass == null) { list.Add(guid); } else { if (gclass.bool_0 != flag) { gclass.bool_0 = flag; Class5.bool_1 = true; } if (!Class26.smethod_5(gclass.byte_1, byte_)) { list.Add(guid); Class5.bool_0 = true; Class8.smethod_87(string.Format("Plugin [{0}] requires an update.", guid)); } } } Class8.smethod_5(list2.ToArray()); try { foreach (GClass2 gclass2 in Class8.list_2) { if (!list2.Contains(gclass2.guid_0)) { Class5.bool_0 = true; Class8.smethod_87(string.Format("Plugin [{0}] is being uninstalled.", gclass2.guid_0)); if (gclass2.bool_0) { Class5.bool_1 = true; } if (gclass2.gclass3_0 != null) { try { gclass2.gclass3_0.method_8(); } catch (Exception exception_) { Class8.smethod_85(gclass2.gclass3_0, exception_, "PluginUninstalling"); } } } } } finally { List <GClass2> .Enumerator enumerator; ((IDisposable)enumerator).Dispose(); } if (list.Count == 0 && Class5.bool_0) { if (Class5.bool_1) { Class8.smethod_7(); } Class8.smethod_41(); } else { Class8.smethod_88(Class8.client_0, true, CommandType.PluginCommand, 2, list.ToArray()); } } catch (Exception exception_2) { Class8.smethod_86(exception_2, "HandlePluginDetailsCommand"); } }