/// #pkgName FGUI包名 /// #panelName UIPanel名字 /// #UIName = $"{#pkgName}{#panelName}" UIKey名字 /// 该脚本由模板创建 /// created by cb 2024 using FairyGUI; namespace FL.FGUI { public partial class PartnerSbUpListItemView : IGListItemHandle { public int ItemIndex { get; private set; } void IGListItemHandle.OnRefresh(int index, object data) { ItemIndex = index; Ctrl.OnRefresh(index, data as PartnerSbUpListItemParam); } } public class PartnerSbUpListItemParam { public int PosId; public int CurSelectPos; /// /// 选择类型,0圣兵,1铭文 /// public int SelectType; } }