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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file SendRunEnergy.java.

Constructor & Destructor Documentation

◆ SendRunEnergy()

com.runehive.net.packet.out.SendRunEnergy.SendRunEnergy ( )

Definition at line 8 of file SendRunEnergy.java.

8 {
9 super(110, 1);
10 }

Member Function Documentation

◆ encode()

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

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

Definition at line 13 of file SendRunEnergy.java.

13 {
14 builder.writeByte(player.runEnergy);
15 return true;
16 }

References com.runehive.net.packet.OutgoingPacket.builder, and com.runehive.game.world.entity.mob.player.Player.runEnergy.


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