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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.ZM_Game_04
{
    public partial class com_game : GComponent
    {
        public Controller gift_switch;
        public GImage bg;
        public GButton btn_head;
        public btn_battle btn_pass;
        public GButton btn_three_day;
        public GButton btn_game_menu;
        public com_state com_stage;
        public GButton btn_gold;
        public GButton btn_record;
        public GButton btn_noads;
        public GButton btn_live;
        public GButton btn_vip;
        public GButton btn_album;
        public GButton btn_chat;
        public GGroup group_;
        public GComponent slot;
        public GGraph out_parent;
        public GButton btn_secret;
        public btn_add btn_add;
        public btn_prop btn_back;
        public btn_prop btn_remove;
        public btn_prop btn_refresh;
        public btn_look_ad btn_look_ad;
        public const string URL = "ui://g3iqdlgcopwgw";

        public static com_game CreateInstance()
        {
            return (com_game)UIPackage.CreateObject("ZM_Game_04", "com_game");
        }

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

            gift_switch = GetControllerAt(0);
            bg = (GImage)GetChildAt(0);
            btn_head = (GButton)GetChildAt(1);
            btn_pass = (btn_battle)GetChildAt(2);
            btn_three_day = (GButton)GetChildAt(3);
            btn_game_menu = (GButton)GetChildAt(4);
            com_stage = (com_state)GetChildAt(5);
            btn_gold = (GButton)GetChildAt(6);
            btn_record = (GButton)GetChildAt(7);
            btn_noads = (GButton)GetChildAt(8);
            btn_live = (GButton)GetChildAt(9);
            btn_vip = (GButton)GetChildAt(10);
            btn_album = (GButton)GetChildAt(11);
            btn_chat = (GButton)GetChildAt(12);
            group_ = (GGroup)GetChildAt(14);
            slot = (GComponent)GetChildAt(15);
            out_parent = (GGraph)GetChildAt(16);
            btn_secret = (GButton)GetChildAt(17);
            btn_add = (btn_add)GetChildAt(18);
            btn_back = (btn_prop)GetChildAt(19);
            btn_remove = (btn_prop)GetChildAt(20);
            btn_refresh = (btn_prop)GetChildAt(21);
            btn_look_ad = (btn_look_ad)GetChildAt(22);
        }
    }
}