Skip to content

+EA 23.286 Nightly - Plugin.BaseCore

March 16, 2026

1 file modified.

Important Changes

None.

Rand

public static class Rand

cs
{
	public static int MaxBytes = 1111;

	public static int baseSeed = -1; 
	public static Random _random = new Random();

	public static byte[] bytes;

public static int rndSeed(int a, int seed)

cs
		return result;
	}

	public static void SetBaseSeed(int a = -1) 
	{ 
		baseSeed = a; 
	} 
	public static void SetSeed(int a = -1)
	{
		_random = ((a == -1) ? new Random() : new Random(a)); 
		_random = ((a != -1) ? new Random(a) : ((baseSeed == -1) ? new Random() : new Random(baseSeed))); 
	}

	public static int Range(int min, int max)