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
conditionConditionCondition instance that owns the field.
fieldNamestringField name that stores the target.
targetConditionTargetUnavailable target value.
Properties
Condition
The condition instance that owns the unavailable target field.
public Condition Condition { get; }
Property Value
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; }