mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 11:39:54 +00:00
25 lines
483 B
C#
25 lines
483 B
C#
#pragma warning disable CA1822
|
|
namespace EHR;
|
|
|
|
public class HashRandomWrapper : IRandom
|
|
{
|
|
public int Next(int minValue, int maxValue)
|
|
{
|
|
return HashRandom.Next(minValue, maxValue);
|
|
}
|
|
|
|
public int Next(int maxValue)
|
|
{
|
|
return HashRandom.Next(maxValue);
|
|
}
|
|
|
|
public uint Next()
|
|
{
|
|
return HashRandom.Next();
|
|
}
|
|
|
|
public int FastNext(int maxValue)
|
|
{
|
|
return HashRandom.FastNext(maxValue);
|
|
}
|
|
} |