mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-21 04:07:01 +00:00
include optimization
This commit is contained in:
parent
915e9f75d1
commit
e757086465
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user