Writes incoming and outgoing messages to the screen. This will write all incoming and outgoing messages to the console window, or to a file if you override it and give it this functionality.
More...
|
virtual void | OnDirectSocketSend (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress) |
| Events on low level sends and receives. These functions may be called from different threads at the same time.
|
|
virtual void | OnDirectSocketReceive (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress) |
|
virtual void | OnReliabilityLayerNotification (const char *errorMessage, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress, bool isError) |
|
virtual void | OnInternalPacket (InternalPacket *internalPacket, unsigned frameNumber, SystemAddress remoteSystemAddress, RakNet::TimeMS time, int isSend) |
|
virtual void | OnAck (unsigned int messageNumber, SystemAddress remoteSystemAddress, RakNet::TimeMS time) |
|
virtual void | OnPushBackPacket (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress) |
|
virtual void | LogHeader (void) |
| Logs out a header for all the data.
|
|
virtual void | WriteLog (const char *str) |
| Override this to log strings to wherever. Log should be threadsafe.
|
|
virtual void | SetPrefix (const char *_prefix) |
| Prepend this string to output logs.
|
|
virtual void | SetSuffix (const char *_suffix) |
| Append this string to output logs. (newline is useful here)
|
|
void | SetLogDirectMessages (bool send) |
| Log the direct sends and receives or not. Default true.
|
|
virtual void | OnAttach (void) |
| Called when the interface is attached.
|
|
virtual void | OnDetach (void) |
| Called when the interface is detached.
|
|
virtual void | Update (void) |
| Update is called every time a packet is checked for .
|
|
virtual PluginReceiveResult | OnReceive (Packet *packet) |
|
virtual void | OnRakPeerStartup (void) |
| Called when RakPeer is initialized.
|
|
virtual void | OnRakPeerShutdown (void) |
| Called when RakPeer is shutdown.
|
|
virtual void | OnClosedConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason) |
|
virtual void | OnNewConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, bool isIncoming) |
|
virtual void | OnFailedConnectionAttempt (Packet *packet, PI2_FailedConnectionAttemptReason failedConnectionAttemptReason) |
|
Writes incoming and outgoing messages to the screen. This will write all incoming and outgoing messages to the console window, or to a file if you override it and give it this functionality.