PC Stable Documentation
|
|
Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable) More...
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. | |
protected 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. | |
Definition and API of an ErrorHandlerModule - Do not insert any logic here! (as this class is not moddable)
|
private |
Returns the category the module handles.
Retrieve the message shown on Client.
References GetSimpleMessage().
Referenced by GetLastClientMessage().
Retrieve the message shown on Client.
References GetSimpleMessage().
Retrieve the message shown on Server.
References GetSimpleMessage().
Retrieve the message shown on Server.
References GetSimpleMessage().
Referenced by GetLastServerMessage().
Simple message of just code and info.
References string::Format(), and ErrorModuleHandler::GetErrorHex().
Referenced by GetClientMessage(), GetLastClientMessage(), GetLastServerMessage(), and GetServerMessage().
Event that gets triggered when an error of the owned category is thrown.
References ErrorModuleHandler::GetErrorHex(), and Print().
Event called by ErrorModuleHandler.
|
private |
Set the category the module handles.