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

Public Member Functions

boolean encode (Player player)
 SendZoom (int zoom)
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 zoom

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file SendZoom.java.

Constructor & Destructor Documentation

◆ SendZoom()

com.runehive.net.packet.out.SendZoom.SendZoom ( int zoom)

Definition at line 10 of file SendZoom.java.

10 {
11 super(139, 2);
12 this.zoom = zoom;
13 }

References zoom.

Member Function Documentation

◆ encode()

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

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

Definition at line 16 of file SendZoom.java.

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

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

Member Data Documentation

◆ zoom

final int com.runehive.net.packet.out.SendZoom.zoom
private

Definition at line 8 of file SendZoom.java.

Referenced by encode(), and SendZoom().


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