This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
Bz eMsgDebugEvent: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Created Documentation for this API Event.  | 
				 eventTime  | 
				||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 31: | Line 31: | ||
   |receive  |    |receive  | ||
   |bool  |    |bool  | ||
   |  |    |Whether or not to receive the packets  | ||
   |-  |    |-  | ||
   |playerID  |    |playerID  | ||
   |int  |    |int  | ||
   |The player that sent the data.  |    |The player that sent the data.  | ||
  |-  | |||
  |eventTime  | |||
  |double  | |||
  |The server time at which the event occurred (in seconds).  | |||
   |}  |    |}  | ||
Latest revision as of 07:50, 1 May 2014
| BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server. | 
BZFS Event. This page documents a BZFS event that is called by the game server to notify plug-ins of various actions and state changes in the game world.
Overview
The bz_eMsgDebugEvent is an API event called every time packets are sent to the server.
Data
bz_eMsgDebugEvent returns the bz_MsgDebugEventData_V1 data class.
| name | type | value description | 
|---|---|---|
| eventType | bz_eEventType | bz_eMsgDebugEvent | 
| code | char[2] | 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. | 
| eventTime | double | The server time at which the event occurred (in seconds). | 
Uses
Used mostly by developers to watch for packet data. Not particularly useful for plugin developers.