Service sessionIDs to mongoIDs (#454)

* Start updating service sessionIDs to mongoIDs

* Finish service conversion + fix other small issues
This commit is contained in:
Cj
2025-07-06 08:08:07 -04:00
committed by GitHub
parent 03ec62d17d
commit d1af6bf6e3
43 changed files with 1159 additions and 1371 deletions
@@ -4,7 +4,7 @@ using SPTarkov.Server.Core.Utils.Cloners;
namespace SPTarkov.Server.Core.Services;
[Injectable(InjectionType.Singleton)]
public class InMemoryCacheService(ICloner _cloner)
public class InMemoryCacheService(ICloner cloner)
{
protected readonly Dictionary<string, object?> _cacheData = new();
@@ -15,7 +15,7 @@ public class InMemoryCacheService(ICloner _cloner)
/// <param name="dataToCache"> Data to store in cache </param>
public void StoreByKey<T>(string key, T dataToCache)
{
_cacheData[key] = _cloner.Clone(dataToCache);
_cacheData[key] = cloner.Clone(dataToCache);
}
/// <summary>