Table of Contents

Class RandoItem

Namespace
RandomizerCore
Assembly
RandomizerCore.dll
public class RandoItem : IRandoItem, ILogicItem
Inheritance
RandoItem
Implements
Inherited Members

Fields

item

public LogicItem item

Field Value

LogicItem

Properties

Name

public string Name { get; }

Property Value

string

Placed

Property managed by the randomizer for internal tracking.

public TempState Placed { get; set; }

Property Value

TempState

Priority

Property managed by the randomizer and certain events. Lower priorities are placed first.

public float Priority { get; set; }

Property Value

float

Required

Property managed by the randomizer. Set true if the item is not placed in the last sphere.

public bool Required { get; set; }

Property Value

bool

Sphere

Property managed by the randomizer. Set to the index of the sphere in which the item is placed.

public int Sphere { get; set; }

Property Value

int

Methods

AddTo(ProgressionManager)

Directly adds the item to the pm. This does not invoke the pm events, so it is best to implement this explicitly and use pm.Add instead.

public void AddTo(ProgressionManager pm)

Parameters

pm ProgressionManager

GetAffectedTerms()

Returns the pm indices potentially modified by the item.

public IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>

ToString()

public override string ToString()

Returns

string