class
DialogueSystem
- Module
- Narrative
- Header
#include "Narrative/DialogueSystem.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
DialogueSystem() = default | DialogueSystem | |
~DialogueSystem() override = default | ~DialogueSystem | |
DialogueSystem(const DialogueSystem&) = delete | DialogueSystem |
Public functions
| Returns | Name | Description |
|---|---|---|
DialogueSystem& | operator= | |
void | Update | |
void | Shutdown | |
void | SetScene | |
bool | StartDialogue | |
bool | StartDialogueFromPath | |
bool | Choose | |
bool | Advance | |
void | EndDialogue | |
bool | IsActive | |
std::string | GetSpeaker | |
std::string | GetText | |
int32_t | GetChoiceCount | |
std::string | GetChoiceText | |
std::string | GetCurrentNodeId | |
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). |
TMulticastDelegate<bool>& | OnDialogueActive |
Function details
DialogueSystem
C++
DialogueSystem() = default~DialogueSystem
C++
~DialogueSystem() override = defaultDialogueSystem
C++
DialogueSystem(const DialogueSystem&) = deleteoperator=
C++
DialogueSystem& operator=(const DialogueSystem&) = deleteUpdate
C++
void Update(float deltaTime) overrideShutdown
C++
void Shutdown() overrideSetScene
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() constGetSpeaker
C++
std::string GetSpeaker() constGetText
C++
std::string GetText() constGetChoiceCount
C++
int32_t GetChoiceCount() constGetChoiceText
C++
std::string GetChoiceText(int32_t index) constGetCurrentNodeId
C++
std::string GetCurrentNodeId() constOnDialogueLine
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