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