Line tracing melee attack using C++ can't figure it out

Hello, i’m new to unreal engine and making my first game as a graduation project, the game combat system is melee based specifically fist fight only, i’m planing to do the game using c++ only with as little blueprint usage as possible, I did my research and found out the best way to implement the combat system is through line tracing the object and the enemy takes damage when they get hit by the object trace line, I implement the trace line but i did it from the camera as if it was a FPS game (as shown in the code bellow), my theory was instead of taking the camera information i put the info of the sphere static mesh (that i added via blueprint not code) that i put in the sockets of the player skeletal mesh’s fists, well here is where i’m stuck i can’t access this static mesh in code so i can replace its info with the camera component’s info, is there a way to access this static mesh in C++ or i am doing something wrong and overcomplicating things?

Header file:
Header-File.txt (321 Bytes)

CPP file:
cpp file.txt (565 Bytes)