Table of Contents

Class StringItemEffect

Namespace
RandomizerCore.StringItems
Assembly
RandomizerCore.dll
public abstract record StringItemEffect : IEquatable<StringItemEffect>
Inheritance
StringItemEffect
Implements
Derived
Inherited Members

Methods

AddTo(ProgressionManager)

public abstract bool AddTo(ProgressionManager pm)

Parameters

pm ProgressionManager

Returns

bool

CheckForEffect(ProgressionManager)

public abstract bool CheckForEffect(ProgressionManager pm)

Parameters

pm ProgressionManager

Returns

bool

GetAffectedTerms()

public abstract IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>

ToEffectString()

Converts the effect to an effect string. By default, this prints the result of ToExpression(), and may differ from EffectString.

public virtual string ToEffectString()

Returns

string

ToExpression()

Converts the effect to an expression tree, with standardized formatting. May differ from the expression implied by EffectString.

public abstract IExpression<ItemExpressionType> ToExpression()

Returns

IExpression<ItemExpressionType>