aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/rpakfilesystem.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-08-24 00:32:31 +0100
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-08-25 21:32:55 +0200
commit46bed8d09f32360377350d71816a76abdfbf2c7c (patch)
tree7feedae4910dbfe0e53d26ea1e00c4616d2c1850 /NorthstarDedicatedTest/rpakfilesystem.h
parenta97f1f07bb5aa31629cd87023e09669eb4bf1fe9 (diff)
downloadNorthstarLauncher-46bed8d09f32360377350d71816a76abdfbf2c7c.tar.gz
NorthstarLauncher-46bed8d09f32360377350d71816a76abdfbf2c7c.zip
Adjust folder structure (#242)v1.9.5-rc1v1.9.5
* Adjust folder structure * change launcher directory name
Diffstat (limited to 'NorthstarDedicatedTest/rpakfilesystem.h')
-rw-r--r--NorthstarDedicatedTest/rpakfilesystem.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/NorthstarDedicatedTest/rpakfilesystem.h b/NorthstarDedicatedTest/rpakfilesystem.h
deleted file mode 100644
index 12ef983e..00000000
--- a/NorthstarDedicatedTest/rpakfilesystem.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-void InitialiseEngineRpakFilesystem(HMODULE baseAddress);
-
-class PakLoadManager
-{
- public:
- void LoadPakSync(const char* path);
- void LoadPakAsync(const char* path, bool bMarkForUnload);
- void UnloadPaks();
-
- bool IsPakLoaded(int32_t pakHandle);
- bool IsPakLoaded(size_t hash);
- void AddLoadedPak(int32_t pakHandle, size_t hash);
- void RemoveLoadedPak(int32_t pakHandle);
-
- private:
- std::vector<int> m_pakHandlesToUnload;
- // these size_t s are the asset path hashed with STR_HASH
- std::unordered_map<int32_t, size_t> loadedPaks {};
- std::unordered_map<size_t, int32_t> loadedPaksInv {};
-};
-
-extern PakLoadManager* g_PakLoadManager; \ No newline at end of file