Main object for the aegis packet: ZC_CHANGE_CHATROOM.
More...
#include <TransmittedPackets.hpp>
Main object for the aegis packet: ZC_CHANGE_CHATROOM.
◆ ZC_CHANGE_CHATROOM()
Horizon::Zone::ZC_CHANGE_CHATROOM::ZC_CHANGE_CHATROOM |
( |
std::shared_ptr< ZoneSession > |
s | ) |
|
|
inline |
22824 {}
@ ID_ZC_CHANGE_CHATROOM
Definition: TransmittedPackets.hpp:22796
◆ ~ZC_CHANGE_CHATROOM()
virtual Horizon::Zone::ZC_CHANGE_CHATROOM::~ZC_CHANGE_CHATROOM |
( |
| ) |
|
|
inlinevirtual |
◆ deliver()
void ZC_CHANGE_CHATROOM::deliver |
( |
int |
owner_id, |
|
|
int |
chat_id, |
|
|
int |
limit, |
|
|
int |
users, |
|
|
zc_change_chatroom_type |
type, |
|
|
std::string |
title |
|
) |
| |
ZC_CHANGE_CHATROOM.
910{
916 _type = (int8_t)type;
918
919}
#define CHATROOM_TITLE_SIZE
Definition: ClientDefinitions.hpp:360
int8_t _type
Definition: TransmittedPackets.hpp:22836
int _owner_id
Definition: TransmittedPackets.hpp:22832
char _title[CHATROOM_TITLE_SIZE]
Definition: TransmittedPackets.hpp:22837
int16_t _limit
Definition: TransmittedPackets.hpp:22834
int16_t _packet_length
Definition: TransmittedPackets.hpp:22831
int _chat_id
Definition: TransmittedPackets.hpp:22833
int16_t _users
Definition: TransmittedPackets.hpp:22835
References _chat_id, _limit, _owner_id, _packet_length, _title, _type, _users, and CHATROOM_TITLE_SIZE.
◆ serialize()
922{
932}
void append(T value)
Definition: ByteBuffer.hpp:140
uint16_t _packet_id
ID of the network packet.
Definition: NetworkPacket.hpp:87
ByteBuffer & buf()
Definition: NetworkPacket.hpp:59
References _chat_id, _limit, _owner_id, Horizon::Base::NetworkPacket< ZoneSession >::_packet_id, _packet_length, _title, _type, _users, ByteBuffer::append(), Horizon::Base::NetworkPacket< ZoneSession >::buf(), and CHATROOM_TITLE_SIZE.
◆ _chat_id
int Horizon::Zone::ZC_CHANGE_CHATROOM::_chat_id |
◆ _limit
int16_t Horizon::Zone::ZC_CHANGE_CHATROOM::_limit |
◆ _owner_id
int Horizon::Zone::ZC_CHANGE_CHATROOM::_owner_id |
◆ _packet_length
int16_t Horizon::Zone::ZC_CHANGE_CHATROOM::_packet_length { 0 } |
◆ _title
◆ _type
int8_t Horizon::Zone::ZC_CHANGE_CHATROOM::_type |
◆ _users
int16_t Horizon::Zone::ZC_CHANGE_CHATROOM::_users |
The documentation for this class was generated from the following files: