Table of Contents

Struct ConditionCompatibility.UnavailableTarget

Namespace
ElectricDrill.AstraRpgFramework.Conditions
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

Describes one configured ConditionTarget that is unavailable in a specific evaluation context.

public readonly struct ConditionCompatibility.UnavailableTarget

Constructors

UnavailableTarget(Condition, string, ConditionTarget)

Creates a new unavailable-target diagnostic.

public UnavailableTarget(Condition condition, string fieldName, ConditionTarget target)

Parameters

condition Condition

Condition instance that owns the field.

fieldName string

Field name that stores the target.

target ConditionTarget

Unavailable target value.

Properties

Condition

The condition instance that owns the unavailable target field.

public Condition Condition { get; }

Property Value

Condition

FieldName

The serialized or reflected field name that stores the target.

public string FieldName { get; }

Property Value

string

Target

The unavailable target value.

public ConditionTarget Target { get; }

Property Value

ConditionTarget