OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Enumerations | Functions | Variables
UIDialogue.h File Reference
#include <string>
#include "GUI/GUIWindow.h"
#include "Utility/IndexedArray.h"

Classes

class  GUIWindow_Dialogue
 

Enumerations

enum class  DialogWindowType { DIALOG_WINDOW_HIRE_FIRE_SHORT = 1 , DIALOG_WINDOW_FULL = 3 }
 

Functions

void initializeNPCDialogue (int npcId, int bPlayerSaysHello, Actor *actor=nullptr)
 
void selectNPCDialogueOption (DialogueId option)
 

Variables

int speakingNpcId
 
const IndexedArray< std::string, PartyAlignment_Good, PartyAlignment_EvildialogueBackgroundResourceByAlignment
 

Enumeration Type Documentation

◆ DialogWindowType

enum class DialogWindowType
strong
Enumerator
DIALOG_WINDOW_HIRE_FIRE_SHORT 

This one doesn't seem to be used on MM7, only creates the profession details & hire/fire topics.

DIALOG_WINDOW_FULL 

Creates all appropriate dialog options, including scripted ones.

Function Documentation

◆ initializeNPCDialogue()

void initializeNPCDialogue ( int  npcId,
int  bPlayerSaysHello,
Actor actor = nullptr 
)

◆ selectNPCDialogueOption()

void selectNPCDialogueOption ( DialogueId  option)

Variable Documentation

◆ dialogueBackgroundResourceByAlignment

const IndexedArray<std::string, PartyAlignment_Good, PartyAlignment_Evil> dialogueBackgroundResourceByAlignment
extern

◆ speakingNpcId

int speakingNpcId
extern