초기커밋
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
// <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 AttributeRandomGroupMetaDataMutable
|
||||
{
|
||||
[JsonProperty("Key")]
|
||||
public int Key { get; set; }
|
||||
[JsonProperty("GroupID")]
|
||||
public string GroupID { get; set; }
|
||||
[JsonProperty("Attribute")]
|
||||
public string Attribute { get; set; }
|
||||
[JsonProperty("Weight")]
|
||||
public int Weight { get; set; }
|
||||
}
|
||||
|
||||
public partial class AttributeRandomGroupMetaTableMutable
|
||||
{
|
||||
[JsonProperty("AttributeRandomGroupMetaDataList")]
|
||||
public IList<AttributeRandomGroupMetaDataMutable> AttributeRandomGroupMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class AttributeRandomGroupMetaData
|
||||
{
|
||||
public readonly int Key;
|
||||
public readonly string GroupID;
|
||||
public readonly string Attribute;
|
||||
public readonly int Weight;
|
||||
public AttributeRandomGroupMetaData(AttributeRandomGroupMetaDataMutable data)
|
||||
{
|
||||
Key = data.Key;
|
||||
GroupID = data.GroupID;
|
||||
Attribute = data.Attribute;
|
||||
Weight = data.Weight;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class AttributeRandomGroupMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<AttributeRandomGroupMetaData> AttributeRandomGroupMetaDataList;
|
||||
public AttributeRandomGroupMetaTable(AttributeRandomGroupMetaTableMutable data)
|
||||
{
|
||||
if(data.AttributeRandomGroupMetaDataList != null)
|
||||
AttributeRandomGroupMetaDataList = data.AttributeRandomGroupMetaDataList.Select(x => new AttributeRandomGroupMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user