adjust DTOs, add call to push character data to visible clients

This commit is contained in:
Stanley Dimant
2022-06-30 17:19:58 +02:00
parent 3e00bc4efd
commit d56923d553
13 changed files with 82 additions and 72 deletions

View File

@@ -1,13 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MareSynchronos.API
{
public class CharacterCacheDto
public record CharacterCacheDto
{
public List<FileReplacementDto> FileReplacements { get; set; } = new();
public string GlamourerData { get; set; }
@@ -15,10 +10,4 @@ namespace MareSynchronos.API
public string Hash { get; set; }
public int JobId { get; set; }
}
public class FileReplacementDto
{
public string[] GamePaths { get; set; } = Array.Empty<string>();
public string Hash { get; set; }
}
}