|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
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. | |
Opt-in survey part of the network protocol.
Definition in file network_survey.cpp.