Insert an error with Dialogue as handling, using the Optional Variables.
234 {
235 m_ErrorDataMap.Insert(code,
DialogueErrorProperties(
string.Format(
"%1%2",
m_Prefix, message), message,
m_Header,
m_UIHandler, dialogButtonType, defaultButton, dialogMeaningType, displayAdditionalInfo));
236 }
class ErrorHandlerModule m_Header
This is where to input logic and extend functionality of ErrorHandlerModule.
ref UIScriptedMenu m_UIHandler
Optional: The UI the handler might generally use
ref map< int, ref ErrorProperties > m_ErrorDataMap
Map containing the codes that exist for the ErrorHandlerModule The code links to ErrorProperties This...
string m_Prefix
Optional: Prefix (e.g. Fixed text at the start of the messages in the module)
void DialogueErrorProperties(string message, string serverMessage, string header, UIScriptedMenu handler=null, int dialogButtonType=DBT_OK, int defaultButton=DBB_OK, int dialogMeaningType=DMT_EXCLAMATION, bool displayAdditionalInfo=true)