HyCodeYourTale
classpublicPriority 2

CustomUICommand

com.hypixel.hytale.protocol.packets.interface_.CustomUICommand

6

Methods

6

Public Methods

4

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 2
intMAX_SIZE= 49152029
intNULLABLE_BIT_FIELD_SIZE= 1
intVARIABLE_BLOCK_START= 14
intVARIABLE_FIELD_COUNT= 3

Constructors

public
CustomUICommand()
public
CustomUICommand(CustomUICommandType type, String selector, String data, String text)
public
CustomUICommand(CustomUICommand other)

Methods

Public Methods (6)

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

Fields

Public Fields (4)

publicString data
publicString selector
publicString text
publicCustomUICommandType type

Related Classes