public void SetSkillLevel(USkill uSkill, byte value) { GetSkill(uSkill).level = value; var skills = player.Player.skills; skills.askSkills(player.CSteamID); }
public byte GetSkillLevel(USkill uSkill) { return(GetSkill(uSkill).level); }
//Not needed. public Skill GetSkill(USkill uSkill) { var skills = player.Player.skills; return(skills.skills[uSkill.SpecialityIndex][uSkill.SkillIndex]); }