/** 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_item2 : GComponent
    {
        public Controller type;
        public Controller pot_switch;
        public GTextField lab_type;
        public GTextField lab_time;
        public GTextField lab_ranking;
        public GTextField lab_pot;
        public const string URL = "ui://edhx114fiwfg1l";

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

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

            type = GetControllerAt(0);
            pot_switch = GetControllerAt(1);
            lab_type = (GTextField)GetChildAt(1);
            lab_time = (GTextField)GetChildAt(2);
            lab_ranking = (GTextField)GetChildAt(3);
            lab_pot = (GTextField)GetChildAt(4);
        }
    }
}