Files
Fishing2/Assets/Scripts/Common/Data/ItemInfo.cs
2025-10-31 18:03:31 +08:00

19 lines
382 B
C#

using NBF;
using NBF.Utils;
namespace NBC
{
public partial class ItemInfo
{
private ItemConfig _config;
public ItemConfig Config
{
get { return _config ??= ItemConfig.Get(ConfigId); }
}
public ItemType ItemType => ConfigId.GetItemType();
public uint ItemSubType => ConfigId.GetItemSubType();
}
}