Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Variables
ForgeHandshake.cpp File Reference
#include "Globals.h"
#include "ForgeHandshake.h"
#include "json/json.h"
#include "../Server.h"
#include "../ByteBuffer.h"
#include "../Bindings/PluginManager.h"
#include "../ClientHandle.h"
#include "../Root.h"
Include dependency graph for ForgeHandshake.cpp:

Go to the source code of this file.

Namespaces

 ClientPhase
 Client handshake state phases.
 
 Discriminator
 Discriminator byte values prefixing the FML|HS packets to determine their type.
 
 ServerPhase
 Server handshake state phases.
 

Variables

static const Int8 Discriminator::ClientHello = 1
 
static const Int8 ClientPhase::COMPLETE = 5
 
static const auto ServerPhase::COMPLETE = std::byte(3)
 
static const Int8 Discriminator::HandshakeAck = -1
 
static const Int8 Discriminator::ModList = 2
 
static const Int8 ClientPhase::PENDINGCOMPLETE = 4
 
static const Int8 Discriminator::RegistryData = 3
 
static const Int8 Discriminator::ServerHello = 0
 
static const auto ServerPhase::WAITINGCACK = std::byte(2)
 
static const Int8 ClientPhase::WAITINGSERVERCOMPLETE = 3
 
static const Int8 ClientPhase::WAITINGSERVERDATA = 2