22 lines
531 B
C++
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
|