DialogueEvent

Text-first narrative line — the lightweight sibling of SequenceEvent for spoken/narrated lines with no video track. Text is locale-resolved + variable-interpolated at emission. Fire-and-forget: the runtime emits into the event queue; the host buffers and paces its own UI.

public class DialogueEvent : EventBase

Inheritance System.ObjectEventBase → DialogueEvent

Properties

AudioMedia

Voice clip view. Null when audioMediaId unset or unknown.

public MediaView? AudioMedia { get; }
Property Value

MediaView

Character

Hydrated speaker view. Null when CharacterId is empty or unknown. Speaker ownership (Character.PlayerId) is independent of audience routing (PlayerIds).

public CharacterView? Character { get; }
Property Value

CharacterView

CharacterId

Speaker ref as authored (character uuid; empty = narrator/unattributed).

public string CharacterId { get; }
Property Value

System.String

Duration

Max show duration in seconds; null = show indefinitely. The host is the authority on pacing — this is a ceiling, not a target.

public Nullable<double> Duration { get; }
Property Value

System.Nullable<System.Double>

LocalizableText

Re-resolution sibling of Text for mid-run locale switches.

public LocalizableString? LocalizableText { get; }
Property Value

LocalizableString

PlayerIds

Audience routing — seats that see/hear the line; derives from AudioMedia.PlayerIds when audio is set. Empty = broadcast to all seats.

public IReadOnlyList<int> PlayerIds { get; }
Property Value

System.Collections.Generic.IReadOnlyList<System.Int32>

Text

The line, resolved under the active locale at emission.

public string Text { get; }
Property Value

System.String

Uuid

Authored event uuid — drives the derived locale key (DeriveKey(uuid, “text”)).

public string Uuid { get; }
Property Value

System.String

Methods

Accept(IEventQueueVisitor)

Dispatches to Visit(DialogueEvent).

public override void Accept(IEventQueueVisitor visitor);
Parameters

visitor IEventQueueVisitor

Visitor to dispatch this event to.

Inherited Properties

MemberSource
Atinherited from EventBase
Timinginherited from EventBase
Docs last synced: 2026-07-08
Screenshot viewer