// // 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 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 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 UGQBeaconActionDataList; public UGQBeaconActionTable(UGQBeaconActionTableMutable data) { if(data.UGQBeaconActionDataList != null) UGQBeaconActionDataList = data.UGQBeaconActionDataList.Select(x => new UGQBeaconActionData(x)).ToList().AsReadOnly(); } } }