|
@@ -0,0 +1,102 @@
|
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
|
+
|
|
|
|
+using FairyGUI;
|
|
|
|
+
|
|
|
|
+namespace UI.Store
|
|
|
|
+{
|
|
|
|
+ public partial class UI_ListGiftItem
|
|
|
|
+ {
|
|
|
|
+ public GComponent target;
|
|
|
|
+ public Controller m_c1;
|
|
|
|
+ public Controller m_c2;
|
|
|
|
+ public GImage m_imgDouble;
|
|
|
|
+ public GTextField m_txtDesc;
|
|
|
|
+ public GGroup m_grpDiscount;
|
|
|
|
+ public GLoader m_icon;
|
|
|
|
+ public GTextField m_txtName;
|
|
|
|
+ public GTextField m_txtEndTime;
|
|
|
|
+ public GTextField m_txtLimit;
|
|
|
|
+ public GTextField m_txtLock;
|
|
|
|
+ public UI_Button5 m_btnBuy;
|
|
|
|
+ public const string URL = "ui://p9mtgheo10not1t";
|
|
|
|
+ public const string PACKAGE_NAME = "Store";
|
|
|
|
+ public const string RES_NAME = "ListGiftItem";
|
|
|
|
+ private static UI_ListGiftItem _proxy;
|
|
|
|
+
|
|
|
|
+ public static UI_ListGiftItem Create(GObject gObject = null)
|
|
|
|
+ {
|
|
|
|
+ var ui = new UI_ListGiftItem();
|
|
|
|
+ if(gObject == null)
|
|
|
|
+ ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
|
|
+ else
|
|
|
|
+ ui.target = (GComponent)gObject;
|
|
|
|
+ ui.Init(ui.target);
|
|
|
|
+ return ui;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public static UI_ListGiftItem Proxy(GObject gObject = null)
|
|
|
|
+ {
|
|
|
|
+ if(_proxy == null)
|
|
|
|
+ {
|
|
|
|
+ _proxy = new UI_ListGiftItem();
|
|
|
|
+ }
|
|
|
|
+ var ui = _proxy;
|
|
|
|
+ if(gObject == null)
|
|
|
|
+ ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
|
|
+ else
|
|
|
|
+ ui.target = (GComponent)gObject;
|
|
|
|
+ ui.Init(ui.target);
|
|
|
|
+ return ui;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public static void ProxyEnd()
|
|
|
|
+ {
|
|
|
|
+ if (_proxy != null)
|
|
|
|
+ {
|
|
|
|
+ _proxy.Dispose();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public static void ClearProxy()
|
|
|
|
+ {
|
|
|
|
+ ProxyEnd();
|
|
|
|
+ _proxy = null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private void Init(GComponent comp)
|
|
|
|
+ {
|
|
|
|
+ m_c1 = comp.GetController("c1");
|
|
|
|
+ m_c2 = comp.GetController("c2");
|
|
|
|
+ m_imgDouble = (GImage)comp.GetChild("imgDouble");
|
|
|
|
+ m_txtDesc = (GTextField)comp.GetChild("txtDesc");
|
|
|
|
+ m_grpDiscount = (GGroup)comp.GetChild("grpDiscount");
|
|
|
|
+ m_icon = (GLoader)comp.GetChild("icon");
|
|
|
|
+ m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
|
+ m_txtEndTime = (GTextField)comp.GetChild("txtEndTime");
|
|
|
|
+ m_txtLimit = (GTextField)comp.GetChild("txtLimit");
|
|
|
|
+ m_txtLock = (GTextField)comp.GetChild("txtLock");
|
|
|
|
+ m_btnBuy = (UI_Button5)UI_Button5.Create(comp.GetChild("btnBuy"));
|
|
|
|
+ }
|
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
|
+ {
|
|
|
|
+ m_c1 = null;
|
|
|
|
+ m_c2 = null;
|
|
|
|
+ m_imgDouble = null;
|
|
|
|
+ m_txtDesc = null;
|
|
|
|
+ m_grpDiscount = null;
|
|
|
|
+ m_icon = null;
|
|
|
|
+ m_txtName = null;
|
|
|
|
+ m_txtEndTime = null;
|
|
|
|
+ m_txtLimit = null;
|
|
|
|
+ m_txtLock = null;
|
|
|
|
+ m_btnBuy.Dispose();
|
|
|
|
+ m_btnBuy = null;
|
|
|
|
+ if(disposeTarget && target != null)
|
|
|
|
+ {
|
|
|
|
+ target.RemoveFromParent();
|
|
|
|
+ target.Dispose();
|
|
|
|
+ }
|
|
|
|
+ target = null;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|