RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendExpCounterSetting.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 SendExpCounterSetting extends OutgoingPacket {
28
29 private final int type;
30 private final int modification;
31
32 public SendExpCounterSetting(int type, int modification) {
33 super(103, 8);
34 this.type = type;
35 this.modification = modification;
36 }
37
38 @Override
39 public boolean encode(Player player) {
40 builder.writeInt(type)
41 .writeInt(modification);
42 return true;
43 }
44
45}