1package com.runehive.net.packet.out;
2import com.runehive.net.packet.OutgoingPacket;
3import com.runehive.net.packet.PacketType;
4import com.runehive.net.codec.ByteModification;
5import com.runehive.game.world.entity.mob.player.Player;
7import java.util.Optional;
8import java.util.function.Consumer;
22 private final Consumer<String>
action;
29 this.inputMessage = message;
30 this.inputLength = length;
35 player.enterInputListener = Optional.of(
action);
This class represents a character controlled by a player.
final PacketBuilder builder
OutgoingPacket(int opcode, int capacity)
Represents a type of packet.
VAR_BYTE
A variable packet where the size is indicated by a byte.