|
RuneHive-Game
|
Sends an enter text prompt to the player. More...
Public Member Functions | |
| boolean | encode (Player player) |
| SendEnterText (String prompt) | |
| 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 String | prompt |
Additional Inherited Members | |
| Protected Attributes inherited from com.runehive.net.packet.OutgoingPacket | |
| final PacketBuilder | builder |
Sends an enter text prompt to the player.
Allows typing text without space closing the interface.
Definition at line 15 of file SendEnterText.java.
| com.runehive.net.packet.out.SendEnterText.SendEnterText | ( | String | prompt | ) |
Definition at line 19 of file SendEnterText.java.
References prompt, and com.runehive.net.packet.PacketType.VAR_BYTE.
| boolean com.runehive.net.packet.out.SendEnterText.encode | ( | Player | player | ) |
Reimplemented from com.runehive.net.packet.OutgoingPacket.
Definition at line 25 of file SendEnterText.java.
References com.runehive.net.packet.OutgoingPacket.builder, and prompt.
|
private |
Definition at line 17 of file SendEnterText.java.
Referenced by encode(), and SendEnterText().