Criterion
Namespace: Murder.Core.Dialogs
Assembly: Murder.dll
public sealed struct Criterion
⭐ Constructors
public Criterion()
public Criterion(Fact fact, CriterionKind kind, Object value)
Parameters
fact
Fact
kind
CriterionKind
value
Object
public Criterion(Fact fact, CriterionKind kind, T? bool, T? int, T? float, string string, Object value)
Parameters
fact
Fact
kind
CriterionKind
bool
T?
int
T?
float
T?
string
string
value
Object
⭐ Properties
BoolValue
public readonly T? BoolValue;
Returns
T?
Component
public static Criterion Component { get; }
Creates a fact of type FactKind.Component.
Returns
Criterion
Fact
public readonly Fact Fact;
Returns
Fact
FloatValue
public readonly T? FloatValue;
Returns
T?
IntValue
public readonly T? IntValue;
Returns
T?
Kind
public readonly CriterionKind Kind;
Returns
CriterionKind
StrValue
public readonly string StrValue;
Returns
string
Value
public readonly Object Value;
Returns
Object
Weight
public static Criterion Weight { get; }
Creates a fact of type FactKind.Weight.
Returns
Criterion
⚡