18 lines
349 B
C#
18 lines
349 B
C#
using System.Collections.Generic;
|
|
using NBF;
|
|
using NBF.Utils;
|
|
|
|
namespace Fantasy
|
|
{
|
|
public partial class ItemInfo
|
|
{
|
|
private ItemConfig _config;
|
|
|
|
public ItemConfig Config
|
|
{
|
|
get { return _config ??= ItemConfig.Get(ConfigId); }
|
|
}
|
|
|
|
public ItemType ItemType => ConfigId.GetItemType();
|
|
}
|
|
} |