public void readCUS(string cusPath) { charSkillSet[] css = new charSkillSet[1]; skill[] Super = new skill[1]; skill[] Ultimate = new skill[1]; skill[] Evasive = new skill[1]; skill[] blast = new skill[1]; skill[] Awaken = new skill[1]; CUS.Read(cusPath, ref css, ref Super, ref Ultimate, ref Evasive, ref Awaken, ref blast); this.css.AddRange((IEnumerable <charSkillSet>)css); this.Super.AddRange((IEnumerable <skill>)Super); this.Ultimate.AddRange((IEnumerable <skill>)Ultimate); this.Evasive.AddRange((IEnumerable <skill>)Evasive); this.blast.AddRange((IEnumerable <skill>)blast); this.Awaken.AddRange((IEnumerable <skill>)Awaken); }
public void writeCUS(string cusPath) { charSkillSet[] charSkillSetArray = new charSkillSet[1]; skill[] skillArray1 = new skill[1]; skill[] skillArray2 = new skill[1]; skill[] skillArray3 = new skill[1]; skill[] skillArray4 = new skill[1]; skill[] skillArray5 = new skill[1]; charSkillSet[] array1 = this.css.ToArray(); skill[] array2 = this.Super.ToArray(); skill[] array3 = this.Ultimate.ToArray(); skill[] array4 = this.Evasive.ToArray(); skill[] array5 = this.blast.ToArray(); skill[] array6 = this.Awaken.ToArray(); CUS.Write(cusPath, ref array1, ref array2, ref array3, ref array4, ref array6, ref array5); }