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

HasContentOnNextDialogueLine(World, Entity, bool)

public bool HasContentOnNextDialogueLine(World world, Entity target, bool checkForNewContentOnly)

Parameters
world World
target Entity
checkForNewContentOnly bool

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