RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendPlayerDisplay.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
31
32
public
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
}
com.osroyale.game.world.entity.mob.player.Player
Definition
Player.java:162