Horizon Official Technical Documentation
|
|
Main object for the aegis packet: HC_DELETE_CHAR3_RESERVED. More...
#include <TransmittedPackets.hpp>
Public Member Functions | |
HC_DELETE_CHAR3_RESERVED (std::shared_ptr< CharSession > s) | |
virtual | ~HC_DELETE_CHAR3_RESERVED () |
void | deliver (uint32_t char_id, character_delete_result res, uint32_t date) |
HC_DELETE_CHAR3_RESERVED. More... | |
ByteBuffer & | serialize () |
![]() | |
NetworkPacket (uint16_t packet_id, std::shared_ptr< CharSession > s) | |
virtual | ~NetworkPacket () |
void | set_packet_id (uint16_t id) |
uint16_t | get_packet_id () |
ByteBuffer & | buf () |
std::shared_ptr< CharSession > | 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 | |
uint32_t | _character_id { 0 } |
character_delete_result | _result { CHAR_DEL_RESULT_UNKNOWN } |
uint32_t | _deletion_date { 0 } |
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: HC_DELETE_CHAR3_RESERVED.
|
inline |
|
inlinevirtual |
void HC_DELETE_CHAR3_RESERVED::deliver | ( | uint32_t | char_id, |
character_delete_result | res, | ||
uint32_t | date | ||
) |
References _character_id, _deletion_date, _result, serialize(), and Horizon::Base::NetworkPacket< CharSession >::transmit().
Referenced by Horizon::Char::CharClientInterface::character_delete_reserve().
ByteBuffer & HC_DELETE_CHAR3_RESERVED::serialize | ( | ) |
References _character_id, _deletion_date, Horizon::Base::NetworkPacket< CharSession >::_packet_id, _result, and Horizon::Base::NetworkPacket< CharSession >::buf().
Referenced by deliver().
uint32_t Horizon::Char::HC_DELETE_CHAR3_RESERVED::_character_id { 0 } |
Referenced by deliver(), and serialize().
uint32_t Horizon::Char::HC_DELETE_CHAR3_RESERVED::_deletion_date { 0 } |
Referenced by deliver(), and serialize().
character_delete_result Horizon::Char::HC_DELETE_CHAR3_RESERVED::_result { CHAR_DEL_RESULT_UNKNOWN } |
Referenced by deliver(), and serialize().