static public int SetAIEnable(IntPtr l)
 {
     try {
         GameFramework.PluginFramework self = (GameFramework.PluginFramework)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.SetAIEnable(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }