Files
VoidLoaderApi/include/Mod/Context.hpp
T
2025-10-20 20:14:35 +03:00

22 lines
531 B
C++

#pragma once
#include <cstdint>
#include <filesystem>
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::filesystem::path gameDir{}; // e.g., Minecraft instance dir
std::filesystem::path dataDir{}; // mod data/config directory
std::filesystem::path logDir{}; // mod data/logs directory
ApiVersion apiVersion{1, 0, 0};
};
} // namespace vl::log