首次提交
This commit is contained in:
106
Assets/Scripts/Generate/Config/Tables.cs
Normal file
106
Assets/Scripts/Generate/Config/Tables.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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
|
||||
{
|
||||
/// <summary>
|
||||
/// 鱼饵
|
||||
/// </summary>
|
||||
public TbBait TbBait {get; }
|
||||
/// <summary>
|
||||
/// 全局常量配置表
|
||||
/// </summary>
|
||||
public TbBasicConfig TbBasicConfig {get; }
|
||||
/// <summary>
|
||||
/// 浮漂
|
||||
/// </summary>
|
||||
public TbBobber TbBobber {get; }
|
||||
/// <summary>
|
||||
/// 菲德
|
||||
/// </summary>
|
||||
public TbFeeder TbFeeder {get; }
|
||||
/// <summary>
|
||||
/// 鱼
|
||||
/// </summary>
|
||||
public TbFish TbFish {get; }
|
||||
/// <summary>
|
||||
/// 商品
|
||||
/// </summary>
|
||||
public TbGoods TbGoods {get; }
|
||||
/// <summary>
|
||||
/// 鱼钩
|
||||
/// </summary>
|
||||
public TbHook TbHook {get; }
|
||||
/// <summary>
|
||||
/// 初始物品表
|
||||
/// </summary>
|
||||
public TbInitItemConfig TbInitItemConfig {get; }
|
||||
/// <summary>
|
||||
/// 物品表
|
||||
/// </summary>
|
||||
public TbItem TbItem {get; }
|
||||
/// <summary>
|
||||
/// 鱼线
|
||||
/// </summary>
|
||||
public TbLine TbLine {get; }
|
||||
/// <summary>
|
||||
/// 路亚饵
|
||||
/// </summary>
|
||||
public TbLure TbLure {get; }
|
||||
/// <summary>
|
||||
/// 渔轮
|
||||
/// </summary>
|
||||
public TbReel TbReel {get; }
|
||||
/// <summary>
|
||||
/// 鱼竿
|
||||
/// </summary>
|
||||
public TbRod TbRod {get; }
|
||||
|
||||
public Tables(System.Func<string, JSONNode> loader)
|
||||
{
|
||||
TbBait = new TbBait(loader("tbbait"));
|
||||
TbBasicConfig = new TbBasicConfig(loader("tbbasicconfig"));
|
||||
TbBobber = new TbBobber(loader("tbbobber"));
|
||||
TbFeeder = new TbFeeder(loader("tbfeeder"));
|
||||
TbFish = new TbFish(loader("tbfish"));
|
||||
TbGoods = new TbGoods(loader("tbgoods"));
|
||||
TbHook = new TbHook(loader("tbhook"));
|
||||
TbInitItemConfig = new TbInitItemConfig(loader("tbinititemconfig"));
|
||||
TbItem = new TbItem(loader("tbitem"));
|
||||
TbLine = new TbLine(loader("tbline"));
|
||||
TbLure = new TbLure(loader("tblure"));
|
||||
TbReel = new TbReel(loader("tbreel"));
|
||||
TbRod = new TbRod(loader("tbrod"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
private void ResolveRef()
|
||||
{
|
||||
TbBait.ResolveRef(this);
|
||||
TbBasicConfig.ResolveRef(this);
|
||||
TbBobber.ResolveRef(this);
|
||||
TbFeeder.ResolveRef(this);
|
||||
TbFish.ResolveRef(this);
|
||||
TbGoods.ResolveRef(this);
|
||||
TbHook.ResolveRef(this);
|
||||
TbInitItemConfig.ResolveRef(this);
|
||||
TbItem.ResolveRef(this);
|
||||
TbLine.ResolveRef(this);
|
||||
TbLure.ResolveRef(this);
|
||||
TbReel.ResolveRef(this);
|
||||
TbRod.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user