RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendPlayerDisplay.java
1package com.osroyale.net.packet.out;
2
3import com.osroyale.game.world.entity.mob.player.Player;
4import com.osroyale.net.packet.OutgoingPacket;
5
31
32public class SendPlayerDisplay extends OutgoingPacket {
33
34 private final int id;
35
36 public SendPlayerDisplay(int id) {
37 super(201, 4);
38 this.id = id;
39 }
40
41 @Override
42 public boolean encode(Player player) {
43 builder.writeInt(id);
44 return true;
45 }
46
47}