Affectionately has 2 different meanings across 1 category:
Adverb
with affection
"she loved him dearly"
"he treats her affectionately"
In an affectionate manner.