mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
minion/pet/companion/mount rework
This commit is contained in:
parent
75885473ad
commit
9d9aac6bb3
14 changed files with 403 additions and 152 deletions
|
|
@ -3,12 +3,15 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using MareSynchronos.API;
|
||||
using MareSynchronos.Factories;
|
||||
|
||||
namespace MareSynchronos.Models
|
||||
{
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
public class CharacterData
|
||||
{
|
||||
[JsonProperty]
|
||||
public ObjectKind Kind { get; set; }
|
||||
public List<FileReplacement> FileReplacements { get; set; } = new();
|
||||
|
||||
[JsonProperty]
|
||||
|
|
@ -37,6 +40,7 @@ namespace MareSynchronos.Models
|
|||
{
|
||||
return new CharacterCacheDto()
|
||||
{
|
||||
ObjectKind = Kind,
|
||||
FileReplacements = FileReplacements.Where(f => f.HasFileReplacement).GroupBy(f => f.Hash).Select(g =>
|
||||
{
|
||||
return new FileReplacementDto()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue