1package com.runehive.game.task.impl;
3import com.runehive.game.task.Task;
4import com.runehive.game.world.entity.mob.player.Player;
5import com.runehive.game.world.entity.mob.player.exchange.ExchangeSession;
6import com.runehive.net.packet.out.SendString;
synchronized final void cancel()
Cancels all subsequent executions.
Task(boolean instant, int delay)
Creates a new Task.
SessionRemovalNotificationTask(Player player)
void onCancel(boolean logout)
A function executed on cancellation.
void execute()
A function representing the unit of work that will be carried out.
This class represents a character controlled by a player.
static Optional< ExchangeSession > getSession(Player player)
Gets the session if applicable the player is in.
The OutgoingPacket that sends a string to a Players itemcontainer in the client.