提交修改
This commit is contained in:
18
Assets/Scripts/Common/Extensions/IConfigTableExtensions.cs
Normal file
18
Assets/Scripts/Common/Extensions/IConfigTableExtensions.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using NBC;
|
||||
using NBF.Utils;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public static class IConfigTableExtensions
|
||||
{
|
||||
public static string GetName(this IConfigTable config)
|
||||
{
|
||||
return config.Key.GetName();
|
||||
}
|
||||
|
||||
public static string GetDesc(this IConfigTable config)
|
||||
{
|
||||
return config.Key.GetDesc();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08653a1add0a416cb39ccabdf4bd8280
|
||||
timeCreated: 1760875056
|
||||
Reference in New Issue
Block a user