namespace ODMO.Commons.Models.Config
{
public sealed partial class ItemDropConfigModel
{
///
/// Updates the config name.
///
/// New name
public void SetName(string name) => Name = name;
///
/// Updates the config item id.
///
/// New item id
public void SetItemId(int itemId) => ItemId = itemId;
///
/// Updates the min drop quantity.
///
/// The new amount
public void SetMinAmount(int amount) => MinAmount = amount;
///
/// Updates the max drop quantity.
///
/// The new amount
public void SetMaxAmount(int amount) => MaxAmount = amount;
///
/// Updates the drop chance.
///
/// The new drop chance
public void SetChance(double chance) => Chance = chance;
}
}