Spawn Network player via C++

I’m new to Unreal and converting from Unity.

I am trying to follow the network multiplayer guide, but it doesn’t tell you how to spawn N number of characters. I saw this post here: https://answers.unrealengine.com/questions/221071/view.html that tells me that setting the DefaultPawnClass will instance the Player pawn.

I understand the psuedocode for spawning the network player’s pawn, but I don’t know how to write it in Unreal. I’d like to iterate all the player starts and assign the network player. I keep seeing the blueprint examples, which I’m not really interested in those.