// Token: 0x0600001B RID: 27 RVA: 0x000030EC File Offset: 0x000012EC public static void smethod_1(object[] object_0) { Class5.bool_1 = false; Class8.int_1 = 0; if (Class8.queue_0.Count != 0) { Class20.smethod_7(Class8.queue_0.Dequeue()); } byte[] byte_ = (byte[])object_0[0]; bool bool_ = Class8.byte_1 == null || !Class26.smethod_5(Class8.byte_0, byte_); Class5.smethod_5(bool_); }
// 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"); } }