From ee296351c63f5ebce6c598c0ec03d686da299dd8 Mon Sep 17 00:00:00 2001 From: Faumaray Date: Mon, 20 Oct 2025 20:14:35 +0300 Subject: [PATCH] change context to owning Signed-off-by: Faumaray --- include/Mod/Context.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Mod/Context.hpp b/include/Mod/Context.hpp index dfcc818..a36b094 100644 --- a/include/Mod/Context.hpp +++ b/include/Mod/Context.hpp @@ -1,6 +1,6 @@ #pragma once #include -#include +#include 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}; };