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

The OutgoingPacket that opens an itemcontainer for Player. More...

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

Public Member Functions

boolean encode (Player player)
 SendInterface (int interfaceId)
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 interfaceId

Additional Inherited Members

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

Detailed Description

The OutgoingPacket that opens an itemcontainer for Player.

Author
Daniel | Obey

Definition at line 11 of file SendInterface.java.

Constructor & Destructor Documentation

◆ SendInterface()

com.runehive.net.packet.out.SendInterface.SendInterface ( int interfaceId)

Definition at line 15 of file SendInterface.java.

15 {
16 super(97, 4);
17 this.interfaceId = interfaceId;
18 }

References interfaceId.

Member Function Documentation

◆ encode()

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

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

Definition at line 21 of file SendInterface.java.

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

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

Member Data Documentation

◆ interfaceId

final int com.runehive.net.packet.out.SendInterface.interfaceId
private

Definition at line 13 of file SendInterface.java.

Referenced by encode(), and SendInterface().


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