Table of Contents

Class LogicItem

Namespace
RandomizerCore
Assembly
RandomizerCore.dll
public abstract record LogicItem : ILogicItem, ILogicItemTemplate, IEquatable<LogicItem>
Inheritance
LogicItem
Implements
Derived
Inherited Members

Constructors

LogicItem(string)

protected LogicItem(string Name)

Parameters

Name string

Properties

Name

public string Name { get; init; }

Property Value

string

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 abstract void AddTo(ProgressionManager pm)

Parameters

pm ProgressionManager

GetAffectedTerms()

Returns the terms potentially modified by the item.

public abstract IEnumerable<Term> GetAffectedTerms()

Returns

IEnumerable<Term>