api adjustments

This commit is contained in:
Stanley Dimant
2022-07-21 12:04:30 +02:00
parent af8516d44a
commit 6acef73943
3 changed files with 18 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ namespace MareSynchronos.API
{
public class Api
{
public const int Version = 5;
public const int Version = 6;
public const string Path = "/mare";
public const string SendFileAbortUpload = "AbortUpload";

View File

@@ -4,6 +4,7 @@ namespace MareSynchronos.API
{
public record CharacterCacheDto
{
public ObjectKind ObjectKind { get; set; }
public List<FileReplacementDto> FileReplacements { get; set; } = new();
public string GlamourerData { get; set; }
public string ManipulationData { get; set; }

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MareSynchronos.API
{
public enum ObjectKind
{
Player = 0,
Minion = 1,
Companion = 2,
Pet = 3
}
}