public void b(d8 A_0) { if (ff.a(PluginCore.cq.ax, new Version(1, 0, 0, 0x2d))) { this.a(A_0); } }
public void c(d8 A_0) { if (!this.c.ContainsKey(A_0.c)) { this.c[A_0.c] = new List <d8>(); } this.c[A_0.c].Add(A_0); }
private void e() { if (this.f != null) { this.f.Dispose(); this.f = null; } this.e = false; this.g = null; this.j = null; this.i = null; }
private void a(d8 A_0) { fl a = A_0.a; b3 b = A_0.b; this.g = A_0; this.e = true; this.f = new HudView("Virindi Tank Edit Meta Rule", 0x264, 0x1a2, new ACImage()); this.f.set_UserMinimizable(false); this.f.set_UserGhostable(false); this.f.LoadUserSettings(); this.h = new HudFixedLayout(); this.f.get_Controls().set_HeadControl(this.h); HudButton button = new HudButton(); this.h.AddControl(button, new Rectangle(4, 0x18e, 0x40, 0x10)); button.set_Text("Close"); this.l = new HudCombo(this.f.get_Controls()); this.m = new HudCombo(this.f.get_Controls()); this.h.AddControl(this.l, new Rectangle(4, 4, 300, 0x10)); this.h.AddControl(this.m, new Rectangle(0x134, 4, 300, 0x10)); this.b(); this.k = new HudCombo(this.f.get_Controls()); this.h.AddControl(this.k, new Rectangle(4, 0x18, 0x94, 0x10)); this.k.add_Change(new EventHandler(this.e)); this.a(); HudButton button2 = new HudButton(); this.h.AddControl(button2, new Rectangle(0x9c, 0x18, 0x94, 0x10)); button2.set_Text("New State..."); button2.add_Hit(new EventHandler(this.d)); this.h.AddControl(this.d(), new Rectangle(3, 0x2b, 1, 0x161)); this.h.AddControl(this.c(), new Rectangle(4, 0x2b, 0x12d, 1)); this.h.AddControl(this.c(), new Rectangle(4, 0x18b, 0x12d, 1)); this.h.AddControl(this.d(), new Rectangle(0x131, 0x2b, 1, 0x161)); this.h.AddControl(this.d(), new Rectangle(0x261, 0x2b, 1, 0x161)); this.h.AddControl(this.d(), new Rectangle(0x133, 0x2b, 1, 0x161)); this.h.AddControl(this.c(), new Rectangle(0x134, 0x2b, 0x12d, 1)); this.h.AddControl(this.c(), new Rectangle(0x134, 0x18b, 0x12d, 1)); this.i = new HudFixedLayout(); this.j = new HudFixedLayout(); this.h.AddControl(this.i, new Rectangle(4, 0x2c, 300, 350)); this.h.AddControl(this.j, new Rectangle(0x134, 0x2c, 300, 350)); a.j(this.i); b.j(this.j); button.add_Hit(new EventHandler(this.a)); this.l.add_Change(new EventHandler(this.c)); this.m.add_Change(new EventHandler(this.b)); this.f.set_Visible(true); }
public void a(d8 A_0, string A_1) { if (this.c.ContainsKey(A_0.c)) { this.c[A_0.c].Remove(A_0); if (this.c[A_0.c].Count == 0) { this.c.Remove(A_0.c); } A_0.c = A_1; this.c(A_0); if (this.d.ContainsKey(A_0)) { this.d.Remove(A_0); } } }
public void a(d8 A_0) { if (this.c.ContainsKey(A_0.c)) { List <d8> list = this.c[A_0.c]; int index = list.IndexOf(A_0); if (index >= 0) { list.Remove(A_0); index++; if (index > list.Count) { index = list.Count; } list.Insert(index, A_0); } } }
public void d(d8 A_0) { if (this.c.ContainsKey(A_0.c)) { this.c[A_0.c].Remove(A_0); if (this.c[A_0.c].Count == 0) { this.c.Remove(A_0.c); } SortedDictionary <string, int> dictionary = this.g(); dictionary["Default"] = 0x270f; if (!dictionary.ContainsKey(this.f)) { a5.a(eChatType.CommandLine, "Deleted the last rule that referenced state \"" + this.f + "\". Changing current state to Default."); this.a("Default"); } } }
public void b(d8 A_0) { if (this.c.ContainsKey(A_0.c)) { List <d8> list = this.c[A_0.c]; int index = list.IndexOf(A_0); if (index >= 0) { list.Remove(A_0); index--; if (index < 0) { index = 0; } list.Insert(index, A_0); } } }