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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.G018_GameHome
{
    public partial class GameHome : GComponent
    {
        public Controller Mode;
        public Controller switchgift;
        public GButton btn_saveingpot;
        public new_topgold gold;
        public btn_battle BattleBtn;
        public GButton btn_three_day;
        public SignInBtn SignInBtn;
        public GButton NoAdsBtn;
        public GButton btn_failpack;
        public btn_repur btn_restore;
        public GButton RightBtn;
        public GButton LeftBtn;
        public GButton PlayBtn;
        public GButton LuckySpinBtn;
        public GButton RankBtn;
        public GButton btn_menu;
        public GButton btn_setting;
        public GComponent money;
        public GGroup TopBox;
        public const string URL = "ui://dypufdsgtrht2i";

        public static GameHome CreateInstance()
        {
            return (GameHome)UIPackage.CreateObject("G018_GameHome", "GameHome");
        }

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

            Mode = GetControllerAt(0);
            switchgift = GetControllerAt(1);
            btn_saveingpot = (GButton)GetChildAt(1);
            gold = (new_topgold)GetChildAt(2);
            BattleBtn = (btn_battle)GetChildAt(3);
            btn_three_day = (GButton)GetChildAt(4);
            SignInBtn = (SignInBtn)GetChildAt(5);
            NoAdsBtn = (GButton)GetChildAt(6);
            btn_failpack = (GButton)GetChildAt(7);
            btn_restore = (btn_repur)GetChildAt(8);
            RightBtn = (GButton)GetChildAt(10);
            LeftBtn = (GButton)GetChildAt(11);
            PlayBtn = (GButton)GetChildAt(14);
            LuckySpinBtn = (GButton)GetChildAt(17);
            RankBtn = (GButton)GetChildAt(18);
            btn_menu = (GButton)GetChildAt(20);
            btn_setting = (GButton)GetChildAt(21);
            money = (GComponent)GetChildAt(22);
            TopBox = (GGroup)GetChildAt(23);
        }
    }
}