DialogAction

Namespace: Murder.Core.Dialogs
Assembly: Murder.dll

public sealed struct DialogAction

⭐ Constructors

public DialogAction()
public DialogAction(int id, Fact fact, BlackboardActionKind kind, string string, T? int, T? bool, T? float, IComponent component)

Parameters
id int
fact Fact
kind BlackboardActionKind
string string
int T?
bool T?
float T?
component IComponent

⭐ Properties

BoolValue

public readonly T? BoolValue;

Returns
T?

ComponentValue

public readonly IComponent ComponentValue;

Returns
IComponent

Fact

public readonly Fact Fact;

Returns
Fact

FloatValue

public readonly T? FloatValue;

Returns
T?

Id

public readonly int Id;

Returns
int

IntValue

public readonly T? IntValue;

Returns
T?

Kind

public readonly BlackboardActionKind Kind;

Returns
BlackboardActionKind

StrValue

public readonly string StrValue;

Returns
string

⭐ Methods

WithComponent(IComponent)

public DialogAction WithComponent(IComponent c)

Parameters
c IComponent

Returns
DialogAction

WithFact(Fact)

public DialogAction WithFact(Fact fact)

Parameters
fact Fact

Returns
DialogAction

WithKind(BlackboardActionKind)

public DialogAction WithKind(BlackboardActionKind kind)

Parameters
kind BlackboardActionKind

Returns
DialogAction