1package com.runehive.net.packet.out;
3import com.runehive.game.world.InterfaceConstants;
4import com.runehive.game.world.entity.mob.player.Player;
5import com.runehive.game.world.items.Item;
6import com.runehive.net.packet.OutgoingPacket;
7import com.runehive.net.packet.PacketType;
16 this(
id,
null,
new Item[]{});
34 .writeShort(
items.length)
38 final int amount = item.getAmount();
45 builder.writeShort(item.getId() + 1);
static final int WITHDRAW_BANK
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)
SendItemOnInterface(int id, Item... items)
SendItemOnInterface(int id)
SendItemOnInterface(int id, int[] tabAmounts, Item... items)
boolean encode(Player player)
Represents a type of packet.
VAR_SHORT
A variable packet where the size is indicated by a short.