static public int BuyItemToSystem(IntPtr l) { try { ShopSystem self = (ShopSystem)checkSelf(l); self.BuyItemToSystem(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }