mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
48
luban_examples/Projects/CfgValidator/Gen/test.DemoD5.cs
Normal file
48
luban_examples/Projects/CfgValidator/Gen/test.DemoD5.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 DemoD5 : test.DemoDynamic
|
||||
{
|
||||
public DemoD5(JsonElement _buf) : base(_buf)
|
||||
{
|
||||
Time = test.DateTimeRange.DeserializeDateTimeRange(_buf.GetProperty("time"));
|
||||
}
|
||||
|
||||
public static DemoD5 DeserializeDemoD5(JsonElement _buf)
|
||||
{
|
||||
return new test.DemoD5(_buf);
|
||||
}
|
||||
|
||||
public readonly test.DateTimeRange Time;
|
||||
|
||||
public const int __ID__ = -2138341744;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public override void ResolveRef(Tables tables)
|
||||
{
|
||||
base.ResolveRef(tables);
|
||||
Time?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "x1:" + X1 + ","
|
||||
+ "time:" + Time + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user