DayZ 1.24
|
Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable) More...
Protected Member Functions | |
void | OnErrorThrown (int errorCode, owned string additionalInfo="") |
Event that gets triggered when an error of the owned category is thrown. | |
string | GetClientMessage (int errorCode, string additionalInfo="") |
Retrieve the message shown on Client. | |
string | GetLastClientMessage (int errorCode) |
Retrieve the message shown on Client. | |
string | GetServerMessage (int errorCode, string additionalInfo="") |
Retrieve the message shown on Server. | |
string | GetLastServerMessage (int errorCode) |
Retrieve the message shown on Server. | |
string | GetSimpleMessage (int errorCode, string additionalInfo="") |
Simple message of just code and info. | |
void | OnEvent (EventType eventTypeId, Param params) |
Event called by ErrorModuleHandler. | |
Private Member Functions | |
proto native ErrorCategory | GetCategory () |
Returns the category the module handles. | |
proto native void | SetCategory (ErrorCategory category) |
Set the category the module handles. | |
Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable)
Definition at line 5 of file ErrorHandlerModule.c.
|
private |
Returns the category the module handles.
|
inlineprotected |
Retrieve the message shown on Client.
Definition at line 22 of file ErrorHandlerModule.c.
References GetSimpleMessage().
Retrieve the message shown on Client.
Definition at line 28 of file ErrorHandlerModule.c.
References GetSimpleMessage().
Retrieve the message shown on Server.
Definition at line 40 of file ErrorHandlerModule.c.
References GetSimpleMessage().
|
inlineprotected |
Retrieve the message shown on Server.
Definition at line 34 of file ErrorHandlerModule.c.
References GetSimpleMessage().
|
inlineprotected |
Simple message of just code and info.
Definition at line 46 of file ErrorHandlerModule.c.
References string::Format(), and ErrorModuleHandler::GetErrorHex().
Referenced by GetClientMessage(), GetLastClientMessage(), GetLastServerMessage(), and GetServerMessage().
|
inlineprotected |
Event that gets triggered when an error of the owned category is thrown.
Definition at line 14 of file ErrorHandlerModule.c.
References ErrorModuleHandler::GetErrorHex(), and Print().
|
private |
Set the category the module handles.