static public int BuyItemtoSystem(IntPtr l) { try { ShopSystem self = (ShopSystem)checkSelf(l); System.UInt64 a1; checkType(l, 2, out a1); System.UInt32 a2; checkType(l, 3, out a2); self.BuyItemtoSystem(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }