mirror of
https://github.com/HikikoMarmy/Champions-Reborn-Server.git
synced 2026-04-05 08:59:54 -03:00
Reorganized and cleaned up the solution.
This commit is contained in:
19
Source/Network/Event/NotifyReserveUserSlot_RTA.cpp
Normal file
19
Source/Network/Event/NotifyReserveUserSlot_RTA.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "NotifyReserveUserSlot_RTA.h"
|
||||
|
||||
NotifyReserveUserSlot_RTA::NotifyReserveUserSlot_RTA( int32_t memberId, std::string discoveryAddr, int32_t discoveryPort ) : GenericMessage( 0x51 )
|
||||
{
|
||||
this->m_discoveryAddr = discoveryAddr;
|
||||
this->m_port = discoveryPort;
|
||||
this->m_memberId = memberId;
|
||||
}
|
||||
|
||||
// This notification is nullsub.
|
||||
void NotifyReserveUserSlot_RTA::Serialize( ByteBuffer &out ) const
|
||||
{
|
||||
out.write_u16( m_packetId );
|
||||
out.write_u32( 0 );
|
||||
|
||||
out.write_u32( 0 );
|
||||
out.write_utf8( "" );
|
||||
out.write_u32( 0 );
|
||||
}
|
||||
Reference in New Issue
Block a user