Deleting nullsub notify packet.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#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 );
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "../GenericNetMessage.h"
|
||||
|
||||
class NotifyReserveUserSlot_RTA : public GenericMessage {
|
||||
private:
|
||||
std::string m_discoveryAddr;
|
||||
int32_t m_port;
|
||||
int32_t m_memberId;
|
||||
|
||||
public:
|
||||
NotifyReserveUserSlot_RTA( int32_t memberId, std::string discoveryAddr, int32_t discoveryPort );
|
||||
void Serialize(ByteBuffer &out) const override;
|
||||
};
|
||||
Reference in New Issue
Block a user