RuneHive-Game
Loading...
Searching...
No Matches
SendPrivateMessageListStatus.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.game.world.entity.mob.player.relations.PrivateMessageListStatus;
5import com.runehive.net.packet.OutgoingPacket;
6
8
10
12 super(221, 1);
13 this.status = status;
14 }
15
16 @Override
17 public boolean encode(Player player) {
18 builder.writeByte(status.ordinal());
19 return true;
20 }
21
22}
This class represents a character controlled by a player.
Definition Player.java:125
OutgoingPacket(int opcode, int capacity)