引入属性、伤害管线
This commit is contained in:
@@ -61,6 +61,10 @@ public partial class Tables
|
||||
/// 界面配置
|
||||
/// </summary>
|
||||
public TbWeaponConfig TbWeaponConfig {get; }
|
||||
/// <summary>
|
||||
/// 角色属性配置
|
||||
/// </summary>
|
||||
public TbStatConfig TbStatConfig {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
@@ -82,6 +86,7 @@ public partial class Tables
|
||||
TbUIFormConfig = new TbUIFormConfig(loader("tbuiformconfig"));
|
||||
TbUISoundConfig = new TbUISoundConfig(loader("tbuisoundconfig"));
|
||||
TbWeaponConfig = new TbWeaponConfig(loader("tbweaponconfig"));
|
||||
TbStatConfig = new TbStatConfig(loader("tbstatconfig"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
@@ -105,6 +110,7 @@ public partial class Tables
|
||||
TbUIFormConfig.ResolveRef(this);
|
||||
TbUISoundConfig.ResolveRef(this);
|
||||
TbWeaponConfig.ResolveRef(this);
|
||||
TbStatConfig.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user