static int InAppPurchases(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); LuaFramework.SDKManager obj = (LuaFramework.SDKManager)ToLua.CheckObject <LuaFramework.SDKManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); string arg1 = ToLua.CheckString(L, 3); LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4); obj.InAppPurchases(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }