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