Deleting nullsub notify packet.

This commit is contained in:
HikikoMarmy
2025-07-16 08:26:37 +01:00
parent 2fb47ce46e
commit b44ad1a459
4 changed files with 7 additions and 41 deletions

View File

@@ -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 );
}

View File

@@ -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;
};