44 lines
1.3 KiB
C#
44 lines
1.3 KiB
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 SimpleJSON;
|
||
|
|
||
|
namespace TableConfig
|
||
|
{
|
||
|
public partial class Tables
|
||
|
{
|
||
|
public TbGlobalConfig TbGlobalConfig {get; }
|
||
|
public TbCondition TbCondition {get; }
|
||
|
public TbTask TbTask {get; }
|
||
|
public TbPropItem TbPropItem {get; }
|
||
|
public TbAttribute TbAttribute {get; }
|
||
|
|
||
|
public Tables(System.Func<string, JSONNode> loader)
|
||
|
{
|
||
|
TbGlobalConfig = new TbGlobalConfig(loader("tbglobalconfig"));
|
||
|
TbCondition = new TbCondition(loader("tbcondition"));
|
||
|
TbTask = new TbTask(loader("tbtask"));
|
||
|
TbPropItem = new TbPropItem(loader("tbpropitem"));
|
||
|
TbAttribute = new TbAttribute(loader("tbattribute"));
|
||
|
ResolveRef();
|
||
|
}
|
||
|
|
||
|
private void ResolveRef()
|
||
|
{
|
||
|
TbGlobalConfig.ResolveRef(this);
|
||
|
TbCondition.ResolveRef(this);
|
||
|
TbTask.ResolveRef(this);
|
||
|
TbPropItem.ResolveRef(this);
|
||
|
TbAttribute.ResolveRef(this);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|