RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendNpcDisplay.java
1
package
com.osroyale.net.packet.out;
2
3
import
com.osroyale.game.world.entity.mob.player.Player;
4
import
com.osroyale.net.packet.OutgoingPacket;
5
26
27
public
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
}
com.osroyale.game.world.entity.mob.player.Player
Definition
Player.java:162