초기커밋
This commit is contained in:
63
ServerCommon/MetaAssets/MetaTable/UGQBeaconActionData.cs
Normal file
63
ServerCommon/MetaAssets/MetaTable/UGQBeaconActionData.cs
Normal file
@@ -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 UGQBeaconActionDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
[JsonProperty("Gender")]
|
||||
public EGenderType Gender { get; set; }
|
||||
[JsonProperty("FileName")]
|
||||
public string FileName { get; set; }
|
||||
}
|
||||
|
||||
public partial class UGQBeaconActionTableMutable
|
||||
{
|
||||
[JsonProperty("UGQBeaconActionDataList")]
|
||||
public IList<UGQBeaconActionDataMutable> UGQBeaconActionDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class UGQBeaconActionData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly string Name;
|
||||
public readonly EGenderType Gender;
|
||||
public readonly string FileName;
|
||||
public UGQBeaconActionData(UGQBeaconActionDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
Name = data.Name;
|
||||
Gender = data.Gender;
|
||||
FileName = data.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class UGQBeaconActionTable
|
||||
{
|
||||
public readonly IReadOnlyList<UGQBeaconActionData> UGQBeaconActionDataList;
|
||||
public UGQBeaconActionTable(UGQBeaconActionTableMutable data)
|
||||
{
|
||||
if(data.UGQBeaconActionDataList != null)
|
||||
UGQBeaconActionDataList = data.UGQBeaconActionDataList.Select(x => new UGQBeaconActionData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user