Skip to main content

Progression Service

Description

Manages timed auto-advancement of beat groups and the countdown timer for timed options. When a beat group is set up with auto-progression, the service waits for the group's calculated duration plus any reading hold, then advances. When the beat group's progression data carries a time limit, it drives a countdown bar and auto-selects the default option when time runs out.

For the authoring-side view, see Progression and Timing.

Interface

Type
IChatProgressionService

Inherits

Type
N/A

It is a plain class, not a MonoBehaviour. ChatSystemService constructs one per conversation.

Public Methods

NameParametersReturn TypeDescription
SetupDialogueBeatGroupData beatGroup, bool isFinalBeatvoidBegins timing for a beat group. isFinalBeat decides whether expiry advances or shows options.
SetupDialogueBeatGroupData beatGroup, bool isFinalBeat, bool revealedGraduallyvoidAs above, but reports whether the text was typewritten so the reading hold can be shortened.
StopN/AvoidCancels any active progression or countdown timer.
CalcuateChatLineTimeDialogueBeatGroupData beatGroupfloatReturns the beat group's duration. (The method name is misspelled in the shipped API.)