feat: add more feature

This commit is contained in:
Tsubasa6848
2024-01-05 22:13:21 +08:00
Unverified
parent 57f70fac0c
commit 87a671899a
6 changed files with 103 additions and 28 deletions
+2
View File
@@ -7,6 +7,7 @@ extern void RegisterCommands();
extern void UnregisterCommands();
static std::shared_ptr<ll::schedule::task::Task<ll::chrono::GameTimeClock>> auto_clean_task;
static std::shared_ptr<ll::schedule::task::Task<ll::chrono::GameTimeClock>> check_clean_task;
extern int item_despawn_time;
namespace Cleaner {
extern void CleanTask(int time, int announce_time);
@@ -18,4 +19,5 @@ namespace TPS {
extern void CaculateTPS();
extern float getCurrentTps();
extern float getAverageTps();
extern float getMspt();
}