class

DialogueSystem

Module
Narrative
Header
#include "Narrative/DialogueSystem.h"
Namespace
Mowo

Constructors

SignatureNameDescription
DialogueSystem() = defaultDialogueSystem
~DialogueSystem() override = default~DialogueSystem
DialogueSystem(const DialogueSystem&) = deleteDialogueSystem

Public functions

ReturnsNameDescription
DialogueSystem&operator=
voidUpdate
voidShutdown
voidSetScene
boolStartDialogue
boolStartDialogueFromPath
boolChoose
boolAdvance
voidEndDialogue
boolIsActive
std::stringGetSpeaker
std::stringGetText
int32_tGetChoiceCount
std::stringGetChoiceText
std::stringGetCurrentNodeId
TMulticastDelegate<const std::string&, const std::string&, const std::string&>&OnDialogueLineFires as each node is entered, with the resolved speaker, the resolved line and the node's voice clip (empty when the line is silent).
TMulticastDelegate<bool>&OnDialogueActive

Function details

DialogueSystem

C++
DialogueSystem() = default

~DialogueSystem

C++
~DialogueSystem() override = default

DialogueSystem

C++
DialogueSystem(const DialogueSystem&) = delete

operator=

C++
DialogueSystem& operator=(const DialogueSystem&) = delete

Update

C++
void Update(float deltaTime) override

Shutdown

C++
void Shutdown() override

SetScene

C++
void SetScene(Scene* scene)

StartDialogue

C++
bool StartDialogue(AActor* actor)

StartDialogueFromPath

C++
bool StartDialogueFromPath(const std::string& path, AActor* speaker)

Choose

C++
bool Choose(int32_t index)

Advance

C++
bool Advance()

EndDialogue

C++
void EndDialogue()

IsActive

C++
bool IsActive() const

GetSpeaker

C++
std::string GetSpeaker() const

GetText

C++
std::string GetText() const

GetChoiceCount

C++
int32_t GetChoiceCount() const

GetChoiceText

C++
std::string GetChoiceText(int32_t index) const

GetCurrentNodeId

C++
std::string GetCurrentNodeId() const

OnDialogueLine

C++
TMulticastDelegate<const std::string&, const std::string&, const std::string&>& OnDialogueLine()

Fires as each node is entered, with the resolved speaker, the resolved line and the node's voice clip (empty when the line is silent). The subtitle system and the mix stack both hang off this.

OnDialogueActive

C++
TMulticastDelegate<bool>& OnDialogueActive()
Generated from Narrative/DialogueSystem.h via narrative.json · Oct 26, 2026Version 1.0.0