PartnerSbUpListItemView.ListItem.cs 749 B

12345678910111213141516171819202122232425262728293031
  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 partial class PartnerSbUpListItemView : IGListItemHandle
  10. {
  11. public int ItemIndex { get; private set; }
  12. void IGListItemHandle.OnRefresh(int index, object data)
  13. {
  14. ItemIndex = index;
  15. Ctrl.OnRefresh(index, data as PartnerSbUpListItemParam);
  16. }
  17. }
  18. public class PartnerSbUpListItemParam
  19. {
  20. public int PosId;
  21. public int CurSelectPos;
  22. /// <summary>
  23. /// 选择类型,0圣兵,1铭文
  24. /// </summary>
  25. public int SelectType;
  26. }
  27. }