Example #1
0
 public void SortEntries()
 {
     Skillsets.Sort((x, y) => x.SortID - y.SortID);
     SuperSkills.Sort((x, y) => x.SortID - y.SortID);
     UltimateSkills.Sort((x, y) => x.SortID - y.SortID);
     EvasiveSkills.Sort((x, y) => x.SortID - y.SortID);
     BlastSkills.Sort((x, y) => x.SortID - y.SortID);
     AwokenSkills.Sort((x, y) => x.SortID - y.SortID);
 }
Example #2
0
    public bool AddJobSkillSets(int jobID, int skill)
    {
        bool confirmation = false;

        Skillsets skillsetsManager = new Skillsets();

        confirmation = skillsetsManager.AddJobSkill(jobID, skill);

        return(confirmation);
    }
Example #3
0
    public bool UpdateSkillSet(string UpdatedSkillSetDescription, int skillsetid)
    {
        bool confirmation = false;

        Skillsets skillsetManager = new Skillsets();

        confirmation = skillsetManager.UpdateSkillSet(UpdatedSkillSetDescription, skillsetid);

        return(confirmation);
    }
Example #4
0
    public bool AddSkillSet(string SkillSetDescription)
    {
        bool confirmation = false;

        Skillsets skillsetsManager = new Skillsets();

        confirmation = skillsetsManager.AddSkillSet(SkillSetDescription);

        return(confirmation);
    }
Example #5
0
    public Skillset[] GetSkillsets()
    {
        Skillset[] skillsets;

        Skillsets skillsetManager = new Skillsets();

        skillsets = skillsetManager.GetSkillsets();

        return(skillsets);
    }
Example #6
0
    public bool AddUserSkills(int userID, int skillID)
    {
        bool confirmation = false;

        Skillsets skillsetsManager = new Skillsets();

        confirmation = skillsetsManager.AddUserSkill(userID, skillID);

        return(confirmation);
    }
Example #7
0
        public int GetIndexOf(int CharacterID, int CostumeID, int ModelPreset)
        {
            for (int i = 0; i < Skillsets.Count(); i++)
            {
                if (int.Parse(Skillsets[i].I_00) == CharacterID && Skillsets[i].I_04 == CostumeID && Skillsets[i].I_26 == (ushort)ModelPreset)
                {
                    return(i);
                }
            }

            return(-1);
        }
Example #8
0
    public bool DeleteSkillset(string skillID)
    {
        Skillsets skillsetManager = new Skillsets();

        return(skillsetManager.DeleteSkillSet(skillID));
    }