Error callback.
Define a callback for error reporting. This will be called when ever an error has been reported by the system. The developer can then call GetIGameErrorText to retrieve a more detailed error description. The callback can be set by using SetErrorCallBack()
#include <IGameError.h>
Public Member Functions |
|
virtual | ~IGameErrorCallBack () |
Destructor. |
|
virtual void | ErrorProc (IGameError error)=0 |
The error callback. |
virtual ~IGameErrorCallBack | ( | ) | [inline, virtual] |
Destructor.
{;}
virtual void ErrorProc | ( | IGameError | error | ) | [pure virtual] |
The error callback.
This needs to be implemented by the developer and is used by the system to report the error
error | The error code of the last error |