|
RuneHive-Game
|
Sends a player index to the client. More...
Public Member Functions | |
| boolean | encode (Player player) |
| SendPlayerIndex (int index) | |
| 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 int | index |
Additional Inherited Members | |
| Protected Attributes inherited from com.runehive.net.packet.OutgoingPacket | |
| final PacketBuilder | builder |
Sends a player index to the client.
Created by Daniel on 2016-12-04.
Definition at line 11 of file SendPlayerIndex.java.
| com.runehive.net.packet.out.SendPlayerIndex.SendPlayerIndex | ( | int | index | ) |
Definition at line 15 of file SendPlayerIndex.java.
References index.
| boolean com.runehive.net.packet.out.SendPlayerIndex.encode | ( | Player | player | ) |
Reimplemented from com.runehive.net.packet.OutgoingPacket.
Definition at line 21 of file SendPlayerIndex.java.
References com.runehive.net.packet.OutgoingPacket.builder, and index.
|
private |
Definition at line 13 of file SendPlayerIndex.java.
Referenced by encode(), and SendPlayerIndex().