OpenTTD Source 20260208-master-g43af8e94d0
network_survey.cpp File Reference

Opt-in survey part of the network protocol. More...

#include "../stdafx.h"
#include "network_survey.h"
#include "../settings_table.h"
#include "network.h"
#include "network_func.h"
#include "../debug.h"
#include "../survey.h"
#include "../3rdparty/fmt/chrono.h"
#include "../3rdparty/fmt/std.h"
#include "../safeguards.h"

Go to the source code of this file.

Functions

 NLOHMANN_JSON_SERIALIZE_ENUM (NetworkSurveyHandler::Reason, { {NetworkSurveyHandler::Reason::Preview, "preview"}, {NetworkSurveyHandler::Reason::Leave, "leave"}, {NetworkSurveyHandler::Reason::Exit, "exit"}, {NetworkSurveyHandler::Reason::Crash, "crash"}, }) NetworkSurveyHandler _survey
 Mapping to a string representation of the Reason enumeration.

Detailed Description

Opt-in survey part of the network protocol.

Definition in file network_survey.cpp.