HyCodeYourTale
classpublicPriority 3

ServerAuthToken

com.hypixel.hytale.protocol.packets.auth.ServerAuthToken

implements Packet

7

Methods

7

Public Methods

2

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 1
booleanIS_COMPRESSED= false
intMAX_SIZE= 32851
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 13
intVARIABLE_BLOCK_START= 9
intVARIABLE_FIELD_COUNT= 2

Constructors

public
ServerAuthToken()
public
ServerAuthToken(String serverAccessToken, byte[] passwordChallenge)
public
ServerAuthToken(ServerAuthToken other)

Methods

Public Methods (7)

publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)
public
int computeSize()
@Override
public
boolean equals(Object obj)
@Override
public
int getId()
@Override
public
int hashCode()
@Override
public
void serialize(ByteBuf buf)
@Override
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)

Fields

Public Fields (2)

publicbyte[] passwordChallenge
publicString serverAccessToken

Related Classes