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

Makes a tab blink/flash. More...

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

Public Member Functions

boolean encode (Player player)
 SendTabBlink (int tab)
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

int tab

Additional Inherited Members

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

Detailed Description

Makes a tab blink/flash.

Author
Daniel

Definition at line 11 of file SendTabBlink.java.

Constructor & Destructor Documentation

◆ SendTabBlink()

com.runehive.net.packet.out.SendTabBlink.SendTabBlink ( int tab)

Definition at line 15 of file SendTabBlink.java.

15 {
16 super(24, 1);
17 this.tab = tab;
18 }

References tab.

Member Function Documentation

◆ encode()

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

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

Definition at line 21 of file SendTabBlink.java.

21 {
22 builder.writeByte(tab);
23 return true;
24 }

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

Member Data Documentation

◆ tab

int com.runehive.net.packet.out.SendTabBlink.tab
private

Definition at line 13 of file SendTabBlink.java.

Referenced by encode(), and SendTabBlink().


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