1package com.runehive.net.packet.out;
3import com.runehive.net.codec.ByteModification;
4import com.runehive.game.world.entity.mob.player.Player;
5import com.runehive.net.packet.OutgoingPacket;
22 int sceneBaseChunkX = regionX - 6;
23 int sceneBaseChunkY = regionY - 6;
28 System.out.printf(
"[MapRegion] sceneBaseChunks=(%d,%d) tiles=(%d,%d)%n",
29 sceneBaseChunkX, sceneBaseChunkY,
30 sceneBaseChunkX * 8, sceneBaseChunkY * 8
This class represents a character controlled by a player.
void setSceneBaseChunks(int chunkX, int chunkY)
int getChunkX()
Gets the chunk x coordinate.
int getChunkY()
Gets the chunk y coordinate.
Position copy()
Creates a deep copy of this location.
final PacketBuilder builder
OutgoingPacket(int opcode, int capacity)
boolean encode(Player player)
Represents RuneScape's custom value types.
ADD
Adds 128 to the value when written, subtracts 128 from the rarity when read.