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