1 file changed
+4
-4
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <string_view>
|
||||
#include <filesystem>
|
||||
|
||||
namespace vl::mod {
|
||||
|
||||
@@ -12,9 +12,9 @@ struct ApiVersion {
|
||||
|
||||
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
|
||||
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};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user