修改UI
This commit is contained in:
@@ -6,11 +6,11 @@ namespace Fantasy
|
||||
{
|
||||
public partial class ItemInfo
|
||||
{
|
||||
private ItemConfig _config;
|
||||
private cfg.Item _config;
|
||||
|
||||
public ItemConfig Config
|
||||
public cfg.Item Config
|
||||
{
|
||||
get { return _config ??= ItemConfig.Get(ConfigId); }
|
||||
get { return _config ??= Game.Tables.TbItem.Get((int)ConfigId); }
|
||||
}
|
||||
|
||||
public ItemType ItemType => ConfigId.GetItemType();
|
||||
|
||||
Reference in New Issue
Block a user