72 lines
2.2 KiB
C#
72 lines
2.2 KiB
C#
// <auto-generated>
|
|
// generated using ContentTool. DO NOT EDIT!
|
|
// </auto-generated>
|
|
|
|
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 BeaconNpcMetaDataMutable
|
|
{
|
|
[JsonProperty("BodyItemId")]
|
|
public int BodyItemId { get; set; }
|
|
[JsonProperty("Name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("PresetFile")]
|
|
public string PresetFile { get; set; }
|
|
[JsonProperty("DefaultWears")]
|
|
public string DefaultWears { get; set; }
|
|
[JsonProperty("BeaconItemID")]
|
|
public int BeaconItemID { get; set; }
|
|
[JsonProperty("AnimAsset")]
|
|
public string AnimAsset { get; set; }
|
|
}
|
|
|
|
public partial class BeaconNpcMetaTableMutable
|
|
{
|
|
[JsonProperty("BeaconNpcMetaDataList")]
|
|
public IList<BeaconNpcMetaDataMutable> BeaconNpcMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class BeaconNpcMetaData
|
|
{
|
|
public readonly int BodyItemId;
|
|
public readonly string Name;
|
|
public readonly string PresetFile;
|
|
public readonly string DefaultWears;
|
|
public readonly int BeaconItemID;
|
|
public readonly string AnimAsset;
|
|
public BeaconNpcMetaData(BeaconNpcMetaDataMutable data)
|
|
{
|
|
BodyItemId = data.BodyItemId;
|
|
Name = data.Name;
|
|
PresetFile = data.PresetFile;
|
|
DefaultWears = data.DefaultWears;
|
|
BeaconItemID = data.BeaconItemID;
|
|
AnimAsset = data.AnimAsset;
|
|
}
|
|
}
|
|
|
|
public partial class BeaconNpcMetaTable
|
|
{
|
|
public readonly IReadOnlyList<BeaconNpcMetaData> BeaconNpcMetaDataList;
|
|
public BeaconNpcMetaTable(BeaconNpcMetaTableMutable data)
|
|
{
|
|
if(data.BeaconNpcMetaDataList != null)
|
|
BeaconNpcMetaDataList = data.BeaconNpcMetaDataList.Select(x => new BeaconNpcMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|