mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
using System.Text.Json;
|
||||
|
||||
|
||||
namespace cfg.test
|
||||
{
|
||||
public sealed partial class ExcelFromJsonMultiRow : Luban.BeanBase
|
||||
{
|
||||
public ExcelFromJsonMultiRow(JsonElement _buf)
|
||||
{
|
||||
Id = _buf.GetProperty("id").GetInt32();
|
||||
X = _buf.GetProperty("x").GetInt32();
|
||||
{ var __json0 = _buf.GetProperty("items"); Items = new System.Collections.Generic.List<test.TestRow>(__json0.GetArrayLength()); foreach(JsonElement __e0 in __json0.EnumerateArray()) { test.TestRow __v0; __v0 = test.TestRow.DeserializeTestRow(__e0); Items.Add(__v0); } }
|
||||
}
|
||||
|
||||
public static ExcelFromJsonMultiRow DeserializeExcelFromJsonMultiRow(JsonElement _buf)
|
||||
{
|
||||
return new test.ExcelFromJsonMultiRow(_buf);
|
||||
}
|
||||
|
||||
public readonly int Id;
|
||||
public readonly int X;
|
||||
public readonly System.Collections.Generic.List<test.TestRow> Items;
|
||||
|
||||
public const int __ID__ = 715335694;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
foreach (var _e in Items) { _e?.ResolveRef(tables); }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "x:" + X + ","
|
||||
+ "items:" + Luban.StringUtil.CollectionToString(Items) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user