Horizon Official Technical Documentation
|
|
Main object for the aegis packet: ZC_STATUS. More...
#include <TransmittedPackets.hpp>
Public Member Functions | |
ZC_STATUS (std::shared_ptr< ZoneSession > s) | |
virtual | ~ZC_STATUS () |
void | deliver (zc_status_data &data) |
ZC_STATUS. More... | |
ByteBuffer & | serialize () |
![]() | |
NetworkPacket (uint16_t packet_id, std::shared_ptr< ZoneSession > s) | |
virtual | ~NetworkPacket () |
void | set_packet_id (uint16_t id) |
uint16_t | get_packet_id () |
ByteBuffer & | buf () |
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... | |
Public Attributes | |
zc_status_data | _data |
Additional Inherited Members | |
![]() | |
ByteBuffer | _buffer |
Buffer storage facility for the packet stream. More... | |
uint16_t | _packet_id |
ID of the network packet. More... | |
Main object for the aegis packet: ZC_STATUS.
|
inline |
|
inlinevirtual |
void ZC_STATUS::deliver | ( | zc_status_data & | data | ) |
References _data, serialize(), and Horizon::Base::NetworkPacket< ZoneSession >::transmit().
Referenced by Horizon::Zone::ZoneClientInterface::notify_initial_status().
ByteBuffer & ZC_STATUS::serialize | ( | ) |
References _data, Horizon::Base::NetworkPacket< ZoneSession >::_packet_id, Horizon::Zone::zc_status_data::agility, Horizon::Zone::zc_status_data::agility_req_stats, Horizon::Zone::zc_status_data::attack_speed, Horizon::Base::NetworkPacket< ZoneSession >::buf(), Horizon::Zone::zc_status_data::critical, Horizon::Zone::zc_status_data::dexterity, Horizon::Zone::zc_status_data::dexterity_req_stats, Horizon::Zone::zc_status_data::equip_atk, Horizon::Zone::zc_status_data::equip_matk, Horizon::Zone::zc_status_data::flee, Horizon::Zone::zc_status_data::hard_def, Horizon::Zone::zc_status_data::hard_mdef, Horizon::Zone::zc_status_data::hit, Horizon::Zone::zc_status_data::intelligence, Horizon::Zone::zc_status_data::intelligence_req_stats, Horizon::Zone::zc_status_data::luck, Horizon::Zone::zc_status_data::luck_req_stats, Horizon::Zone::zc_status_data::perfect_dodge, Horizon::Zone::zc_status_data::plus_aspd, Horizon::Zone::zc_status_data::soft_def, Horizon::Zone::zc_status_data::soft_mdef, Horizon::Zone::zc_status_data::status_atk, Horizon::Zone::zc_status_data::status_matk, Horizon::Zone::zc_status_data::status_points, Horizon::Zone::zc_status_data::strength, Horizon::Zone::zc_status_data::strength_req_stats, Horizon::Zone::zc_status_data::vitality, and Horizon::Zone::zc_status_data::vitality_req_stats.
Referenced by deliver().
zc_status_data Horizon::Zone::ZC_STATUS::_data |
Referenced by deliver(), and serialize().