Main object for the aegis packet: ZC_ROOM_NEWENTRY.
More...
#include <TransmittedPackets.hpp>
Main object for the aegis packet: ZC_ROOM_NEWENTRY.
◆ ZC_ROOM_NEWENTRY()
Horizon::Zone::ZC_ROOM_NEWENTRY::ZC_ROOM_NEWENTRY |
( |
std::shared_ptr< ZoneSession > |
s | ) |
|
|
inline |
41465 {}
@ ID_ZC_ROOM_NEWENTRY
Definition: TransmittedPackets.hpp:41437
◆ ~ZC_ROOM_NEWENTRY()
virtual Horizon::Zone::ZC_ROOM_NEWENTRY::~ZC_ROOM_NEWENTRY |
( |
| ) |
|
|
inlinevirtual |
◆ deliver()
void ZC_ROOM_NEWENTRY::deliver |
( |
int |
owner_id, |
|
|
int |
char_id, |
|
|
int |
limit, |
|
|
int |
users, |
|
|
int |
type, |
|
|
std::string |
title |
|
) |
| |
ZC_ROOM_NEWENTRY.
2836{
2844
2847}
#define CHATROOM_TITLE_SIZE
Definition: ClientDefinitions.hpp:360
void transmit()
Send an Asynchronous packet by queueing a buffer of a particular size to the connected session.
Definition: NetworkPacket.hpp:94
ByteBuffer & serialize()
Definition: TransmittedPackets.cpp:2849
int _owner_id
Definition: TransmittedPackets.hpp:41473
int _char_id
Definition: TransmittedPackets.hpp:41474
int8_t _type
Definition: TransmittedPackets.hpp:41477
int16_t _packet_length
Definition: TransmittedPackets.hpp:41472
int16_t _users
Definition: TransmittedPackets.hpp:41476
char _title[CHATROOM_TITLE_SIZE]
Definition: TransmittedPackets.hpp:41478
int16_t _limit
Definition: TransmittedPackets.hpp:41475
References _char_id, _limit, _owner_id, _packet_length, _title, _type, _users, CHATROOM_TITLE_SIZE, serialize(), and Horizon::Base::NetworkPacket< ZoneSession >::transmit().
◆ serialize()
2850{
2859
2861}
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 _char_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.
Referenced by deliver().
◆ _char_id
int Horizon::Zone::ZC_ROOM_NEWENTRY::_char_id { 0 } |
◆ _limit
int16_t Horizon::Zone::ZC_ROOM_NEWENTRY::_limit { 0 } |
◆ _owner_id
int Horizon::Zone::ZC_ROOM_NEWENTRY::_owner_id { 0 } |
◆ _packet_length
int16_t Horizon::Zone::ZC_ROOM_NEWENTRY::_packet_length { 0 } |
◆ _title
◆ _type
int8_t Horizon::Zone::ZC_ROOM_NEWENTRY::_type { 0 } |
◆ _users
int16_t Horizon::Zone::ZC_ROOM_NEWENTRY::_users { 0 } |
The documentation for this class was generated from the following files: