#pragma once

#include "packets/base/Packet.hpp"
#include "Context.hpp"


namespace drp::event {


class BaseEvent {
public:
    virtual ~BaseEvent() = default;
    virtual void handle(
        Context& context,
        std::vector<std::uint8_t>& data,
        const sockaddr_storage& fromAddress,
        socklen_t fromAddressLength
    ) = 0;
};


}
