RuneHive-Game
Loading...
Searching...
No Matches
SendMultiIcon.java
Go to the documentation of this file.
1package com.runehive.net.packet.out;
2
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.net.packet.OutgoingPacket;
5
6public class SendMultiIcon extends OutgoingPacket {
7
8 private final int icon;
9
10 public SendMultiIcon(int icon) {
11 super(61, 1);
12 this.icon = icon;
13 }
14
15 @Override
16 public boolean encode(Player player) {
17 builder.writeByte(icon);
18 return true;
19 }
20
21}
This class represents a character controlled by a player.
Definition Player.java:125
OutgoingPacket(int opcode, int capacity)