public ModelData Load(ModelConfig config) { return(new ModelData { Collections = collectionLoader.Load(config.Collections), Parts = partLoader.Load(config.Parts), Cash = wrapper.GetInt(CashKey), ItemsSold = wrapper.GetInt(ItemsSoldKey), ItemsCreated = wrapper.GetInt(ItemsCreatedKey) }); }