 30caedbf3a
			
		
	
	30caedbf3a
	
	
	
		
			
			* 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>
		
			
				
	
	
		
			19 lines
		
	
	
		
			683 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			683 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using MareSynchronos.API.Dto.CharaData;
 | |
| using System.Collections.ObjectModel;
 | |
| 
 | |
| namespace MareSynchronos.Services.CharaData.Models;
 | |
| 
 | |
| public sealed record CharaDataFullExtendedDto : CharaDataFullDto
 | |
| {
 | |
|     public CharaDataFullExtendedDto(CharaDataFullDto baseDto) : base(baseDto)
 | |
|     {
 | |
|         FullId = baseDto.Uploader.UID + ":" + baseDto.Id;
 | |
|         MissingFiles = new ReadOnlyCollection<GamePathEntry>(baseDto.OriginalFiles.Except(baseDto.FileGamePaths).ToList());
 | |
|         HasMissingFiles = MissingFiles.Any();
 | |
|     }
 | |
| 
 | |
|     public string FullId { get; set; }
 | |
|     public bool HasMissingFiles { get; init; }
 | |
|     public IReadOnlyCollection<GamePathEntry> MissingFiles { get; init; }
 | |
| }
 |