2package com.runehive.net.packet.in;
4import com.runehive.game.world.entity.mob.player.Player;
5import com.runehive.net.codec.ByteModification;
6import com.runehive.net.codec.ByteOrder;
7import com.runehive.net.packet.ClientPackets;
8import com.runehive.net.packet.GamePacket;
9import com.runehive.net.packet.PacketListener;
10import com.runehive.net.packet.PacketListenerMeta;
11import org.jire.runehiveps.event.player.WalkEvent;
27 player.
getEvents().interact(player,
new WalkEvent(targetX, targetY, runQueue));
This class represents a character controlled by a player.
Client -> Server packet opcodes.
static final int MAP_WALK
static final int REGULAR_WALK
static final int WALK_ON_COMMAND
Represents a single game packet.
A packet which handles walking requests.
void handlePacket(Player player, GamePacket packet)
Handles the packet that has just been received.
Represents RuneScape's custom value types.
ADD
Adds 128 to the value when written, subtracts 128 from the rarity when read.
Represents the order in which bytes are written.
LE
Represents Little-endian.