1package com.runehive.net.packet.out;
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.game.world.items.Item;
5import com.runehive.net.packet.OutgoingPacket;
6import com.runehive.net.packet.PacketType;
37 final int amount =
item.getAmount();
This class represents a character controlled by a player.
The container class that represents an item that can be interacted with.
final PacketBuilder builder
OutgoingPacket(int opcode, int capacity)
SendItemOnInterfaceSlot(int interfaceId, int item, int amount, int slot)
SendItemOnInterfaceSlot(int interfaceId, int item, int slot)
boolean encode(Player player)
SendItemOnInterfaceSlot(int interfaceId, Item item, int slot)
Represents a type of packet.
VAR_SHORT
A variable packet where the size is indicated by a short.