RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.net.packet.out.SendPlayerDisplay Class Reference

Send other player index on itemcontainer. More...

Inheritance diagram for com.runehive.net.packet.out.SendPlayerDisplay:
Collaboration diagram for com.runehive.net.packet.out.SendPlayerDisplay:

Public Member Functions

boolean encode (Player player)
 SendPlayerDisplay (int id)
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 id

Additional Inherited Members

Protected Attributes inherited from com.runehive.net.packet.OutgoingPacket
final PacketBuilder builder

Detailed Description

Send other player index on itemcontainer.

Author
Daniel

Definition at line 11 of file SendPlayerDisplay.java.

Constructor & Destructor Documentation

◆ SendPlayerDisplay()

com.runehive.net.packet.out.SendPlayerDisplay.SendPlayerDisplay ( int id)

Definition at line 15 of file SendPlayerDisplay.java.

15 {
16 super(201, 4);
17 this.id = id;
18 }

References id.

Member Function Documentation

◆ encode()

boolean com.runehive.net.packet.out.SendPlayerDisplay.encode ( Player player)

Reimplemented from com.runehive.net.packet.OutgoingPacket.

Definition at line 21 of file SendPlayerDisplay.java.

21 {
22 builder.writeInt(id);
23 return true;
24 }

References com.runehive.net.packet.OutgoingPacket.builder.

Member Data Documentation

◆ id

final int com.runehive.net.packet.out.SendPlayerDisplay.id
private

Definition at line 13 of file SendPlayerDisplay.java.

Referenced by SendPlayerDisplay().


The documentation for this class was generated from the following file: