OpenCS2hock/OpenCS2hock/ConfiguredInteger.cs
2024-01-14 02:12:45 +01:00

17 lines
309 B
C#

namespace OpenCS2hock;
internal class ConfiguredInteger
{
private readonly int _min, _max;
internal ConfiguredInteger(int min = 0, int max = 50)
{
this._min = min;
this._max = max;
}
internal int GetValue()
{
return Random.Shared.Next(_min, _max);
}
}