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(); } }