19 lines
382 B
C#
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();
|
|
}
|
|
} |