mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 20:08:21 +00:00
normalize includes: zone
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "sidecar_api.h"
|
||||
#include "../../common/json/json.hpp"
|
||||
#include "../zone.h"
|
||||
|
||||
#include "common/json/json.hpp"
|
||||
#include "zone/zone.h"
|
||||
|
||||
extern Zone *zone;
|
||||
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
#include "sidecar_api.h"
|
||||
#include "../../common/http/httplib.h"
|
||||
#include "../../common/eqemu_logsys.h"
|
||||
#include "../zonedb.h"
|
||||
#include "../../common/process.h"
|
||||
#include "../common.h"
|
||||
#include "../zone.h"
|
||||
#include "../client.h"
|
||||
#include "../../common/json/json.hpp"
|
||||
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/file.h"
|
||||
#include "common/http/httplib.h"
|
||||
#include "common/json/json.hpp"
|
||||
#include "common/process.h"
|
||||
#include "zone/client.h"
|
||||
#include "zone/common.h"
|
||||
#include "zone/zone.h"
|
||||
#include "zone/zonedb.h"
|
||||
|
||||
#include <csignal>
|
||||
|
||||
void CatchSidecarSignal(int sig_num)
|
||||
@@ -49,8 +52,6 @@ void SidecarApi::MapBestZController(const httplib::Request& req, httplib::Respon
|
||||
|
||||
}
|
||||
|
||||
#include "../../common/file.h"
|
||||
|
||||
constexpr static int HTTP_RESPONSE_OK = 200;
|
||||
constexpr static int HTTP_RESPONSE_BAD_REQUEST = 400;
|
||||
constexpr static int HTTP_RESPONSE_UNAUTHORIZED = 401;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef EQEMU_SIDECAR_API_H
|
||||
#define EQEMU_SIDECAR_API_H
|
||||
|
||||
#include "../../common/http/httplib.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/http/httplib.h"
|
||||
|
||||
class SidecarApi {
|
||||
public:
|
||||
@@ -12,6 +12,3 @@ public:
|
||||
static void LootSimulatorController(const httplib::Request &req, httplib::Response &res);
|
||||
static void MapBestZController(const httplib::Request &req, httplib::Response &res);
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_SIDECAR_API_H
|
||||
|
||||
Reference in New Issue
Block a user