* update api * mcd online editor impl * most of chara data hub impl * some state of things * some refactoring * random bullshit go * more nearby impl * add uid to peformance msg * cleanup/homogenization * some split, update nuget packages * migrate to latest packages where possible, remove lz4net, do some split, idk * some polish and cleanup * more cleanup, beautification, etc. * fixes and cleanups --------- Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
20 lines
589 B
C#
20 lines
589 B
C#
using MareSynchronos.API.Data;
|
|
using MareSynchronos.FileCache;
|
|
using MareSynchronos.Services.CharaData.Models;
|
|
|
|
namespace MareSynchronos.Services.CharaData;
|
|
|
|
internal sealed class MareCharaFileDataFactory
|
|
{
|
|
private readonly FileCacheManager _fileCacheManager;
|
|
|
|
public MareCharaFileDataFactory(FileCacheManager fileCacheManager)
|
|
{
|
|
_fileCacheManager = fileCacheManager;
|
|
}
|
|
|
|
public MareCharaFileData Create(string description, CharacterData characterCacheDto)
|
|
{
|
|
return new MareCharaFileData(_fileCacheManager, description, characterCacheDto);
|
|
}
|
|
} |