46 lines
772 B
Plaintext
46 lines
772 B
Plaintext
|
{
|
||
|
types :
|
||
|
{
|
||
|
aliases :
|
||
|
{
|
||
|
ProtocolState : varint
|
||
|
}
|
||
|
|
||
|
primitives :
|
||
|
{
|
||
|
varint : int32_t
|
||
|
}
|
||
|
}
|
||
|
|
||
|
states :
|
||
|
{
|
||
|
Handholding : -1
|
||
|
Play : 0
|
||
|
Status : 1
|
||
|
Login : 2
|
||
|
}
|
||
|
|
||
|
messages :
|
||
|
{
|
||
|
serverbound :
|
||
|
{
|
||
|
Handshake :
|
||
|
{
|
||
|
id : 0
|
||
|
state : Handholding
|
||
|
vars :
|
||
|
{
|
||
|
protocolVersion : varint
|
||
|
serverIP : string
|
||
|
port : uint16_t
|
||
|
intention : ProtocolState
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
clientbound :
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|