1package com.runehive.net.packet.in;
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.game.world.entity.mob.player.relations.ChatMessage;
5import com.runehive.net.packet.ClientPackets;
6import com.runehive.net.packet.GamePacket;
7import com.runehive.net.packet.PacketListener;
8import com.runehive.net.packet.PacketListenerMeta;
21 final String input =
packet.getRS2String().trim().toLowerCase();
This class represents a character controlled by a player.
Represents a chat message that can be displayed over an entities head.
static final int CHARACTER_LIMIT
When a chat message decoded there's a character buffer that can only hold 100 characters.
Client -> Server packet opcodes.
static final int PLAYER_COMMAND
Represents a single game packet.
The GamePacket responsible for handling user commands send from the client.
void handlePacket(Player player, GamePacket packet)
Handles the packet that has just been received.