![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <OPCodesTpl.h>
Public Types | |
using | ValueType = int32_t |
Static Public Member Functions | |
static constexpr ValueType | OPCODE_ID (const ValueType index) |
Static Public Attributes | |
static const ValueType | MSG_NOP = 0x000 |
static const ValueType | MSG_HEARTBEAT = 0x001 |
static const ValueType | SMSG_SEND_FILE = 0x002 |
static const ValueType | SMSG_DISCONNECT = 0x003 |
static const ValueType | CMSG_REQUEST_DISCONNECT = 0x004 |
static const ValueType | CMSG_ENTITY_UPDATE = 0x005 |
static const ValueType | CMSG_PING = 0x006 |
static const ValueType | SMSG_PONG = 0x007 |
static const ValueType | FIRST_FREE_OPCODE = SMSG_PONG |
Packet handling requires OPCodes to be defined. Use the following num structure to define them in each app:
Definition at line 13 of file OPCodesTpl.h.
using Divide::OPCodes::ValueType = int32_t |
Definition at line 15 of file OPCodesTpl.h.
|
inlinestaticconstexpr |
Definition at line 28 of file OPCodesTpl.h.
|
static |
Definition at line 22 of file OPCodesTpl.h.
|
static |
Definition at line 23 of file OPCodesTpl.h.
|
static |
Definition at line 21 of file OPCodesTpl.h.
Definition at line 26 of file OPCodesTpl.h.
|
static |
Definition at line 18 of file OPCodesTpl.h.
|
static |
Definition at line 17 of file OPCodesTpl.h.
|
static |
Definition at line 20 of file OPCodesTpl.h.
|
static |
Definition at line 24 of file OPCodesTpl.h.
|
static |
Definition at line 19 of file OPCodesTpl.h.