/** This is an automatically generated class by FairyGUI. Please do not modify it. **/

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.LG_LuckyGift
{
    public partial class com_lucky : GComponent
    {
        public Controller type;
        public Controller pay_type;
        public Controller gift_switch;
        public com_pic lucky_pic;
        public GTextField tips1;
        public GTextField text_goldnum;
        public GTextField text_refreshnum;
        public GTextField text_outnum;
        public GTextField text_backnum1;
        public GButton btn_buypack;
        public GButton btn_luck_close;
        public GGroup lucky;
        public GButton btn_close;
        public com_pic no_ad_pic;
        public GTextField text_goldnum2;
        public GTextField text_time;
        public GButton btn_buyremovead;
        public GTextField tips2;
        public GGroup ad_panel;
        public GTextField ads;
        public GButton btn_max_pack;
        public GButton btn_go_ad;
        public GButton btn_go_lucky;
        public GButton btn_max_remove;
        public GButton gold;
        public const string URL = "ui://8f5ysgjwksdz0";

        public static com_lucky CreateInstance()
        {
            return (com_lucky)UIPackage.CreateObject("LG_LuckyGift", "com_lucky");
        }

        public override void ConstructFromXML(XML xml)
        {
            base.ConstructFromXML(xml);

            type = GetControllerAt(0);
            pay_type = GetControllerAt(1);
            gift_switch = GetControllerAt(2);
            lucky_pic = (com_pic)GetChildAt(7);
            tips1 = (GTextField)GetChildAt(9);
            text_goldnum = (GTextField)GetChildAt(10);
            text_refreshnum = (GTextField)GetChildAt(11);
            text_outnum = (GTextField)GetChildAt(12);
            text_backnum1 = (GTextField)GetChildAt(13);
            btn_buypack = (GButton)GetChildAt(18);
            btn_luck_close = (GButton)GetChildAt(19);
            lucky = (GGroup)GetChildAt(20);
            btn_close = (GButton)GetChildAt(23);
            no_ad_pic = (com_pic)GetChildAt(26);
            text_goldnum2 = (GTextField)GetChildAt(27);
            text_time = (GTextField)GetChildAt(28);
            btn_buyremovead = (GButton)GetChildAt(29);
            tips2 = (GTextField)GetChildAt(30);
            ad_panel = (GGroup)GetChildAt(33);
            ads = (GTextField)GetChildAt(34);
            btn_max_pack = (GButton)GetChildAt(35);
            btn_go_ad = (GButton)GetChildAt(36);
            btn_go_lucky = (GButton)GetChildAt(37);
            btn_max_remove = (GButton)GetChildAt(38);
            gold = (GButton)GetChildAt(39);
        }
    }
}