Raymond Maarloeve
Loading...
Searching...
No Matches
DialogBoxManager Class Reference

Manages the dialog box UI for player interactions with NPCs. Handles input, output, and communication with the LLM server. More...

Public Member Functions

void ShowResponse (string response)
 Updates the NPC response text and waits for player dismissal.
 
void ShowDialogBox ()
 Activates the dialog box and initializes the conversation.
 
void HideDialogBox ()
 Deactivates the dialog box and resets its state.
 

Properties

static DialogBoxManager Instance [get]
 Singleton instance of the DialogBoxManager class.
 

Detailed Description

Manages the dialog box UI for player interactions with NPCs. Handles input, output, and communication with the LLM server.

Member Function Documentation

◆ HideDialogBox()

void DialogBoxManager.HideDialogBox ( )

Deactivates the dialog box and resets its state.

◆ ShowDialogBox()

void DialogBoxManager.ShowDialogBox ( )

Activates the dialog box and initializes the conversation.

◆ ShowResponse()

void DialogBoxManager.ShowResponse ( string  response)

Updates the NPC response text and waits for player dismissal.

Parameters
responseThe response from the LLM server.

Property Documentation

◆ Instance

DialogBoxManager DialogBoxManager.Instance
staticget

Singleton instance of the DialogBoxManager class.


The documentation for this class was generated from the following file: