vc-online/src/online/OnlineData.h

6 lines
273 B
C

#pragma once
#include "../../vendor/nlohmann/json.hpp"
// Reads a data file of the online mode; a missing or broken file stops the game with a message.
nlohmann::json OnlineLoadJson(const char *path);
[[noreturn]] void OnlineDataError(const char *path, const char *what);