Horizon Official Technical Documentation
Horizon::Zone::ZC_OVERWEIGHT_PERCENT Class Reference

Main object for the aegis packet: ZC_OVERWEIGHT_PERCENT. More...

#include <TransmittedPackets.hpp>

+ Inheritance diagram for Horizon::Zone::ZC_OVERWEIGHT_PERCENT:
+ Collaboration diagram for Horizon::Zone::ZC_OVERWEIGHT_PERCENT:

Public Member Functions

 ZC_OVERWEIGHT_PERCENT (std::shared_ptr< ZoneSession > s)
 
virtual ~ZC_OVERWEIGHT_PERCENT ()
 
void deliver ()
 ZC_OVERWEIGHT_PERCENT. More...
 
ByteBufferserialize ()
 
- Public Member Functions inherited from Horizon::Base::NetworkPacket< ZoneSession >
 NetworkPacket (uint16_t packet_id, std::shared_ptr< ZoneSession > s)
 
virtual ~NetworkPacket ()
 
void set_packet_id (uint16_t id)
 
uint16_t get_packet_id ()
 
ByteBufferbuf ()
 
std::shared_ptr< ZoneSession > get_session ()
 Retrieves the session from this handler instance. More...
 
virtual void handle (ByteBuffer &&buf)
 
virtual void deserialize (ByteBuffer &buf)
 
void transmit ()
 Send an Asynchronous packet by queueing a buffer of a particular size to the connected session. More...
 
void transmit (std::size_t size)
 Send an Asynchronous packet by queueing a buffer of a particular size to the connected session. More...
 

Additional Inherited Members

- Protected Attributes inherited from Horizon::Base::NetworkPacket< ZoneSession >
ByteBuffer _buffer
 Buffer storage facility for the packet stream. More...
 
uint16_t _packet_id
 ID of the network packet. More...
 

Detailed Description

Main object for the aegis packet: ZC_OVERWEIGHT_PERCENT.

Constructor & Destructor Documentation

◆ ZC_OVERWEIGHT_PERCENT()

Horizon::Zone::ZC_OVERWEIGHT_PERCENT::ZC_OVERWEIGHT_PERCENT ( std::shared_ptr< ZoneSession s)
inline
36630 : NetworkPacket<ZoneSession>(ID_ZC_OVERWEIGHT_PERCENT, s)
36631 {}
@ ID_ZC_OVERWEIGHT_PERCENT
Definition: TransmittedPackets.hpp:36606

◆ ~ZC_OVERWEIGHT_PERCENT()

virtual Horizon::Zone::ZC_OVERWEIGHT_PERCENT::~ZC_OVERWEIGHT_PERCENT ( )
inlinevirtual
36632{}

Member Function Documentation

◆ deliver()

void ZC_OVERWEIGHT_PERCENT::deliver ( )

◆ serialize()

ByteBuffer & ZC_OVERWEIGHT_PERCENT::serialize ( )
6480{
6481 return buf();
6482}
ByteBuffer & buf()
Definition: NetworkPacket.hpp:59

References Horizon::Base::NetworkPacket< ZoneSession >::buf().

+ Here is the call graph for this function:

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