static int QPYX_SwitchStateUsingID_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         UIStateSwitcher QPYX_obj_YXQP  = (UIStateSwitcher)ToLua.CheckObject <UIStateSwitcher>(L_YXQP, 1);
         string          QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         QPYX_obj_YXQP.SwitchStateUsingID(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int SwitchStateUsingID(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UIStateSwitcher obj  = (UIStateSwitcher)ToLua.CheckObject <UIStateSwitcher>(L, 1);
         string          arg0 = ToLua.CheckString(L, 2);
         obj.SwitchStateUsingID(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }