Class RandomizationGroup
- Namespace
- RandomizerCore.Randomization
- Assembly
- RandomizerCore.dll
A group of Items and Locations matched in length, for the randomizer to output in RandoPlacement pairs.
public class RandomizationGroup
- Inheritance
-
RandomizationGroup
- Derived
- Inherited Members
Fields
Items
public IRandoItem[] Items
Field Value
Label
public string Label
Field Value
Locations
public IRandoLocation[] Locations
Field Value
Strategy
public GroupPlacementStrategy Strategy
Field Value
Validator
public Validator Validator
Field Value
Methods
InvokeOnPermute(Random)
public void InvokeOnPermute(Random rng)
Parameters
rng
Random
OnNewAttempt()
Called on each new attempt of the randomizer.
public virtual void OnNewAttempt()
Events
OnPermute
An event invoked after the items and locations of the group are permuted and have their priorities set.
It is expected that the subscriber may modify the priorities of entries, and the arrays are resorted after the event is invoked.
public event Action<Random, RandomizationGroup>? OnPermute