Cuberite
A lightweight, fast and extensible game server for Minecraft
Variables
Discriminator Namespace Reference

Discriminator byte values prefixing the FML|HS packets to determine their type. More...

Variables

static const Int8 ClientHello = 1
 
static const Int8 HandshakeAck = -1
 
static const Int8 ModList = 2
 
static const Int8 RegistryData = 3
 
static const Int8 ServerHello = 0
 

Detailed Description

Discriminator byte values prefixing the FML|HS packets to determine their type.

Variable Documentation

◆ ClientHello

const Int8 Discriminator::ClientHello = 1
static

Definition at line 20 of file ForgeHandshake.cpp.

◆ HandshakeAck

const Int8 Discriminator::HandshakeAck = -1
static

Definition at line 24 of file ForgeHandshake.cpp.

◆ ModList

const Int8 Discriminator::ModList = 2
static

Definition at line 21 of file ForgeHandshake.cpp.

◆ RegistryData

const Int8 Discriminator::RegistryData = 3
static

Definition at line 22 of file ForgeHandshake.cpp.

◆ ServerHello

const Int8 Discriminator::ServerHello = 0
static

Definition at line 19 of file ForgeHandshake.cpp.