4 files changed
+101
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user