RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
SendURL.java
1
package
com.osroyale.net.packet.out;
2
3
import
com.osroyale.net.packet.OutgoingPacket;
4
import
com.osroyale.net.packet.PacketType;
5
import
com.osroyale.game.world.entity.mob.player.Player;
6
33
34
public
class
SendURL
extends
OutgoingPacket {
35
36
private
final
String link;
37
38
public
SendURL(String link) {
39
super(138,
PacketType
.
VAR_BYTE
);
40
this.link = link;
41
}
42
43
@Override
44
public
boolean
encode(
Player
player) {
45
builder.writeString(link);
46
return
true
;
47
}
48
49
}
com.osroyale.game.world.entity.mob.player.Player
Definition
Player.java:162
com.osroyale.net.packet.PacketType
Definition
PacketType.java:32
com.osroyale.net.packet.PacketType.VAR_BYTE
VAR_BYTE
Definition
PacketType.java:44