DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ InsertDialogueErrorProperties()

void InsertDialogueErrorProperties ( int code,
string message,
int dialogButtonType = DBT_OK,
int defaultButton = DBB_OK,
int dialogMeaningType = DMT_EXCLAMATION,
bool displayAdditionalInfo = true )
protected

Insert an error with Dialogue as handling, using the Optional Variables.

См. определение в файле ErrorHandlerModule.c строка 233

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
Определения ErrorHandlerModule.c:67
ref map< int, ref ErrorProperties > m_ErrorDataMap
Map containing the codes that exist for the ErrorHandlerModule The code links to ErrorProperties This...
Определения ErrorHandlerModule.c:78
string m_Prefix
Optional: Prefix (e.g. Fixed text at the start of the messages in the module)
Определения ErrorHandlerModule.c:66
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)
Определения ErrorProperties.c:45

Перекрестные ссылки DialogueErrorProperties(), m_ErrorDataMap, m_Header, m_Prefix и m_UIHandler.

Используется в ClientKickedModule::FillErrorDataMap(), ConnectErrorClientModule::FillErrorDataMap(), ConnectErrorServerModule::FillErrorDataMap(), FillErrorDataMap() и BIOSErrorModule::InsertBIOSError().