change context to owning

Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2025-10-20 20:14:35 +03:00
1 parent e3bf2d4683
commit ee296351c6
1 file changed
+4 -4
+4 -4
View File
@@ -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};
};