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

Public Member Functions

boolean encode (Player player)
 SendWalkableInterface (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

Definition at line 6 of file SendWalkableInterface.java.

Constructor & Destructor Documentation

◆ SendWalkableInterface()

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

Definition at line 10 of file SendWalkableInterface.java.

10 {
11 super(208, 2);
12 this.id = id;
13 }

References id.

Member Function Documentation

◆ encode()

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

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

Definition at line 16 of file SendWalkableInterface.java.

16 {
17 builder.writeShort(id);
18 return true;
19 }

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

Member Data Documentation

◆ id

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

Definition at line 8 of file SendWalkableInterface.java.

Referenced by SendWalkableInterface().


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