#include <stdint.h>
#include <stddef.h>
#include <limits.h>
#include <string>
#include <deque>
Go to the source code of this file.
 | 
| 
#define  | AI_LIL_ENDIAN   1234 | 
|   | 
| 
#define  | AI_BIG_ENDIAN   4321 | 
|   | 
| 
#define  | AI_BYTEORDER   AI_LIL_ENDIAN | 
|   | 
| 
#define  | AI_SwapLE16(X)   (X) | 
|   | 
| 
#define  | AI_SwapLE32(X)   (X) | 
|   | 
| 
#define  | AI_SwapLE64(X)   (X) | 
|   | 
| 
#define  | AI_SwapBE16(X)   AI_Swap16(X) | 
|   | 
| 
#define  | AI_SwapBE32(X)   AI_Swap32(X) | 
|   | 
| 
#define  | AI_SwapBE64(X)   AI_Swap64(X) | 
|   | 
| 
#define  | PROTO_MSG(name, id)   class name : public IProtocolMessage { public: name() : IProtocolMessage(id) {} } | 
|   | 
 | 
| 
typedef uint8_t  | ai::ProtocolId | 
|   | 
| 
typedef std::deque< uint8_t >  | ai::streamContainer | 
|   | 
 | 
| 
  | ai::PROTO_MSG (AIResetMessage, PROTO_RESET) | 
|   | Reset the behaviour tree states for all ai controlled entities. 
  | 
|   | 
| 
  | ai::PROTO_MSG (AIPingMessage, PROTO_PING) | 
|   | Protocol keep alive message. 
  | 
|   | 
 | 
| 
const ProtocolId  | ai::PROTO_PING = 0 | 
|   | 
| 
const ProtocolId  | ai::PROTO_STATE = 1 | 
|   | 
| 
const ProtocolId  | ai::PROTO_CHARACTER_STATIC = 2 | 
|   | 
| 
const ProtocolId  | ai::PROTO_CHARACTER_DETAILS = 3 | 
|   | 
| 
const ProtocolId  | ai::PROTO_SELECT = 4 | 
|   | 
| 
const ProtocolId  | ai::PROTO_PAUSE = 5 | 
|   | 
| 
const ProtocolId  | ai::PROTO_CHANGE = 6 | 
|   | 
| 
const ProtocolId  | ai::PROTO_NAMES = 7 | 
|   | 
| 
const ProtocolId  | ai::PROTO_RESET = 8 | 
|   | 
| 
const ProtocolId  | ai::PROTO_STEP = 9 | 
|   | 
| 
const ProtocolId  | ai::PROTO_UPDATENODE = 10 | 
|   | 
| 
const ProtocolId  | ai::PROTO_DELETENODE = 11 | 
|   | 
| 
const ProtocolId  | ai::PROTO_ADDNODE = 12 | 
|   |