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