//
// Created by sebastian on 06.08.26.
//

#ifndef COLORRACE_LUDONETWORKEVENTS_H
#define COLORRACE_LUDONETWORKEVENTS_H
#include <cstdint>
#include <string>
#include <variant>
#include <nlohmann/json_fwd.hpp>


struct ConnectRequest {
    std::string host;
    uint16_t port;
};

struct ConnectResult {
    bool success;
    std::string errorMessage;
};

using NetworkEvents = std::variant<ConnectRequest, ConnectResult>;
#endif //COLORRACE_LUDONETWORKEVENTS_H
