1package com.runehive.content.activity.panel;
4import com.runehive.Config;
5import com.runehive.game.world.World;
6import com.runehive.game.world.entity.mob.player.Player;
7import com.runehive.game.world.items.Item;
8import com.runehive.net.packet.out.SendForceTab;
9import com.runehive.net.packet.out.SendItemOnInterface;
10import com.runehive.net.packet.out.SendProgressBar;
11import com.runehive.net.packet.out.SendString;
20 public static void update(
Player player,
int amount, String title, String footer, String... strings) {
21 update(player, amount, title, footer,
new Item[]{}, strings);
25 public static void update(
Player player,
int amount, String title,
Item item, String... strings) {
26 update(player, amount, title,
"Activity Completion:",
new Item[]{item}, strings);
30 public static void update(
Player player,
int amount, String header, String footer,
Item container, String... strings) {
31 update(player, amount, header, footer,
new Item[]{container}, strings);
40 public static void update(
Player player,
int amount, String header, String footer,
Item[] container, String... strings) {
45 for (
int index = 0,
string = 38005; index < strings.length; index++,
string += 1) {
48 if (container !=
null) {
The class that contains setting-related constants for the server.
static final int ACTIVITY_TAB
static final int INVENTORY_TAB
Handles the activity panel.
static void timedClear(Player player, int delay)
Clears the activity panel after a defined set of time.
static void update(Player player, int amount, String header, String footer, Item[] container, String... strings)
Sends all the information for the activity panel.
static void update(Player player, int amount, String title, String footer, String... strings)
Sends all the information for the activity panel.
static void update(Player player, int amount, String header, String footer, Item container, String... strings)
Sends all the information for the activity panel.
static void clear(Player player)
Clears the activity panel.
static void update(Player player, int amount, String title, Item item, String... strings)
Sends all the information for the activity panel.
static void update(Activity_Panel panel)
Sends all the information for the activity panel.
Represents the game world.
static void schedule(Task task)
Submits a new event.
boolean isSidebar(int tab, int id)
void setSidebar(int tab, int id)
This class represents a character controlled by a player.
final InterfaceManager interfaceManager
void send(OutgoingPacket encoder)
The container class that represents an item that can be interacted with.
Handles sending the progress bar data to the client.
The OutgoingPacket that sends a string to a Players itemcontainer in the client.