1package com.runehive.net.packet;
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.net.session.GameSession;
This class represents a character controlled by a player.
Optional< GameSession > getSession()
void execute(Player player)
abstract boolean encode(Player player)
OutgoingPacket(int opcode, PacketType type)
final PacketBuilder builder
OutgoingPacket(int opcode, int capacity)
OutgoingPacket(int opcode, PacketType type, int size)
The implementation that functions as a dynamic buffer wrapper backed by a ByteBuf that is used for re...
static PacketBuilder alloc(int initialCapacity, int maxCapacity)
Represents a Session when a Player has been authenticated and active in the game world.
Represents a type of packet.
FIXED
A fixed size packet where the size never changes.