Table of Contents

Class RandoTransition

Namespace
RandomizerCore
Assembly
RandomizerCore.dll
public class RandoTransition : IRandoCouple, IRandoItem, IRandoLocation, ILogicDef, ILocationDependentItem, ILogicItem, ILocationWaypoint
Inheritance
RandoTransition
Implements
Inherited Members

Constructors

RandoTransition(LogicTransition)

public RandoTransition(LogicTransition lt)

Parameters

lt LogicTransition

Fields

lt

public readonly LogicTransition lt

Field Value

LogicTransition

sourcePriority

public float sourcePriority

Field Value

float

sourceSphere

public int sourceSphere

Field Value

int

targetPriority

public float targetPriority

Field Value

float

targetRequired

public bool targetRequired

Field Value

bool

targetSphere

public int targetSphere

Field Value

int

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

Reachable

Property managed by the randomizer for internal tracking.

public TempState Reachable { get; set; }

Property Value

TempState

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

CanGet(ProgressionManager)

public bool CanGet(ProgressionManager pm)

Parameters

pm ProgressionManager

Returns

bool

GetAffectedTerms()

Returns the pm indices potentially modified by the item.

public IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>

GetReachableEffect()

Returns a logic item which applies an effect when the location becomes reachable.

public ILogicItem GetReachableEffect()

Returns

ILogicItem

GetTerms()

public IEnumerable<Term> GetTerms()

Returns

IEnumerable<Term>

Place(ProgressionManager, ILogicDef)

Directly performs the action of the location-dependent item on the pm. This does not invoke pm events, so consumers should invoke the corresponding method on the pm.

public void Place(ProgressionManager pm, ILogicDef location)

Parameters

pm ProgressionManager
location ILogicDef