private void reload() { file = new AbilitySpecFile(); abilitys = file.ListAbilitys(); xiaoguos = file.ListXiaoGuo(); tsmiFile.Text = file.FileName; cboSkill.DataSource = xiaoguos; cboSkill.ValueMember = "SkillId"; lsAbility.DataSource = abilitys; }
public static List <KeyValuePair <string, string> > ListPeopleSkill() { List <KeyValuePair <string, string> > prop = new List <KeyValuePair <string, string> >(); IList <string> list = new AbilitySpecFile().ListPersonAbilitys(); prop.Add(new KeyValuePair <string, string>("-1", "-1:无")); for (int i = 0; i < list.Count; i++) { prop.Add(new KeyValuePair <string, string>(i.ToString(), i + ":" + list[i])); } prop.AddRange(peopleSkillExt); return(prop); }
public static List <KeyValuePair <string, string> > ListGundamAbility() { List <KeyValuePair <string, string> > prop = new List <KeyValuePair <string, string> >(); IList <string> list = new AbilitySpecFile().ListMachineAbilitys(); prop.Add(new KeyValuePair <string, string>("-1", "-1:无")); for (int i = 0; i < list.Count; i++) { prop.Add(new KeyValuePair <string, string>(i.ToString(), i + ":" + list[i])); } prop.AddRange(machineAbilityExt); return(prop); }
public WarAbility(AbilitySpecFile file, int index, int no) : base(file, index, no) { }
public XiaoGuoAbility(AbilitySpecFile file, int index, int no) : base(file, index, no) { }
public PersonAbility(AbilitySpecFile file, int index, int no) : base(file, index, no) { }
public GundamAbility(AbilitySpecFile file, int index, int no) : base(file, index, no) { }
public OPInfo(AbilitySpecFile file, int index, int no) : base(file, index, no) { }