PartnerPartnerPlanListItemView.ListItem.cs 652 B

12345678910111213141516171819202122232425
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// 该脚本由模板创建
  5. /// created by cb 2024
  6. using FairyGUI;
  7. namespace FL.FGUI
  8. {
  9. public class PartnerPlanParam
  10. {
  11. public int slotId; //圣兵方案槽位Id
  12. public int planId; //圣兵方案id
  13. }
  14. public partial class PartnerPartnerPlanListItemView : IGListItemHandle
  15. {
  16. public int ItemIndex { get; private set; }
  17. void IGListItemHandle.OnRefresh(int index, object data)
  18. {
  19. ItemIndex = index;
  20. Ctrl.OnRefresh(index, data as PartnerPlanParam);
  21. }
  22. }
  23. }