Confused about class header declarations for Unreal

Thank you both