浮漂脚本

This commit is contained in:
2025-11-26 14:28:55 +08:00
parent 293890c649
commit 6b5e43d813
110 changed files with 1659 additions and 12039 deletions

View File

@@ -121,6 +121,10 @@ namespace NBF
titleItem.SetData(itemData);
titleItem.SetSize(List.width, 32);
}
else if (obj is ShopGearItem shopGearItem)
{
shopGearItem.SetData(itemData as GoodsConfig);
}
}
@@ -128,17 +132,18 @@ namespace NBF
string GetListItemResource(int index)
{
var itemData = _listData[index];
if (itemData is ShopItemInfo)
{
return ShopItem.URL;
}
if (itemData is ItemInfo itemInfo)
{
return BagItem.URL;
}
if (itemData is GoodsConfig goodsConfig)
{
return ShopGearItem.URL;
}
if (itemData is ClassifyListTitleData titleData)
{
return ListTitleItem.URL;