Fix match making.

"gameLocation" is actually "gameAddress".
This commit is contained in:
HikikoMarmy
2025-04-16 22:54:28 +01:00
parent 247cd434e5
commit b4dfb0666c
6 changed files with 20 additions and 22 deletions

View File

@@ -1,8 +1,6 @@
#include "../../global_define.h"
#include "RequestCreatePublicGame.h"
#include "NotifyGameDiscovered.h"
#include "NotifyClientDiscovered.h"
// Request
void RequestCreatePublicGame::Deserialize( sptr_byte_stream stream )

View File

@@ -39,9 +39,6 @@ sptr_generic_response RequestMatchGame::ProcessRequest( sptr_user user, sptr_byt
{
Deserialize( stream );
Log::Debug( "RequestMatchGame : %S", m_sessionId.c_str() );
Log::Packet( stream->data, stream->data.size(), false );
return std::make_shared< ResultMatchGame >( this );
}
@@ -62,7 +59,7 @@ ByteStream &ResultMatchGame::Serialize()
m_stream.write_u32( publicGameCount );
{
for( auto &game : publicGameList )
m_stream.write_utf16( game->m_gameLocation );
m_stream.write_utf16( game->m_gameAddress );
}
m_stream.write_u32( publicGameCount );