RuneHive-Game
Loading...
Searching...
No Matches
SendExpCounterSetting.java
Go to the documentation of this file.
1package com.runehive.net.packet.out;
2
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.net.packet.OutgoingPacket;
5
7
8 private final int type;
9 private final int modification;
10
12 super(103, 8);
13 this.type = type;
14 this.modification = modification;
15 }
16
17 @Override
18 public boolean encode(Player player) {
19 builder.writeInt(type)
20 .writeInt(modification);
21 return true;
22 }
23
24}
This class represents a character controlled by a player.
Definition Player.java:125
OutgoingPacket(int opcode, int capacity)