public static int RemoveFriendshipPointsReceivedUser(IntPtr l) { int result; try { DataSectionFriend dataSectionFriend = (DataSectionFriend)LuaObject.checkSelf(l); string userId; LuaObject.checkType(l, 2, out userId); bool b = dataSectionFriend.RemoveFriendshipPointsReceivedUser(userId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }