예제 #1
0
 public void ResetMainProperties()
 {
     if (Item != null)
     {
         mainProperties = Item.MainPropertie;
     }
 }
예제 #2
0
 public EquipmentStack(EquipmentStack itemStackToCopy) : this()
 {
     if (itemStackToCopy != null)
     {
         this.equipmentMainProperties = itemStackToCopy.equipmentMainProperties;
         this.equipmentStats          = itemStackToCopy.equipmentStats;
         this.count = itemStackToCopy.count;
     }
 }
예제 #3
0
 public EquipmentStack(Equipment item, int count = 1)
 {
     this.equipmentMainProperties = item.MainPropertie;
     this.equipmentStats          = item.Stats;
     this.count = count;
 }
예제 #4
0
 public EquipmentStack(Item.MainProperties equipmentMainProperties, EquipmentStats equipmentStats, int count = 1)
 {
     this.equipmentMainProperties = equipmentMainProperties;
     this.equipmentStats          = equipmentStats;
     this.count = count;
 }