diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-11-24 03:00:38 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-11-24 03:00:38 -0600 |
| commit | 714b555d13ee1f2cfe107353dbfd76b81c993b62 (patch) | |
| tree | 872ad2ee9e096e5f55ef9279435ea958b7ee8be6 /src/Companion.h | |
| parent | de6b8fa447b6db093c95375e9b4ca82878f04c90 (diff) | |
Added XML Extraction
Diffstat (limited to 'src/Companion.h')
| -rw-r--r-- | src/Companion.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Companion.h b/src/Companion.h index eb51783..6f14708 100644 --- a/src/Companion.h +++ b/src/Companion.h @@ -154,6 +154,7 @@ public: static void Pack(const std::string& folder, const std::string& output); std::string NormalizeAsset(const std::string& name) const; std::string RelativePath(const std::string& path) const; + void RegisterCompanionFile(const std::string path, std::vector<char> data); TorchConfig& GetConfig() { return this->gConfig; } SWrapper* GetCurrentWrapper() { return this->gCurrentWrapper; } @@ -190,6 +191,7 @@ private: std::vector<std::string> gCurrentExternalFiles; std::unordered_set<std::string> gProcessedFiles; + std::unordered_map<std::string, std::vector<char>> gCompanionFiles; std::unordered_map<std::string, std::vector<ParseResultData>> gParseResults; std::unordered_map<std::string, std::string> gModdedAssetPaths; |
