41 lines
1.2 KiB
C#
41 lines
1.2 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 cfg
|
|
{
|
|
public partial class Tables
|
|
{
|
|
public BlacksmithData.Item Item {get; }
|
|
public BlacksmithData.CraftingRecipes CraftingRecipes {get; }
|
|
public BlacksmithData.ShopNPC ShopNPC {get; }
|
|
public BlacksmithData.Main Main {get; }
|
|
|
|
public Tables(System.Func<string, JSONNode> loader)
|
|
{
|
|
Item = new BlacksmithData.Item(loader("blacksmithdata_item"));
|
|
CraftingRecipes = new BlacksmithData.CraftingRecipes(loader("blacksmithdata_craftingrecipes"));
|
|
ShopNPC = new BlacksmithData.ShopNPC(loader("blacksmithdata_shopnpc"));
|
|
Main = new BlacksmithData.Main(loader("blacksmithdata_main"));
|
|
ResolveRef();
|
|
}
|
|
|
|
private void ResolveRef()
|
|
{
|
|
Item.ResolveRef(this);
|
|
CraftingRecipes.ResolveRef(this);
|
|
ShopNPC.ResolveRef(this);
|
|
Main.ResolveRef(this);
|
|
}
|
|
}
|
|
|
|
}
|