static public int Exists(IntPtr l) { try { GameFramework.AttrCalc.AttrExpressionList self = (GameFramework.AttrCalc.AttrExpressionList)checkSelf(l); System.Predicate <GameFramework.AttrCalc.IAttrExpression> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.Exists(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }