|
IRCBot Plugin API
v5
|
#include <plugins.h>
Public Attributes | |
| REMOTE_COMMANDS | cmd |
| The command to execute, or reply if from the bot to client. More... | |
| uint32 | datalen |
| The length of data following the header (little-endian) More... | |
This is the packet header for the remote protocol. It consists of a command and the length of data that follows the header (if needed).
It is designed to be extremely simple to implement, and is binary-compatible back to IRCBot v2 (of course, new commands that didn't exist back during the v2 days won't work with v2)
| REMOTE_COMMANDS REMOTE_HEADER::cmd |
The command to execute, or reply if from the bot to client.
| uint32 REMOTE_HEADER::datalen |
The length of data following the header (little-endian)
1.8.8