IF you’re using Visual Studio as your editor:
Instead of messing around with copy/editing the functions from .h to .cpp, right click on the function name HostLANGame, select “Quick Actions and Refactoring”, then choose “create declaration/definition”.
It’ll create the function definitions in the cpp and you won’t have to delete bits and copy bits.
Much faster and less mistake prone!