Class ControlledRandom
A wrapper to the game's obfuscated ControlledRandom static class
Inheritance
System.Object
ControlledRandom
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LLBML.Utils
Assembly: LLBModdingLib.dll
Syntax
public static class ControlledRandom
Methods
Get(Int32, Int32, Int32)
Declaration
public static int Get(int index, int min, int max)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | |
| System.Int32 | min | |
| System.Int32 | max |
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetF(Int32)
Declaration
public static Floatf GetF(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Returns
| Type | Description |
|---|---|
| Floatf |
GetF(Int32, Floatf, Floatf)
Declaration
public static Floatf GetF(int index, Floatf min, Floatf max)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | |
| Floatf | min | |
| Floatf | max |
Returns
| Type | Description |
|---|---|
| Floatf |
GetState()
Declaration
public static string GetState()
Returns
| Type | Description |
|---|---|
| System.String |
SetFrame(Int32)
Declaration
public static void SetFrame(int frame)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | frame |
SetSeed(UInt32)
Declaration
public static void SetSeed(uint seed)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | seed |