Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatSave"/> class.
 /// </summary>
 /// <param name="statType">Type of the stat.</param>
 /// <param name="type">The type.</param>
 /// <param name="mod">The mod.</param>
 /// <param name="max">The maximum.</param>
 public StatSave(StatTypeSave statType, Type type, int mod, int max) : base(type) {
     this.StatType = statType;
     this.Mod = mod;
     this.Max = max;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EquipmentStatSave"/> class.
 /// </summary>
 /// <param name="statType">Type of the stat.</param>
 /// <param name="value">The value.</param>
 public EquipmentStatSave(StatTypeSave statType, int value) {
     this.StatType = statType;
     this.Bonus = value;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatBonusSave"/> class.
 /// </summary>
 /// <param name="statType">Type of the stat.</param>
 /// <param name="value">The value.</param>
 public StatBonusSave(StatTypeSave statType, int value)
 {
     this.StatType = statType;
     this.Bonus    = value;
 }