Q96

"Damage Resistance/Immunities: piercing, slashing and bludgeoning damage from nonmagical attacks that aren't silvered"

Imp has this as resistance, werewolf as an immunity. Does that include hits dealt by magical weapons (eg. +1 hammer) or do they count as magical attacks?