Local. If your friends are nearby and they each have their own Nintendo Switch and their own copy of Animal Crossing, you can visit each other's island through local wireless play, meaning no internet connection is required.