Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
errorproperties.c File Reference

Go to the source code of this file.

Data Structures

class  ErrorProperties
 Class which holds the properties and handling of an error. More...

Functions

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)
int GetDefaultButton ()
int GetDialogButtonType ()
int GetDialogMeaningType ()
UIScriptedMenu GetHandler ()
string GetHeader ()
override void HandleError (int errorCode, string additionalInfo="")

Variables

int m_DefaultButton
int m_DialogButtonType
int m_DialogMeaningType
bool m_DisplayAdditionalInfo
UIScriptedMenu m_Handler
class ErrorProperties m_Header
 Error which shows a generic Dialogue UI.

Function Documentation

◆ DialogueErrorProperties()

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 )
protected

◆ GetDefaultButton()

int GetDefaultButton ( )
protected

Definition at line 78 of file errorproperties.c.

References m_DefaultButton.

◆ GetDialogButtonType()

int GetDialogButtonType ( )
protected

Definition at line 77 of file errorproperties.c.

References m_DialogButtonType.

◆ GetDialogMeaningType()

int GetDialogMeaningType ( )
protected

Definition at line 79 of file errorproperties.c.

References m_DialogMeaningType.

◆ GetHandler()

UIScriptedMenu GetHandler ( )
protected

Definition at line 80 of file errorproperties.c.

References m_Handler.

◆ GetHeader()

string GetHeader ( )
protected

Definition at line 76 of file errorproperties.c.

Referenced by AttachmentCategoriesRow::Init().

◆ HandleError()

override void HandleError ( int errorCode,
string additionalInfo = "" )
protected

Variable Documentation

◆ m_DefaultButton

int m_DefaultButton
protected

Definition at line 40 of file errorproperties.c.

Referenced by DialogueErrorProperties(), GetDefaultButton(), and HandleError().

◆ m_DialogButtonType

int m_DialogButtonType
protected

Definition at line 39 of file errorproperties.c.

Referenced by DialogueErrorProperties(), GetDialogButtonType(), and HandleError().

◆ m_DialogMeaningType

int m_DialogMeaningType
protected

Definition at line 41 of file errorproperties.c.

Referenced by DialogueErrorProperties(), GetDialogMeaningType(), and HandleError().

◆ m_DisplayAdditionalInfo

bool m_DisplayAdditionalInfo
protected

Definition at line 43 of file errorproperties.c.

Referenced by DialogueErrorProperties(), and HandleError().

◆ m_Handler

UIScriptedMenu m_Handler
protected

Definition at line 42 of file errorproperties.c.

Referenced by DialogueErrorProperties(), GetHandler(), and HandleError().

◆ m_Header

class ErrorProperties m_Header

Error which shows a generic Dialogue UI.