RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.net.packet.out.SendMultiIcon Class Reference
Inheritance diagram for com.runehive.net.packet.out.SendMultiIcon:
Collaboration diagram for com.runehive.net.packet.out.SendMultiIcon:

Public Member Functions

boolean encode (Player player)
 SendMultiIcon (int icon)
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 icon

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file SendMultiIcon.java.

Constructor & Destructor Documentation

◆ SendMultiIcon()

com.runehive.net.packet.out.SendMultiIcon.SendMultiIcon ( int icon)

Definition at line 10 of file SendMultiIcon.java.

10 {
11 super(61, 1);
12 this.icon = icon;
13 }

References icon.

Member Function Documentation

◆ encode()

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

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

Definition at line 16 of file SendMultiIcon.java.

16 {
17 builder.writeByte(icon);
18 return true;
19 }

References com.runehive.net.packet.OutgoingPacket.builder, and icon.

Member Data Documentation

◆ icon

final int com.runehive.net.packet.out.SendMultiIcon.icon
private

Definition at line 8 of file SendMultiIcon.java.

Referenced by encode(), and SendMultiIcon().


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