/// #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 MountUpgradeNestedVM : FguiViewModel
{
public Controller RideCtrl { get; private set; }
public Controller MaxUpgradeStep { get; private set; }
public GTextField MountNameLabel { get; private set; }
public GLoader3D MountSpine { get; private set; }
public GButton LastBtn { get; private set; }
public GButton NextBtn { get; private set; }
public GButton RideBtn { get; private set; }
public GTextField MountStepLvLabel { get; private set; }
public MountAttrItemListView SpecialAttrItem { get; private set; }
public GTextField NextStepLvLabel { get; private set; }
public GTextField BaseStarLvLabel { get; private set; }
public GTextField NextStarLvLabel { get; private set; }
public GList BaseAttrList { get; private set; }
public GComponent StarBar { get; private set; }
public GProgressBar ExpBar { get; private set; }
public CommonComCostNestedView FeedCostItem { get; private set; }
public GButton FeedBtn { get; private set; }
public GButton OneClickFeedingBtn { get; private set; }
public GTextField UnLockModelLabel { get; private set; }
protected override void BindComponents(GComponent panel, IUIViewAdapter adapter)
{
RideCtrl = panel.GetController("RideCtrl");
MaxUpgradeStep = panel.GetController("MaxUpgradeStep");
MountNameLabel = panel.GetChild("MountNameLabel") as GTextField;
MountSpine = panel.GetChild("MountSpine") as GLoader3D;
LastBtn = panel.GetChild("LastBtn") as GButton;
NextBtn = panel.GetChild("NextBtn") as GButton;
RideBtn = panel.GetChild("RideBtn") as GButton;
MountStepLvLabel = panel.GetChild("MountStepLvLabel") as GTextField;
SpecialAttrItem = adapter.CreateNested(new FguiNested(panel.GetChild("SpecialAttrItem").asCom), true);
AddChild(SpecialAttrItem);
NextStepLvLabel = panel.GetChild("NextStepLvLabel") as GTextField;
BaseStarLvLabel = panel.GetChild("BaseStarLvLabel") as GTextField;
NextStarLvLabel = panel.GetChild("NextStarLvLabel") as GTextField;
BaseAttrList = panel.GetChild("BaseAttrList") as GList;
BaseAttrList.Init(typeof(MountAttrItemListView), adapter.CreateListItem);
StarBar = panel.GetChild("StarBar") as GComponent;
ExpBar = panel.GetChild("ExpBar") as GProgressBar;
FeedCostItem = adapter.CreateNested(new FguiNested(panel.GetChild("FeedCostItem").asCom), true);
AddChild(FeedCostItem);
FeedBtn = panel.GetChild("FeedBtn") as GButton;
OneClickFeedingBtn = panel.GetChild("OneClickFeedingBtn") as GButton;
UnLockModelLabel = panel.GetChild("UnLockModelLabel") as GTextField;
}
}
}