Difference between revisions of "Bz eMsgDebugEvent"
m (→Data: Include time of event.)
m (added description to receive boolean)
|Line 31:||Line 31:|
Revision as of 01:25, 23 December 2013
|BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.|
The bz_eMsgDebugEvent is an API event called every time packets are sent to the server.
bz_eMsgDebugEvent returns the bz_MsgDebugEventData_V1 data class.
|code||char||A 2-byte message code to identify what the data is.|
|len||size_t||The size of the incoming message.|
|msg||char*||The actual message telling the server what the data contains, based on the code data.|
|receive||bool||Whether or not to receive the packets|
|playerID||int||The player that sent the data.|
|time||double||The current server time|
Used mostly by developers to watch for packet data. Not particularly useful for plugin developers.