Horizon Official Technical Documentation
|
|
Main object for the aegis packet: ZC_MSG_STATE_CHANGE2. More...
#include <TransmittedPackets.hpp>
Public Member Functions | |
ZC_MSG_STATE_CHANGE2 (std::shared_ptr< ZoneSession > s) | |
virtual | ~ZC_MSG_STATE_CHANGE2 () |
void | deliver (int16_t si_type, int32_t guid, int8_t state, int32_t time_remaining, int32_t val1, int32_t val2, int32_t val3) |
ZC_MSG_STATE_CHANGE2. 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 | |
int16_t | _index {0} |
int32_t | _guid {0} |
int8_t | _state {0} |
int32_t | _time_remaining {0} |
int32_t | _val1 {0} |
int32_t | _val2 {0} |
int32_t | _val3 {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: ZC_MSG_STATE_CHANGE2.
|
inline |
|
inlinevirtual |
void ZC_MSG_STATE_CHANGE2::deliver | ( | int16_t | si_type, |
int32_t | guid, | ||
int8_t | state, | ||
int32_t | time_remaining, | ||
int32_t | val1, | ||
int32_t | val2, | ||
int32_t | val3 | ||
) |
References _guid, _index, _state, _time_remaining, _val1, _val2, _val3, serialize(), and Horizon::Base::NetworkPacket< ZoneSession >::transmit().
Referenced by Horizon::Zone::ZoneClientInterface::notify_status_change().
ByteBuffer & ZC_MSG_STATE_CHANGE2::serialize | ( | ) |
References _guid, _index, Horizon::Base::NetworkPacket< ZoneSession >::_packet_id, _state, _time_remaining, _val1, _val2, _val3, and Horizon::Base::NetworkPacket< ZoneSession >::buf().
Referenced by deliver().
int32_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_guid {0} |
Referenced by deliver(), and serialize().
int16_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_index {0} |
Referenced by deliver(), and serialize().
int8_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_state {0} |
Referenced by deliver(), and serialize().
int32_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_time_remaining {0} |
Referenced by deliver(), and serialize().
int32_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_val1 {0} |
Referenced by deliver(), and serialize().
int32_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_val2 {0} |
Referenced by deliver(), and serialize().
int32_t Horizon::Zone::ZC_MSG_STATE_CHANGE2::_val3 {0} |
Referenced by deliver(), and serialize().