include optimization

This commit is contained in:
David Markowitz 2025-01-02 20:28:03 -08:00
parent 915e9f75d1
commit e757086465
3 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,10 @@
#include "PlayerContainer.h"
#include "GeneralUtils.h"
#include "json.hpp"
using json = nlohmann::json;
typedef struct mg_connection mg_connection;
typedef struct mg_http_message mg_http_message;

View File

@ -2,10 +2,6 @@
#define CHATWEBAPI_H
#include "mongoose.h"
#include "json_fwd.hpp"
#include "GeneralUtils.h"
using json = nlohmann::json;
typedef struct mg_mgr mg_mgr;

View File

@ -13,6 +13,8 @@
#include "dConfig.h"
#include "MessageType/Chat.h"
#include "json.hpp"
using json = nlohmann::json;
void to_json(json& data, const PlayerData& playerData) {