Exemple #1
0
 /// <summary>
 /// Constructor from the skill id.
 /// </summary>
 /// <param name="id"></param>
 /// <param name="level"></param>
 public StaticSkillLevel(long id, long level)
 {
     Skill = StaticSkills.GetSkillByID(id) ?? StaticSkill.UnknownStaticSkill;
     Level = level;
 }
Exemple #2
0
 /// <summary>
 /// Constructor from the skill id with activity.
 /// </summary>
 /// <param name="id"></param>
 /// <param name="level"></param>
 /// <param name="activityId"></param>
 public StaticSkillLevel(long id, long level, int activityId)
 {
     Skill    = StaticSkills.GetSkillByID(id) ?? StaticSkill.UnknownStaticSkill;
     Level    = level;
     Activity = (BlueprintActivity)Enum.ToObject(typeof(BlueprintActivity), activityId);
 }
Exemple #3
0
 /// <summary>
 /// Constructor from the skill id.
 /// </summary>
 /// <param name="id"></param>
 /// <param name="level"></param>
 public StaticSkillLevel(Int64 id, Int64 level)
 {
     Skill = StaticSkills.GetSkillByID(id) ?? StaticSkill.UnknownStaticSkill;
     Level = level;
 }