ChoiceLine

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

public sealed struct ChoiceLine

⭐ Constructors

public ChoiceLine(Guid speaker, string portrait, string title, ImmutableArray<T> choices)

Parameters
speaker Guid
portrait string
title string
choices ImmutableArray<T>

⭐ Properties

Choices

public readonly ImmutableArray<T> Choices;

Choices available to the player to pick.

Returns
ImmutableArray<T>

Portrait

public readonly string Portrait;

Returns
string

Speaker

public readonly T? Speaker;

Returns
T?

Title

public readonly string Title;

Dialog title.

Returns
string