HyCodeYourTale
classpublicPriority 3

UpdatePlayerInventory

com.hypixel.hytale.protocol.packets.inventory.UpdatePlayerInventory

implements Packet

7

Methods

7

Public Methods

8

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 2
booleanIS_COMPRESSED= true
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 170
intVARIABLE_BLOCK_START= 30
intVARIABLE_FIELD_COUNT= 7

Constructors

public
UpdatePlayerInventory()
public
UpdatePlayerInventory(InventorySection storage, InventorySection armor, InventorySection hotbar, InventorySection utility, InventorySection builderMaterial, InventorySection tools, InventorySection backpack, SortType sortType)
public
UpdatePlayerInventory(UpdatePlayerInventory 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 (8)

publicInventorySection armor
publicInventorySection backpack
publicInventorySection builderMaterial
publicInventorySection hotbar
publicSortType sortType
publicInventorySection storage
publicInventorySection tools
publicInventorySection utility

Related Classes