/// <summary> /// Constructor from the skill id with activity. /// </summary> /// <param name="id"></param> /// <param name="level"></param> /// <param name="activityId"></param> public StaticSkillLevel(int id, int level, int activityId) : this() { this.Skill = StaticSkills.GetSkillById(id); this.Level = level; this.Activity = (BlueprintActivity)Enum.ToObject(typeof(BlueprintActivity), activityId); }
/// <summary> /// Constructor from the skill name /// </summary> /// <param name="skillName"></param> /// <param name="level"></param> public StaticSkillLevel(int id, int level) : this() { this.Skill = StaticSkills.GetSkillById(id); this.Level = level; }