Example #1
0
        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;
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
 public WarAbility(AbilitySpecFile file, int index, int no) : base(file, index, no)
 {
 }
Example #5
0
 public XiaoGuoAbility(AbilitySpecFile file, int index, int no) : base(file, index, no)
 {
 }
Example #6
0
 public PersonAbility(AbilitySpecFile file, int index, int no) : base(file, index, no)
 {
 }
Example #7
0
 public GundamAbility(AbilitySpecFile file, int index, int no) : base(file, index, no)
 {
 }
Example #8
0
 public OPInfo(AbilitySpecFile file, int index, int no) : base(file, index, no)
 {
 }