/// #pkgName FGUI包名
/// #panelName UIPanel名字
/// #UIName = $"{#pkgName}{#panelName}" UIKey名字
/// #PropertyDefineArea 属性定义区域
/// #PropertyAssignArea 属性赋值区域
/// #ComponentType 组件类型
/// #PropertyName 属性名字
/// 该脚本由模板创建,不可编辑
/// created by cb 2024
using FairyGUI;
using XGame.Framework.FGUI;
using XGame.Framework.UI;
namespace FL.FGUI
{
///
/// 该脚本由模板创建,不可修改,不可编辑
///
public partial class PlayerJokSkillNestedVM : FguiViewModel
{
public Controller SuperlativeCtrl { get; private set; }
public Controller SkillInfoTipCtrl { get; private set; }
public GTextField HpLabel { get; private set; }
public GTextField DefLabel { get; private set; }
public GTextField AtkLabel { get; private set; }
public GTextField AtkSpeedLabel { get; private set; }
public GButton AttrInfoBtn { get; private set; }
public GButton JobBtn { get; private set; }
public GButton SkillBtn { get; private set; }
public GTextField TransfersCountLabel { get; private set; }
public GTextField JobNameLabel { get; private set; }
public GTextField JobSkillLabel { get; private set; }
public GTextField JobUnLockLabel { get; private set; }
public GList PassiveSkillList { get; private set; }
public GTextField UnlockLabel { get; private set; }
public GButton WakeUpBtn { get; private set; }
public GButton TransferBtn { get; private set; }
public PlayerSkillInfoNestedView SkillInfoNested { get; private set; }
protected override void BindComponents(GComponent panel, IUIViewAdapter adapter)
{
SuperlativeCtrl = panel.GetController("SuperlativeCtrl");
SkillInfoTipCtrl = panel.GetController("SkillInfoTipCtrl");
HpLabel = panel.GetChild("HpLabel") as GTextField;
DefLabel = panel.GetChild("DefLabel") as GTextField;
AtkLabel = panel.GetChild("AtkLabel") as GTextField;
AtkSpeedLabel = panel.GetChild("AtkSpeedLabel") as GTextField;
AttrInfoBtn = panel.GetChild("AttrInfoBtn") as GButton;
JobBtn = panel.GetChild("JobBtn") as GButton;
SkillBtn = panel.GetChild("SkillBtn") as GButton;
TransfersCountLabel = panel.GetChild("TransfersCountLabel") as GTextField;
JobNameLabel = panel.GetChild("JobNameLabel") as GTextField;
JobSkillLabel = panel.GetChild("JobSkillLabel") as GTextField;
JobUnLockLabel = panel.GetChild("JobUnLockLabel") as GTextField;
PassiveSkillList = panel.GetChild("PassiveSkillList") as GList;
PassiveSkillList.Init(typeof(PlayerPassiveSkillListItemView), adapter.CreateListItem);
UnlockLabel = panel.GetChild("UnlockLabel") as GTextField;
WakeUpBtn = panel.GetChild("WakeUpBtn") as GButton;
TransferBtn = panel.GetChild("TransferBtn") as GButton;
SkillInfoNested = adapter.CreateNested(new FguiNested(panel.GetChild("SkillInfoNested").asCom), true);
AddChild(SkillInfoNested);
}
}
}