|
@@ -611,10 +611,10 @@ namespace GFGGame
|
|
|
ext = ItemUtil.GetItemResExt(itemCfg.itemType, itemCfg.subType, true);
|
|
|
|
|
|
listItem.m_ScoreType.visible = true;
|
|
|
- int mainScore;
|
|
|
- int mainValuel;
|
|
|
- ItemDataManager.GetMainScore(id, out mainScore, out mainValuel);
|
|
|
- listItem.m_ScoreType.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + mainScore);
|
|
|
+ // int mainScore;
|
|
|
+ // int mainValuel;
|
|
|
+ // ItemDataManager.GetMainScore(id, out mainScore, out mainValuel);
|
|
|
+ listItem.m_ScoreType.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + itemCfg.mainScore);
|
|
|
|
|
|
bool isNew = DressUpMenuItemDataManager.CheckIsDressUpItemNew(id);
|
|
|
listItem.m_imgNew.visible = isNew;
|
|
@@ -668,11 +668,11 @@ namespace GFGGame
|
|
|
ext = ItemUtil.GetItemResExt(itemCfg.itemType, itemCfg.subType, true);
|
|
|
|
|
|
listItem.m_ScoreType.visible = true;
|
|
|
- int mainScore;
|
|
|
- int mainValuel;
|
|
|
- ItemDataManager.GetMainScore(id, out mainScore, out mainValuel);
|
|
|
+ // int mainScore;
|
|
|
+ // int mainValuel;
|
|
|
+ // ItemDataManager.GetMainScore(id, out mainScore, out mainValuel);
|
|
|
|
|
|
- listItem.m_ScoreType.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + mainScore);
|
|
|
+ listItem.m_ScoreType.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + itemCfg.mainScore);
|
|
|
listItem.m_icon.url = ResPathUtil.GetIconPath(iconRes, ext);
|
|
|
listItem.m_txtTitle.text = partName;
|
|
|
listItem.target.data = id;
|