mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:37:22 +01:00
Chara file data export (#38)
* add rudimentary saving of chara file data * fix building * working prototype for MCDF import and application * adjust code to use streams * rename cache -> storage add ui for import/export mcdf * minor wording adjustments, version bump Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com> Co-authored-by: Stanley Dimant <stanley.dimant@varian.com>
This commit is contained in:
parent
1c95a6d40e
commit
7a8655f6b1
15 changed files with 664 additions and 51 deletions
19
MareSynchronos/Export/MareCharaFileDataFactory.cs
Normal file
19
MareSynchronos/Export/MareCharaFileDataFactory.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using MareSynchronos.API;
|
||||
using MareSynchronos.FileCache;
|
||||
|
||||
namespace MareSynchronos.Export;
|
||||
|
||||
internal class MareCharaFileDataFactory
|
||||
{
|
||||
private readonly FileCacheManager _fileCacheManager;
|
||||
|
||||
public MareCharaFileDataFactory(FileCacheManager fileCacheManager)
|
||||
{
|
||||
_fileCacheManager = fileCacheManager;
|
||||
}
|
||||
|
||||
public MareCharaFileData Create(string description, CharacterCacheDto characterCacheDto)
|
||||
{
|
||||
return new MareCharaFileData(_fileCacheManager, description, characterCacheDto);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue