mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
39 lines
941 B
C#
39 lines
941 B
C#
|
|
//------------------------------------------------------------------------------
|
|
// <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 partial class TbTestGlobal
|
|
{
|
|
|
|
private readonly test.TestGlobal _data;
|
|
|
|
public TbTestGlobal(JsonElement _buf)
|
|
{
|
|
int n = _buf.GetArrayLength();
|
|
if (n != 1) throw new SerializationException("table mode=one, but size != 1");
|
|
_data = test.TestGlobal.DeserializeTestGlobal(_buf[0]);
|
|
}
|
|
|
|
|
|
public int UnlockEquip => _data.UnlockEquip;
|
|
public int UnlockHero => _data.UnlockHero;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
_data.ResolveRef(tables);
|
|
}
|
|
}
|
|
|
|
}
|