1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /// #pkgName FGUI包名
- /// #panelName UIPanel名字
- /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
- /// 该脚本由模板创建
- /// created by cb 2024
- using FairyGUI;
- using FL.Data;
- namespace FL.FGUI
- {
- public partial class PartnerEpiChangeListItemView : IGListItemHandle
- {
- public int ItemIndex { get; private set; }
- void IGListItemHandle.OnRefresh(int index, object data)
- {
- ItemIndex = index;
- if (data is EpiChangeListData changeListData)
- {
- Ctrl.OnRefresh(index, changeListData);
- }
- }
- }
- public struct EpiChangeListData
- {
- public int SbId { get; private set; }
- public int MwId { get; private set; }
- public int PlanId { get; private set; }
- public int CurSelectId { get; private set; }
- public EpiChangeListData(int planId, int sbId, int mwId, int curSelectId)
- {
- PlanId = planId;
- SbId = sbId;
- MwId = mwId;
- CurSelectId = curSelectId;
- }
- }
- }
|