Exemple #1
0
 public override Dictionary <uint, Property> Save()
 {
     UnitBinDrawSlots.ToList().ForEach(b => b.ForEach(bd => bd.Slot.Value = b.IndexOf(bd)));
     return(base.Save());
 }
Exemple #2
0
 public override void Load(Dictionary <uint, Property> properties)
 {
     base.Load(properties);
     UnitBinDrawSlots.ToList().ForEach(b => b.ForEach(bd => bd.Index = UnitBinDrawSlots.ToList().IndexOf(b)));
 }