//
// generated using ContentTool. DO NOT EDIT!
//
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
namespace MetaAssets
{
#pragma warning disable
public partial class MannequinMetaDataMutable
{
[JsonProperty("Id")]
public int Id { get; set; }
[JsonProperty("name")]
public string name { get; set; }
[JsonProperty("description")]
public string description { get; set; }
[JsonProperty("image_3D")]
public string image_3D { get; set; }
[JsonProperty("animation")]
public string animation { get; set; }
[JsonProperty("idle_sequence")]
public string idle_sequence { get; set; }
[JsonProperty("gender")]
public string gender { get; set; }
[JsonProperty("use_required")]
public double use_required_ { get; set; }
[JsonProperty("speed")]
public double speed_ { get; set; }
[JsonProperty("InactiveRange")]
public int InactiveRange { get; set; }
[JsonProperty("GuideHeight")]
public int GuideHeight { get; set; }
[JsonProperty("GuideOffset")]
public int GuideOffset { get; set; }
[JsonProperty("GuideScale")]
public int GuideScale { get; set; }
[JsonProperty("Headwear")]
public bool Headwear { get; set; }
[JsonProperty("HeadwearPreset")]
public string HeadwearPreset_ { get; set; }
[JsonProperty("Mask")]
public bool Mask { get; set; }
[JsonProperty("MaskPreset")]
public string MaskPreset_ { get; set; }
[JsonProperty("Earrings")]
public bool Earrings { get; set; }
[JsonProperty("EarringsPreset")]
public string EarringsPreset_ { get; set; }
[JsonProperty("Necklace")]
public bool Necklace { get; set; }
[JsonProperty("NecklacePreset")]
public string NecklacePreset_ { get; set; }
[JsonProperty("Gloves")]
public bool Gloves { get; set; }
[JsonProperty("GlovesPreset")]
public string GlovesPreset_ { get; set; }
[JsonProperty("Belts")]
public bool Belts { get; set; }
[JsonProperty("BeltsPreset")]
public string BeltsPreset_ { get; set; }
[JsonProperty("Bags")]
public bool Bags { get; set; }
[JsonProperty("BagsPreset")]
public string BagsPreset_ { get; set; }
[JsonProperty("Outer")]
public bool Outer { get; set; }
[JsonProperty("OuterPreset")]
public string OuterPreset_ { get; set; }
[JsonProperty("Tops")]
public bool Tops { get; set; }
[JsonProperty("TopsPreset")]
public string TopsPreset_ { get; set; }
[JsonProperty("Bottoms")]
public bool Bottoms { get; set; }
[JsonProperty("BottomsPreset")]
public string BottomsPreset_ { get; set; }
[JsonProperty("Shoes")]
public bool Shoes { get; set; }
[JsonProperty("ShoesPreset")]
public string ShoesPreset_ { get; set; }
[JsonProperty("Socks")]
public bool Socks { get; set; }
[JsonProperty("SocksPreset")]
public string SocksPreset_ { get; set; }
}
public partial class MannequinMetaTableMutable
{
[JsonProperty("MannequinMetaDataList")]
public IList MannequinMetaDataList { get; set; }
}
//////////////////////////////
// readonly class
//////////////////////////////
public partial class MannequinMetaData
{
public readonly int Id;
public readonly string name;
public readonly string description;
public readonly string image_3D;
public readonly string animation;
public readonly string idle_sequence;
public readonly string gender;
public readonly double use_required_;
public readonly double speed_;
public readonly int InactiveRange;
public readonly int GuideHeight;
public readonly int GuideOffset;
public readonly int GuideScale;
public readonly bool Headwear;
public readonly string HeadwearPreset_;
public readonly bool Mask;
public readonly string MaskPreset_;
public readonly bool Earrings;
public readonly string EarringsPreset_;
public readonly bool Necklace;
public readonly string NecklacePreset_;
public readonly bool Gloves;
public readonly string GlovesPreset_;
public readonly bool Belts;
public readonly string BeltsPreset_;
public readonly bool Bags;
public readonly string BagsPreset_;
public readonly bool Outer;
public readonly string OuterPreset_;
public readonly bool Tops;
public readonly string TopsPreset_;
public readonly bool Bottoms;
public readonly string BottomsPreset_;
public readonly bool Shoes;
public readonly string ShoesPreset_;
public readonly bool Socks;
public readonly string SocksPreset_;
public MannequinMetaData(MannequinMetaDataMutable data)
{
Id = data.Id;
name = data.name;
description = data.description;
image_3D = data.image_3D;
animation = data.animation;
idle_sequence = data.idle_sequence;
gender = data.gender;
use_required_ = data.use_required_;
speed_ = data.speed_;
InactiveRange = data.InactiveRange;
GuideHeight = data.GuideHeight;
GuideOffset = data.GuideOffset;
GuideScale = data.GuideScale;
Headwear = data.Headwear;
HeadwearPreset_ = data.HeadwearPreset_;
Mask = data.Mask;
MaskPreset_ = data.MaskPreset_;
Earrings = data.Earrings;
EarringsPreset_ = data.EarringsPreset_;
Necklace = data.Necklace;
NecklacePreset_ = data.NecklacePreset_;
Gloves = data.Gloves;
GlovesPreset_ = data.GlovesPreset_;
Belts = data.Belts;
BeltsPreset_ = data.BeltsPreset_;
Bags = data.Bags;
BagsPreset_ = data.BagsPreset_;
Outer = data.Outer;
OuterPreset_ = data.OuterPreset_;
Tops = data.Tops;
TopsPreset_ = data.TopsPreset_;
Bottoms = data.Bottoms;
BottomsPreset_ = data.BottomsPreset_;
Shoes = data.Shoes;
ShoesPreset_ = data.ShoesPreset_;
Socks = data.Socks;
SocksPreset_ = data.SocksPreset_;
}
}
public partial class MannequinMetaTable
{
public readonly IReadOnlyList MannequinMetaDataList;
public MannequinMetaTable(MannequinMetaTableMutable data)
{
if(data.MannequinMetaDataList != null)
MannequinMetaDataList = data.MannequinMetaDataList.Select(x => new MannequinMetaData(x)).ToList().AsReadOnly();
}
}
}