RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendNpcDisplay.java
1package com.osroyale.net.packet.out;
2
3import com.osroyale.game.world.entity.mob.player.Player;
4import com.osroyale.net.packet.OutgoingPacket;
5
26
27public class SendNpcDisplay extends OutgoingPacket {
28
29 private final int npc;
30 private final int size;
31
32 public SendNpcDisplay(int npc, int size) {
33 super(198, 0);
34 this.npc = npc;
35 this.size = size;
36 }
37
38 @Override
39 public boolean encode(Player player) {
40 return false;
41 //Changes size of npc on client. gotta redo
42// builder.writeInt(npc).writeInt(size);
43// player.channel.ifPresent(s -> s.submit(builder));
44 }
45
46}