public eDamageElement b(an A_0) { foreach (eDamageElement element in this) { if (A_0.Contains(element)) { return(element); } } return(eDamageElement.None); }
public static an a(string A_0) { string[] strArray = A_0.Split(new char[] { ';' }); an an = new an(); foreach (string str in strArray) { an.Add((eDamageElement)Convert.ToInt32(str)); } return(an); }
public static string a(an A_0) { StringBuilder builder = new StringBuilder(); int num = 0; foreach (eDamageElement element in A_0) { num++; builder.Append((int)element); if (num < A_0.Count) { builder.Append(';'); } } return(builder.ToString()); }
public an c(string A_0) { an an = new an(); if (this.b) { v v = this.c["MonsterDamageOverrides"].a(0, k.a(A_0)); if (v != null) { return(an.a(k.b(v[1]))); } v = this.c["SpeciesMembers"].a(0, k.a(A_0)); if (v != null) { v v2 = this.c["SpeciesDamages"].a(0, v[1]); if (v2 != null) { return(an.a(k.b(v2[1]))); } } } return(an); }