MainHomePanelVM.Gen.cs 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// #PropertyDefineArea 属性定义区域
  5. /// #PropertyAssignArea 属性赋值区域
  6. /// #ComponentType 组件类型
  7. /// #PropertyName 属性名字
  8. /// 该脚本由模板创建,不可编辑
  9. /// created by cb 2024
  10. using FairyGUI;
  11. using XGame.Framework.FGUI;
  12. using XGame.Framework.UI;
  13. namespace FL.FGUI
  14. {
  15. /// <summary>
  16. /// 该脚本由模板创建,不可修改,不可编辑
  17. /// </summary>
  18. public partial class MainHomePanelVM : FguiViewModel
  19. {
  20. public GImage TouXiangBottom { get; private set; }
  21. public GTextField ZLNummber { get; private set; }
  22. public GTextField ApextTan { get; private set; }
  23. public GProgressBar LevelpBar { get; private set; }
  24. public GImage TXKuang { get; private set; }
  25. public GLoader TouXiang { get; private set; }
  26. public GImage PlayerLevelBottom { get; private set; }
  27. public GTextField PlayerLevelNummber { get; private set; }
  28. public GImage Zhandouli { get; private set; }
  29. public GImage GoldBottom01 { get; private set; }
  30. public GTextField GoldNummber { get; private set; }
  31. public GImage Jinbi { get; private set; }
  32. public GButton GoldBtn { get; private set; }
  33. public GImage GoldBottom02 { get; private set; }
  34. public GTextField DiamindNummber { get; private set; }
  35. public GButton DiamondBtn { get; private set; }
  36. public GImage Baoshi { get; private set; }
  37. public GButton ShopBtn { get; private set; }
  38. public GButton SCBtn { get; private set; }
  39. public GButton HDBtn { get; private set; }
  40. public GButton XSLBtn { get; private set; }
  41. public GButton GoldBox { get; private set; }
  42. public GButton TaskBtn { get; private set; }
  43. public GButton SheZhiBtn { get; private set; }
  44. public GGroup Bottom { get; private set; }
  45. public GButton XinXiBtn { get; private set; }
  46. public GTextField XinWen { get; private set; }
  47. public GGroup Message { get; private set; }
  48. protected override void BindComponents(GComponent panel, IUIViewAdapter adapter)
  49. {
  50. TouXiangBottom = panel.GetChild("TouXiangBottom") as GImage;
  51. ZLNummber = panel.GetChild("ZLNummber") as GTextField;
  52. ApextTan = panel.GetChild("ApextTan") as GTextField;
  53. LevelpBar = panel.GetChild("LevelpBar") as GProgressBar;
  54. TXKuang = panel.GetChild("TXKuang") as GImage;
  55. TouXiang = panel.GetChild("TouXiang") as GLoader;
  56. PlayerLevelBottom = panel.GetChild("PlayerLevelBottom") as GImage;
  57. PlayerLevelNummber = panel.GetChild("PlayerLevelNummber") as GTextField;
  58. Zhandouli = panel.GetChild("Zhandouli") as GImage;
  59. GoldBottom01 = panel.GetChild("GoldBottom01") as GImage;
  60. GoldNummber = panel.GetChild("GoldNummber") as GTextField;
  61. Jinbi = panel.GetChild("Jinbi") as GImage;
  62. GoldBtn = panel.GetChild("GoldBtn") as GButton;
  63. GoldBottom02 = panel.GetChild("GoldBottom02") as GImage;
  64. DiamindNummber = panel.GetChild("DiamindNummber") as GTextField;
  65. DiamondBtn = panel.GetChild("DiamondBtn") as GButton;
  66. Baoshi = panel.GetChild("Baoshi") as GImage;
  67. ShopBtn = panel.GetChild("ShopBtn") as GButton;
  68. SCBtn = panel.GetChild("SCBtn") as GButton;
  69. HDBtn = panel.GetChild("HDBtn") as GButton;
  70. XSLBtn = panel.GetChild("XSLBtn") as GButton;
  71. GoldBox = panel.GetChild("GoldBox") as GButton;
  72. TaskBtn = panel.GetChild("TaskBtn") as GButton;
  73. SheZhiBtn = panel.GetChild("SheZhiBtn") as GButton;
  74. Bottom = panel.GetChild("Bottom") as GGroup;
  75. XinXiBtn = panel.GetChild("XinXiBtn") as GButton;
  76. XinWen = panel.GetChild("XinWen") as GTextField;
  77. Message = panel.GetChild("Message") as GGroup;
  78. }
  79. }
  80. }