#pragma once #include "objects/annotation.h" #include "objects/base/service.h" // Container class for server scripts // Also handles/manages running server scripts on run class DEF_INST_SERVICE_(explorer_icon="server-scripts", hidden) ServerScriptService : public Service { AUTOGEN_PREAMBLE protected: void InitService() override; void OnRun() override; bool initialized = false; public: ServerScriptService(); ~ServerScriptService(); static inline std::shared_ptr Create() { return std::make_shared(); }; };