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