This commit is contained in:
2025-08-11 00:17:32 +06:00
parent e5c6eb874a
commit efcf8daf7e
4 changed files with 480 additions and 158 deletions

View File

@@ -38,6 +38,7 @@ struct ModRequest {
struct ModInfo {
std::string Id, Name, Description, Author;
std::vector<std::string> AlternativeIds;
std::array<uint32_t, 4> Version;
std::vector<ModRequest> Dependencies, Optional;
float LoadPriority;
@@ -301,10 +302,6 @@ class GameServer : public AsyncObject {
// Идентификатор текущегго мода, находящевося в обработке
std::string CurrentModId;
struct {
};
public:
GameServer(asio::io_context &ioc, fs::path worldPath);
virtual ~GameServer();
@@ -338,6 +335,8 @@ private:
void prerun();
void run();
DefNode_t createNodeProfileByLua(const sol::table& profile);
void initLuaPre();
void initLua();