ReplayActionKind
Discriminates the action recorded by a ReplayPathEntry in the Path. Each value corresponds to a BonsaiRuntime API that was called during the original session.
public enum ReplayActionKind
Fields
SelectChoice 0
Player selected a dialogue choice — recorded by SelectChoice(string).
EnterScene 1
Runtime entered a named scene — recorded by EnterScene(string, bool).
MoveTo 2
Player moved to a location — recorded by MoveTo(string).
AdvanceTime 3
Time was advanced — recorded by the advanceTime event executor.
StartEncounter 4
An encounter scene was started — recorded by StartEncounter(string).
LeaveScene 5
Runtime left an encounter scene — recorded by LeaveScene().
ActivityCompleted 6
A blocking activity was completed — recorded by Complete(). Replay drives through it by re-invoking the pending activity’s completion with the stored fields.
StartProject 7
Commit-origin marker for StartProject(string, SceneScope) — used only by the blocking-activity pause record and RuntimeSnapshot.PendingSuffix (a Start can pause at an intro activity). Never appears in a Path; replay reconstructs the start from the save header instead.