CharacterRuntime

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

public class CharacterRuntime

⭐ Constructors

public CharacterRuntime(Character character, int situation)

Parameters
character Character
situation int

⭐ Methods

CheckRequirements(World, ImmutableArray, out Int32&)

public bool CheckRequirements(World world, ImmutableArray<T> requirements, Int32& score)

Parameters
world World
requirements ImmutableArray<T>
score int&

Returns
bool

HasNewContentOnNextDialogueLine(World, Entity)

public bool HasNewContentOnNextDialogueLine(World world, Entity target)

Parameters
world World
target Entity

Returns
bool

HasNext(World, Entity, bool)

public bool HasNext(World world, Entity target, bool track)

Returns whether the active dialog state for this dialogue is valid or not.

Parameters
world World
target Entity
track bool

Returns
bool

NextLine(World, Entity)

public T? NextLine(World world, Entity target)

Parameters
world World
target Entity

Returns
T?

DoChoice(int, World, Entity)

public void DoChoice(int choice, World world, Entity target)

Parameters
choice int
world World
target Entity

StartAtSituation(int)

public void StartAtSituation(int situation)

Parameters
situation int