Character

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

public sealed struct Character

⭐ Constructors

public Character(Guid guid, Guid speaker, string portrait, ImmutableArray<T> situations)

Parameters
guid Guid
speaker Guid
portrait string
situations ImmutableArray<T>

⭐ Properties

Guid

public readonly Guid Guid;

The guid of the character asset being tracked by this.

Returns
Guid

Portrait

public readonly string Portrait;

The default portrait for Character.Speaker. If null, use the speaker default portrait.

Returns
string

Situations

public readonly ImmutableDictionary<TKey, TValue> Situations;

All situations for the character.

Returns
ImmutableDictionary<TKey, TValue>

Speaker

public readonly Guid Speaker;

The speaker is the owner of this dialog. Used when a null speaker is found.

Returns
Guid