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
Fields
lt
public readonly LogicTransition lt
Field Value
sourcePriority
public float sourcePriority
Field Value
sourceSphere
public int sourceSphere
Field Value
targetPriority
public float targetPriority
Field Value
targetRequired
public bool targetRequired
Field Value
targetSphere
public int targetSphere
Field Value
Properties
Name
public string Name { get; }
Property Value
Placed
Property managed by the randomizer for internal tracking.
public TempState Placed { get; set; }
Property Value
Reachable
Property managed by the randomizer for internal tracking.
public TempState Reachable { get; set; }
Property Value
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
CanGet(ProgressionManager)
public bool CanGet(ProgressionManager pm)
Parameters
Returns
GetAffectedTerms()
Returns the pm indices potentially modified by the item.
public IEnumerable<Term> GetAffectedTerms()
Returns
GetReachableEffect()
Returns a logic item which applies an effect when the location becomes reachable.
public ILogicItem GetReachableEffect()
Returns
GetTerms()
public IEnumerable<Term> GetTerms()
Returns
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
ProgressionManagerlocation
ILogicDef