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

◆ GetLastClientMessage()

override string GetLastClientMessage ( int errorCode)
protected

Fetches the Client message for the error code, attempting to retrieve the data from the latest.

Аргументы
errorCodeint The full error code to check against
Возвращает
string The Client message for the error

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

150 {
151 if (errorCode == m_LastErrorThrown)
152 {
153 return GetClientMessage(errorCode, m_LastAdditionalInfo);
154 }
155 else
156 {
157 ErrorEx(string.Format("Was unable to get the information on the last error as another has already occurred. (%1 != %2)", ErrorModuleHandler.GetErrorHex(errorCode), ErrorModuleHandler.GetErrorHex(m_LastErrorThrown)));
158 return GetClientMessage(errorCode);
159 }
160 }
string m_LastAdditionalInfo
Holds the last additional info passed in.
Определения ErrorHandlerModule.c:70
int m_LastErrorThrown
Holds the last thrown error in this module, defaults to 0.
Определения ErrorHandlerModule.c:69
override string GetClientMessage(int errorCode, string additionalInfo="")
Fetches the Client message for the error code.
Определения ErrorHandlerModule.c:130
static proto owned string GetErrorHex(int errorCode)
Returns a formatted string of the error code.
The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerMod...
Определения ErrorModuleHandler.c:29
enum ShapeType ErrorEx

Перекрестные ссылки ErrorEx, GetClientMessage(), ErrorModuleHandler::GetErrorHex(), m_LastAdditionalInfo и m_LastErrorThrown.