classpublicPriority 3
UpdateWindow
com.hypixel.hytale.protocol.packets.window.UpdateWindow
implements Packet
7
Methods
7
Public Methods
4
Fields
3
Constructors
Constants
intFIXED_BLOCK_SIZE= 5
booleanIS_COMPRESSED= true
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 201
intVARIABLE_BLOCK_START= 17
intVARIABLE_FIELD_COUNT= 3
Constructors
public
UpdateWindow()public
UpdateWindow(int id, String windowData, InventorySection inventory, ExtraResources extraResources)public
UpdateWindow(UpdateWindow 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 (4)
public
ExtraResources extraResourcespublic
int idpublic
InventorySection inventorypublic
String windowData