mirror of
https://github.com/HikikoMarmy/Champions-Reborn-Server.git
synced 2026-04-04 16:49:47 -03:00
Reorganized and cleaned up the solution.
This commit is contained in:
28
Include/Network/Event/RequestMatchGame_RTA.hpp
Normal file
28
Include/Network/Event/RequestMatchGame_RTA.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "../GenericNetRequest.hpp"
|
||||
#include "../GenericNetResponse.hpp"
|
||||
|
||||
class RequestMatchGame_RTA : public GenericRequest
|
||||
{
|
||||
public:
|
||||
static std::unique_ptr< RequestMatchGame_RTA > Create()
|
||||
{
|
||||
return std::make_unique< RequestMatchGame_RTA >();
|
||||
}
|
||||
|
||||
sptr_generic_response ProcessRequest( sptr_socket socket, sptr_byte_stream stream ) override;
|
||||
void Deserialize( sptr_byte_stream stream ) override;
|
||||
};
|
||||
|
||||
class ResultMatchGame_RTA : public GenericResponse {
|
||||
private:
|
||||
std::string m_userIp;
|
||||
|
||||
public:
|
||||
ResultMatchGame_RTA( GenericRequest *request, std::string userIp );
|
||||
void Serialize( ByteBuffer &out ) const;
|
||||
};
|
||||
Reference in New Issue
Block a user