Add MCDO (#20)

* rudimentary charadata first impl

* dto adaptation

* mark as msgpack, split file

* erghtyfjgk

* fileswapapapapwpwpdpfdesgb

* use userdata

* add gamepath to orig file

* rework some shit

* make serializable

* add manip data

* naming

* make prop public

* renaming

* add pose shit

* fix api

* adjust worlddata

* make record struct

* record struct deez

* bump apilevel

---------

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon
2025-01-12 01:11:08 +01:00
committed by Loporrit
parent 9c9b7d90c1
commit c8cc217d66
9 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using MessagePack;
namespace MareSynchronos.API.Dto.CharaData;
[MessagePackObject(keyAsPropertyName: true)]
public record CharaDataUpdateDto(string Id)
{
public string? Description { get; set; }
public DateTime? ExpiryDate { get; set; }
public string? GlamourerData { get; set; }
public string? CustomizeData { get; set; }
public string? ManipulationData { get; set; }
public List<string>? AllowedUsers { get; set; }
public List<GamePathEntry>? FileGamePaths { get; set; }
public List<GamePathEntry>? FileSwaps { get; set; }
public AccessTypeDto? AccessType { get; set; }
public ShareTypeDto? ShareType { get; set; }
public List<PoseEntry>? Poses { get; set; }
}