0
0
mirror of https://github.com/sp-tarkov/loot-dump-processor.git synced 2025-02-12 14:50:44 -05:00
loot-dump-processor/Storage/IDataStorage.cs
CWX 39ac387aae
Per map process (#1)
* Seperate Tasks into their own methods, Add method to add map name to file name

* Formatting and added a few comments

* Add Clear method to collectors

* Change to local var, so data isnt stored longer than needed

* add Clear method to Storages

* Add changes for Per Map Processing and file i forgot to commit last time

* Update config to have mapNames in it, removed unused yaml file

* update comment

* changed to not throw so Filemode still can be used
2024-12-31 09:12:48 +00:00

11 lines
247 B
C#

namespace LootDumpProcessor.Storage;
public interface IDataStorage
{
void Setup();
void Store<T>(T t) where T : IKeyable;
bool Exists(IKey t);
T GetItem<T>(IKey key) where T : IKeyable;
List<T> GetAll<T>();
void Clear();
}