Table of Contents

Class AllOfEffect

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

Constructors

AllOfEffect(StringItemEffect[])

public AllOfEffect(StringItemEffect[] effects)

Parameters

effects StringItemEffect[]

Methods

AddTo(ProgressionManager)

public override bool AddTo(ProgressionManager pm)

Parameters

pm ProgressionManager

Returns

bool

CheckForEffect(ProgressionManager)

public override bool CheckForEffect(ProgressionManager pm)

Parameters

pm ProgressionManager

Returns

bool

Equals(AllOfEffect?)

public virtual bool Equals(AllOfEffect? other)

Parameters

other AllOfEffect

Returns

bool

GetAffectedTerms()

public override IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>

GetHashCode()

public override int GetHashCode()

Returns

int

ToExpression()

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

public override IExpression<ItemExpressionType> ToExpression()

Returns

IExpression<ItemExpressionType>