Пример #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="character"></param>
 public Plan(BaseCharacter character)
     : base(character)
 {
     SortingPreferences = new PlanSorting();
     m_invalidEntries   = new InvalidPlanEntry[0];
 }
Пример #2
0
 /// <summary>
 /// Deserialization constructor.
 /// </summary>
 /// <param name="character"></param>
 /// <param name="serial"></param>
 public Plan(BaseCharacter character, SerializablePlan serial)
     : this(character)
 {
     Import(serial);
 }
Пример #3
0
 /// <summary>
 /// Updates the <see cref="OldTrainingTime"/> statistic.
 /// </summary>
 /// <param name="character"></param>
 internal void UpdateOldTrainingTime(BaseCharacter character)
 {
     OldTrainingTime = character.GetTrainingTime(m_skill, m_level);
 }