Phase2.1 添加武器tag配置和数据表定义
This commit is contained in:
@@ -65,6 +65,7 @@ public partial class Tables
|
||||
/// 角色属性配置
|
||||
/// </summary>
|
||||
public TbStatConfig TbStatConfig {get; }
|
||||
public TbWeaponTagConfig TbWeaponTagConfig {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
@@ -87,6 +88,7 @@ public partial class Tables
|
||||
TbUISoundConfig = new TbUISoundConfig(loader("tbuisoundconfig"));
|
||||
TbWeaponConfig = new TbWeaponConfig(loader("tbweaponconfig"));
|
||||
TbStatConfig = new TbStatConfig(loader("tbstatconfig"));
|
||||
TbWeaponTagConfig = new TbWeaponTagConfig(loader("tbweapontagconfig"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
@@ -111,6 +113,7 @@ public partial class Tables
|
||||
TbUISoundConfig.ResolveRef(this);
|
||||
TbWeaponConfig.ResolveRef(this);
|
||||
TbStatConfig.ResolveRef(this);
|
||||
TbWeaponTagConfig.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user