PowerQuest
QuestSettings Class Reference

Public Types

enum  eDialogDisplay { TextAndSpeech, SpeechOnly, TextOnly }
 Whether dialog's displayed, audio only, or both. More...
 

Properties

float Volume [get, set]
 Gets/sets the master volume (0 to 1) More...
 
float VolumeMusic [get, set]
 Gets/sets the music volume (0 to 1) More...
 
float VolumeSFX [get, set]
 Gets/sets the sound effect volume (0 to 1) More...
 
float VolumeDialog [get, set]
 Gets/sets the dialog volume (0 to 1) More...
 
string DisplayBoxGui [get, set]
 
string DialogTreeGui [get, set]
 
eDialogDisplay DialogDisplay [get, set]
 Gets/sets the dialog display style (0 to 1) More...
 
bool AlwaysShowDisplayText [get, set]
 Whether "Display" text is shown regardless of the DialogDisplay setting. More...
 
eSpeechStyle SpeechStyle [get, set]
 
eSpeechPortraitLocation SpeechPortraitLocation [get, set]
 
float TransitionFadeTime [get, set]
 Length of time transition between rooms takes. More...
 
string Language [get, set]
 Gets/Sets the current language by code. More...
 

Public Member Functions

void OnInitialise ()
 Initialises the system (Called from inside PowerQuest) More...
 
void OnPostRestore (int version)
 Initialises the system (Called from inside PowerQuest) More...
 
LanguageData [] GetLanguages ()
 Get's the current language. More...
 

Member Enumeration Documentation

◆ eDialogDisplay

enum eDialogDisplay
strong

Whether dialog's displayed, audio only, or both.

Property Documentation

◆ Volume

float Volume
getset

Gets/sets the master volume (0 to 1)

◆ VolumeMusic

float VolumeMusic
getset

Gets/sets the music volume (0 to 1)

◆ VolumeSFX

float VolumeSFX
getset

Gets/sets the sound effect volume (0 to 1)

◆ VolumeDialog

float VolumeDialog
getset

Gets/sets the dialog volume (0 to 1)

◆ DialogDisplay

eDialogDisplay DialogDisplay
getset

Gets/sets the dialog display style (0 to 1)

◆ AlwaysShowDisplayText

bool AlwaysShowDisplayText
getset

Whether "Display" text is shown regardless of the DialogDisplay setting.

◆ TransitionFadeTime

float TransitionFadeTime
getset

Length of time transition between rooms takes.

◆ Language

string Language
getset

Gets/Sets the current language by code.

Member Function Documentation

◆ OnInitialise()

void OnInitialise ( )
inline

Initialises the system (Called from inside PowerQuest)

◆ OnPostRestore()

void OnPostRestore ( int  version)
inline

Initialises the system (Called from inside PowerQuest)

◆ GetLanguages()

LanguageData [] GetLanguages ( )
inline

Get's the current language.