RuneHive-Game
Loading...
Searching...
No Matches
SendPlayerDialogueHead.java
Go to the documentation of this file.
1package com.runehive.net.packet.out;
2
3import com.runehive.net.codec.ByteModification;
4import com.runehive.net.codec.ByteOrder;
5import com.runehive.game.world.entity.mob.player.Player;
6import com.runehive.net.packet.OutgoingPacket;
7
9
10 private final int interfaceId;
11
13 super(185, 2);
14 this.interfaceId = interfaceId;
15 }
16
17 @Override
18 public boolean encode(Player player) {
20 return true;
21 }
22
23}
This class represents a character controlled by a player.
Definition Player.java:125
OutgoingPacket(int opcode, int capacity)
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.
Definition ByteOrder.java:8
LE
Represents Little-endian.