public Skills(RavenNest.Models.Skills skills) { this.Attack = new SkillStat(nameof(Attack), skills.Attack); this.Defense = new SkillStat(nameof(Defense), skills.Defense); this.Strength = new SkillStat(nameof(Strength), skills.Strength); this.Health = new SkillStat(nameof(Health), skills.Health); this.Woodcutting = new SkillStat(nameof(Woodcutting), skills.Woodcutting); this.Fishing = new SkillStat(nameof(Fishing), skills.Fishing); this.Mining = new SkillStat(nameof(Mining), skills.Mining); this.Crafting = new SkillStat(nameof(Crafting), skills.Crafting); this.Cooking = new SkillStat(nameof(Cooking), skills.Cooking); this.Farming = new SkillStat(nameof(Farming), skills.Farming); this.Magic = new SkillStat(nameof(Magic), skills.Magic); this.Ranged = new SkillStat(nameof(Ranged), skills.Ranged); this.Slayer = new SkillStat(nameof(Slayer), skills.Slayer); }
public Skills(RavenNest.Models.Skills skills) { Attack = new SkillStat(nameof(Attack), skills.AttackLevel, skills.Attack); Defense = new SkillStat(nameof(Defense), skills.DefenseLevel, skills.Defense); Strength = new SkillStat(nameof(Strength), skills.StrengthLevel, skills.Strength); Health = new SkillStat(nameof(Health), skills.HealthLevel, skills.Health); Woodcutting = new SkillStat(nameof(Woodcutting), skills.WoodcuttingLevel, skills.Woodcutting); Fishing = new SkillStat(nameof(Fishing), skills.FishingLevel, skills.Fishing); Mining = new SkillStat(nameof(Mining), skills.MiningLevel, skills.Mining); Crafting = new SkillStat(nameof(Crafting), skills.CraftingLevel, skills.Crafting); Cooking = new SkillStat(nameof(Cooking), skills.CookingLevel, skills.Cooking); Farming = new SkillStat(nameof(Farming), skills.FarmingLevel, skills.Farming); Magic = new SkillStat(nameof(Magic), skills.MagicLevel, skills.Magic); Ranged = new SkillStat(nameof(Ranged), skills.RangedLevel, skills.Ranged); Slayer = new SkillStat(nameof(Slayer), skills.SlayerLevel, skills.Slayer); Sailing = new SkillStat(nameof(Sailing), skills.SailingLevel, skills.Sailing); Healing = new SkillStat(nameof(Healing), skills.HealingLevel, skills.Healing); }