feat: migrate to LeviLamina
This commit is contained in:
+8
-13
@@ -1,19 +1,15 @@
|
||||
#pragma once
|
||||
#include "Config.h"
|
||||
#include "Plugin.h"
|
||||
#include "include_all.h"
|
||||
#include <GMLIB/Files/JsonConfig.h>
|
||||
#include <GMLIB/Files/JsonLanguage.h>
|
||||
#include <GMLIB/Server/ActorAPI.h>
|
||||
#include <GMLIB/Server/LevelAPI.h>
|
||||
#include <include_all.h>
|
||||
|
||||
#define S(x) std::to_string(x)
|
||||
|
||||
extern ll::Logger logger;
|
||||
extern void RegisterCommands();
|
||||
extern void UnregisterCommands();
|
||||
|
||||
extern ll::Logger logger;
|
||||
extern GMLIB::Files::JsonConfig* Config;
|
||||
|
||||
extern void RegisterCommands();
|
||||
extern void initPlugin();
|
||||
|
||||
extern int item_despawn_time;
|
||||
|
||||
namespace Cleaner {
|
||||
@@ -21,12 +17,11 @@ namespace Cleaner {
|
||||
static std::shared_ptr<ll::schedule::task::Task<ll::chrono::ServerClock>> mAutoCleanTask;
|
||||
static std::shared_ptr<ll::schedule::task::Task<ll::chrono::ServerClock>> mCheckCleanTask;
|
||||
|
||||
extern void loadConfig();
|
||||
extern void loadCleaner();
|
||||
extern void unloadCleaner();
|
||||
extern void reloadCleaner();
|
||||
extern void CleanTask(int time, int announce_time);
|
||||
extern void CleanTask();
|
||||
|
||||
} // namespace Cleaner
|
||||
|
||||
extern std::string tr(std::string key, std::vector<std::string> data = {});
|
||||
extern std::string tr(std::string key, std::vector<std::string> data = {});
|
||||
Reference in New Issue
Block a user