I am writing a steam beacon plugin in C++ and I have a rather irritating issue,
So i have all the logic for connecting to beacons etc done. the bit that I cant figure out is how the host tells all the clients to join a game he/she has created
so the use case flow at the moment:
- host creates beacon
- host invites players to join beacon
- players join beacon host
- once ready host create session
- All clients join host created session
Now I can do steps 1-4, but I cannot do 5, I dont know how to send that session data to the clients? As far as I can see i somehow have to build my own session result? but cant figure out how to do that?
if at step 3 the host finds an existing game to join, I will have a session result which I am assuming I can send to all clients fine, its just if the HOST creates a game I cant see a way of building the session result in the same way!
can anyone shed some light onto this, am i going about it all wrong fir beacon clients to join a game session together?