RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendPlayerDialogueHead.java
1package com.osroyale.net.packet.out;
2
3import com.osroyale.net.codec.ByteModification;
4import com.osroyale.net.codec.ByteOrder;
5import com.osroyale.game.world.entity.mob.player.Player;
6import com.osroyale.net.packet.OutgoingPacket;
7
26
27public class SendPlayerDialogueHead extends OutgoingPacket {
28
29 private final int interfaceId;
30
31 public SendPlayerDialogueHead(int interfaceId) {
32 super(185, 2);
33 this.interfaceId = interfaceId;
34 }
35
36 @Override
37 public boolean encode(Player player) {
38 builder.writeShort(interfaceId, ByteModification.ADD, ByteOrder.LE);
39 return true;
40 }
41
42}