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

using FairyGUI;
using FairyGUI.Utils;

namespace FGUI.rank
{
    public partial class rank_item : GComponent
    {
        public Controller type;
        public Controller pot_switch;
        public GTextField lab_rank;
        public GTextField lab_points;
        public GTextField lab_pot;
        public GTextField lab_name;
        public btn_head btn_head;
        public const string URL = "ui://edhx114fiec45";

        public static rank_item CreateInstance()
        {
            return (rank_item)UIPackage.CreateObject("rank", "rank_item");
        }

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

            type = GetControllerAt(0);
            pot_switch = GetControllerAt(1);
            lab_rank = (GTextField)GetChildAt(4);
            lab_points = (GTextField)GetChildAt(5);
            lab_pot = (GTextField)GetChildAt(6);
            lab_name = (GTextField)GetChildAt(7);
            btn_head = (btn_head)GetChildAt(10);
        }
    }
}