RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendPrivateMessageListStatus.java
1package com.osroyale.net.packet.out;
2
3import com.osroyale.game.world.entity.mob.player.Player;
4import com.osroyale.game.world.entity.mob.player.relations.PrivateMessageListStatus;
5import com.osroyale.net.packet.OutgoingPacket;
6
27
28public class SendPrivateMessageListStatus extends OutgoingPacket {
29
30 private final PrivateMessageListStatus status;
31
32 public SendPrivateMessageListStatus(PrivateMessageListStatus status) {
33 super(221, 1);
34 this.status = status;
35 }
36
37 @Override
38 public boolean encode(Player player) {
39 builder.writeByte(status.ordinal());
40 return true;
41 }
42
43}