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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.JMain
{
    public partial class com_mainplayitem : GComponent
    {
        public Controller type;
        public Controller can_play;
        public GTextField text_now;
        public GTextField text_need;
        public GButton btn_play;
        public const string URL = "ui://qw9x6rf3tnddpjj";

        public static com_mainplayitem CreateInstance()
        {
            return (com_mainplayitem)UIPackage.CreateObject("JMain", "com_mainplayitem");
        }

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

            type = GetControllerAt(0);
            can_play = GetControllerAt(1);
            text_now = (GTextField)GetChildAt(11);
            text_need = (GTextField)GetChildAt(12);
            btn_play = (GButton)GetChildAt(14);
        }
    }
}