17 lines
328 B
C#
17 lines
328 B
C#
using NBF;
|
|
using NBF.Utils;
|
|
|
|
namespace Fantasy
|
|
{
|
|
public partial class ShopItemInfo
|
|
{
|
|
private cfg.Item _config;
|
|
|
|
public cfg.Item Config
|
|
{
|
|
get { return _config ??= Game.Tables.TbItem.Get((int)ConfigId); }
|
|
}
|
|
|
|
public ItemType ItemType => ConfigId.GetItemType();
|
|
}
|
|
} |