초기커밋
This commit is contained in:
80
ServerCommon/MetaAssets/MetaTable/InteriorData.cs
Normal file
80
ServerCommon/MetaAssets/MetaTable/InteriorData.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
// <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 InteriorMetaDataMutable
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public int id { get; set; }
|
||||
[JsonProperty("SnapType")]
|
||||
public ESnapType SnapType { get; set; }
|
||||
[JsonProperty("IgnoreBoxSize")]
|
||||
public string IgnoreBoxSize { get; set; }
|
||||
[JsonProperty("IgnoreBoxOffset")]
|
||||
public string IgnoreBoxOffset { get; set; }
|
||||
[JsonProperty("SubCategory_Id")]
|
||||
public string SubCategory_Id { get; set; }
|
||||
[JsonProperty("InteriorPoint")]
|
||||
public int InteriorPoint { get; set; }
|
||||
[JsonProperty("UseAd")]
|
||||
public bool UseAd { get; set; }
|
||||
[JsonProperty("AdPath")]
|
||||
public IList<string> AdPath { get; set; }
|
||||
}
|
||||
|
||||
public partial class InteriorMetaTableMutable
|
||||
{
|
||||
[JsonProperty("InteriorMetaDataList")]
|
||||
public IList<InteriorMetaDataMutable> InteriorMetaDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class InteriorMetaData
|
||||
{
|
||||
public readonly int id;
|
||||
public readonly ESnapType SnapType;
|
||||
public readonly string IgnoreBoxSize;
|
||||
public readonly string IgnoreBoxOffset;
|
||||
public readonly string SubCategory_Id;
|
||||
public readonly int InteriorPoint;
|
||||
public readonly bool UseAd;
|
||||
public readonly IReadOnlyList<string> AdPath;
|
||||
public InteriorMetaData(InteriorMetaDataMutable data)
|
||||
{
|
||||
id = data.id;
|
||||
SnapType = data.SnapType;
|
||||
IgnoreBoxSize = data.IgnoreBoxSize;
|
||||
IgnoreBoxOffset = data.IgnoreBoxOffset;
|
||||
SubCategory_Id = data.SubCategory_Id;
|
||||
InteriorPoint = data.InteriorPoint;
|
||||
UseAd = data.UseAd;
|
||||
if(data.AdPath != null)
|
||||
AdPath = data.AdPath.ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
public partial class InteriorMetaTable
|
||||
{
|
||||
public readonly IReadOnlyList<InteriorMetaData> InteriorMetaDataList;
|
||||
public InteriorMetaTable(InteriorMetaTableMutable data)
|
||||
{
|
||||
if(data.InteriorMetaDataList != null)
|
||||
InteriorMetaDataList = data.InteriorMetaDataList.Select(x => new InteriorMetaData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user