add shpk compatibility

This commit is contained in:
Stanley Dimant
2022-12-16 11:32:32 +01:00
parent 581e9370aa
commit d01b68b50a
3 changed files with 30 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ public class TransientResourceManager : IDisposable
public event TransientResourceLoadedEvent? TransientResourceLoaded;
public IntPtr[] PlayerRelatedPointers = Array.Empty<IntPtr>();
private readonly string[] FileTypesToHandle = new[] { "tmb", "pap", "avfx", "atex", "sklb", "eid", "phyb", "scd", "skp" };
private readonly string[] FileTypesToHandle = new[] { "tmb", "pap", "avfx", "atex", "sklb", "eid", "phyb", "scd", "skp", "shpk" };
private string PersistentDataCache => Path.Combine(configurationDirectory, "PersistentTransientData.lst");
private ConcurrentDictionary<IntPtr, HashSet<string>> TransientResources { get; } = new();