internal k b() { a0 a = new a0(new string[] { "Vital", "HandlerString", "MinPercent", "MaxPercent", "Stance" }); foreach (KeyValuePair <eRechargeVital_Single, List <uTank2.cRechargeManager.a> > pair in this.b) { foreach (uTank2.cRechargeManager.a a2 in pair.Value) { v v = new v(a); v[0] = k.a((int)pair.Key); if (a2.c != null) { v[1] = k.a(a2.c.FriendlyName); } else { v[1] = k.a(""); } v[2] = k.a(a2.a); v[3] = k.a(a2.b); v[4] = k.a((int)a2.d); a.c(v); } } return(new k(a)); }
public void a(k A_0) { a0 a = A_0.c() as a0; this.a = k.b(a.a(0, k.a("st"))[1]); this.b = k.b(a.a(0, k.a("ret"))[1]); }
public override void a(k A_0) { a0 a = A_0.c() as a0; this.a = k.e(a.a(0, k.a("sid"))[1]); this.b = k.e(a.a(0, k.a("sec"))[1]); }
private void a() { bf bf = new bf(); bf.b(Path.Combine(PluginCore.ci, this.j())); this.c.Clear(); if (!bf.ContainsKey("CondAct")) { a5.a(eChatType.Errors, "Meta file load: DB format invalid."); this.c.Clear(); } else { a0 a = bf["CondAct"]; for (int i = 0; i < a.c(); i++) { fl fl = cl.a((c3)k.e(a.d()[i][0])); b3 b = cl.a((ep)k.e(a.d()[i][1])); if ((b == null) || (fl == null)) { a5.a(eChatType.Errors, "Meta file load: unsupported cond/act type."); this.c.Clear(); return; } fl.h(a.d()[i][2]); b.h(a.d()[i][3]); string key = k.b(a.d()[i][4]); if (!this.c.ContainsKey(key)) { this.c[key] = new List <d8>(); } this.c[key].Add(new d8(fl, b, key)); } } }
public void b(a0 A_0) { this.e.Clear(); foreach (v v in A_0.d()) { this.e.Add(new dl.c(k.e(v[0]), k.e(v[1]))); PluginCore.cq.n.b(k.e(v[0])); } }
public override k a() { a0 a = new a0(new string[] { "K", "V" }); v v = new v(a); v[0] = k.a((int)this.a.f()); v[1] = this.a.i(); a.c(v); return(new k(a)); }
public override void a(k A_0) { a0 a = A_0.c() as a0; if (((a != null) && (a.a() == 2)) && (a.c() == 1)) { v v = a.d()[0]; this.a = cl.a((c3)k.e(v[0])); this.a.h(v[1]); this.a.a(this); } }
public override k j() { a0 a = new a0(new string[] { "k", "v" }); foreach (KeyValuePair <string, k> pair in this.a) { v v = new v(a); v[0] = k.a(pair.Key); v[1] = pair.Value; a.c(v); } return(new k(a)); }
public k d() { a0 a = new a0(new string[] { "K", "V" }); foreach (T local in this.a) { v v = new v(a); v[0] = k.a(cl.GetTypeIDForClass <T>(local)); v[1] = local.i(); a.c(v); } return(new k(a)); }
public k d() { a0 a = new a0(new string[] { "k", "v" }); v v = new v(a); v[0] = k.a("st"); v[1] = k.a(this.a); a.c(v); v = new v(a); v[0] = k.a("ret"); v[1] = k.a(this.b); a.c(v); return(new k(a)); }
public void a(a0 A_0) { A_0.f(); foreach (dl.c c in this.e) { if ((c.b != -1) && (c.b != PluginCore.cq.aw.get_CharacterFilter().get_Id())) { v v = new v(A_0); v[0] = k.a(c.b); v[1] = k.a(c.a); A_0.c(v); } } }
public override k a() { a0 a = new a0(new string[] { "k", "v" }); v v = new v(a); v[0] = k.a("sid"); v[1] = k.a(this.a); a.c(v); v = new v(a); v[0] = k.a("sec"); v[1] = k.a(this.b); a.c(v); return(new k(a)); }
public override void a(k A_0) { this.a(); a0 a = A_0.c() as a0; if ((a != null) && (a.a() >= 2)) { foreach (v v in a.d()) { string str = k.b(v[0]); k k = v[1]; this.a[str] = k; } } }
public void a(k A_0) { this.a.Clear(); a0 a = A_0.c() as a0; if (a != null) { foreach (v v in a.d()) { T item = cl.Create <T>(k.e(v[0])); item.h(v[1]); item.a(this); this.a.Add(item); } } }
public void a(a0 A_0, int A_1) { if (A_1 >= this.a()) { throw new Exception("Invalid column number in MergeShallowOverwrite"); } if (A_1 < 0) { throw new Exception("Invalid column number in MergeShallowOverwrite"); } if (this.b.Count == A_0.b.Count) { bool flag = this.c.ContainsKey(A_1); if (!flag) { this.c(A_1); } foreach (v v in A_0.a) { v v2 = this.a(A_1, v[A_1]); if (v2 != null) { for (int i = 0; i < v2.Count; i++) { if (i != A_1) { v2[i] = v[i]; } } } else { v2 = new v(this); for (int j = 0; j < v2.Count; j++) { v2[j] = v[j]; } this.c(v2); } } if (!flag) { this.d(A_1); } } }
internal void a(k A_0) { this.a(); if (A_0 != null) { a0 a = A_0.c() as a0; if (a != null) { foreach (v v in a.d()) { uTank2.cRechargeManager.a item = new uTank2.cRechargeManager.a { c = this.a(k.b(v[1])), a = k.e(v[2]), b = k.e(v[3]), d = (eRechargeStance)k.e(v[4]) }; this.b[(eRechargeVital_Single)k.e(v[0])].Add(item); } } } }
public void k() { if (!string.IsNullOrEmpty(this.j())) { bf bf = new bf(); a0 a = new a0(new string[] { "CType", "AType", "CData", "AData", "State" }); bf.Add("CondAct", a); foreach (KeyValuePair <string, List <d8> > pair in this.c) { foreach (d8 d in pair.Value) { v v = new v(a); v[0] = k.a((int)d.a.f()); v[1] = k.a((int)d.b.d()); v[2] = d.a.i(); v[3] = d.b.i(); v[4] = k.a(d.c); a.c(v); } } bf.c(Path.Combine(PluginCore.ci, this.j())); } }
var(a0, a1) = ((byte)alpha, (byte)(alpha >> 8));
var(a0, a1) = ((byte)alphaBlock, (byte)(alphaBlock >> 8));