Skip to main content

Beat Playback Service

Description

Handles the sequential presentation of beat groups within a dialogue node. When a node is entered, this service walks through its beat groups one at a time, presenting all beats in each group simultaneously and coordinating with the response and progression services.

Interface

Type
ChatBeatPlaybackService

Inherits

Type
N/A

Public Methods

NameParametersReturn TypeDescription
BindIChatResponseService, IAgentPresentationService, IDialogueAgentService, AudioSourcevoidBinds the service to its dependencies for the current conversation.
BeginNodeChatData nodevoidStarts playback of a node's beat groups from the first group.
AdvanceBeatOrDisplayOptionsN/AvoidAdvances to the next beat group, or shows options if at the last.
DisplayBeatN/AvoidPresents the current beat group's content and triggers side effects.