Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2025-10-20 00:32:43 +03:00
1 parent 23e5da53ba
commit e84b2691cf
4 files changed
+101

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include <cstdint>
#include <string_view>
namespace vl::mod {
struct ApiVersion {
std::uint8_t major;
std::uint8_t minor;
std::uint8_t patch;
};
struct Context {
// Example fields (optional, can be nullptr/0 if not provided by Core)
std::string_view gameDir{}; // e.g., Minecraft instance dir
std::string_view dataDir{}; // mod data/config directory
std::string_view logDir{}; // mod data/logs directory
ApiVersion apiVersion{1, 0, 0};
};
} // namespace vl::log