|
RuneHive-Game
|
Sends an input dialogue. More...
Public Member Functions | |
| boolean | encode (Player player) |
| SendInputAmount (Consumer< String > action) | |
| SendInputAmount (String message, int length, Consumer< String > action) | |
| Public Member Functions inherited from com.runehive.net.packet.OutgoingPacket | |
| void | execute (Player player) |
| OutgoingPacket (int opcode, int capacity) | |
| OutgoingPacket (int opcode, PacketType type) | |
| OutgoingPacket (int opcode, PacketType type, int size) | |
Private Attributes | |
| final Consumer< String > | action |
| final int | inputLength |
| final String | inputMessage |
Additional Inherited Members | |
| Protected Attributes inherited from com.runehive.net.packet.OutgoingPacket | |
| final PacketBuilder | builder |
Sends an input dialogue.
Definition at line 17 of file SendInputAmount.java.
| com.runehive.net.packet.out.SendInputAmount.SendInputAmount | ( | Consumer< String > | action | ) |
Definition at line 23 of file SendInputAmount.java.
References action.
| com.runehive.net.packet.out.SendInputAmount.SendInputAmount | ( | String | message, |
| int | length, | ||
| Consumer< String > | action ) |
Definition at line 27 of file SendInputAmount.java.
References action, and com.runehive.net.packet.PacketType.VAR_SHORT.
| boolean com.runehive.net.packet.out.SendInputAmount.encode | ( | Player | player | ) |
Reimplemented from com.runehive.net.packet.OutgoingPacket.
Definition at line 35 of file SendInputAmount.java.
References action, com.runehive.net.codec.ByteModification.ADD, com.runehive.net.packet.OutgoingPacket.builder, inputLength, and inputMessage.
|
private |
Definition at line 19 of file SendInputAmount.java.
Referenced by encode(), SendInputAmount(), and SendInputAmount().
|
private |
Definition at line 21 of file SendInputAmount.java.
Referenced by encode().
|
private |
Definition at line 20 of file SendInputAmount.java.
Referenced by encode().