123456789101112131415161718192021222324252627282930 |
- /// #pkgName FGUI包名
- /// #panelName UIPanel名字
- /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
- /// 该脚本由模板创建
- /// created by cb 2024
- using FairyGUI;
- using System.Collections.Generic;
- namespace FL.FGUI
- {
- public partial class PartnerSbBagListLineItemView : IGListItemHandle
- {
- public int ItemIndex { get; private set; }
- void IGListItemHandle.OnRefresh(int index, object data)
- {
- ItemIndex = index;
- Ctrl.OnRefresh(index, data as PartnerSbBagListParam);
- }
- }
- public class PartnerSbBagListParam
- {
- /// <summary>
- /// 道具类型,为0则是标题,否则是列表
- /// </summary>
- public int Type;
- public string Title;
- public List<int> SbList;
- }
- }
|