I am trying to understand how Online Services work, and use it to get multiplayer to work.
I have a few short questions about sessions which maybe someone could answer:
-
I suppose this relates to the JoinSession function.
Also do I understand it correctly that JoinSession function does not join anything at all? It simply retrieves information about an existing session? -
So after “joining”, a connection has to be established. How is this “connection” done?
From the documentation about session interface I cant find anything specific to establishing this connection. -
I am guessing this registering of players refers to “AddSessionMember”?
How do I even get the playerID of someone who found my session, so I can add them?
Or can another player add himself after finding my session? -
On the DevPortal from Epic it shows my session as “Not started”.
How do I start it?
Also, at what point should I see another player appear in my level?
I just cant get another player to join my level.
They are added to the product in the backend, and they can find my newly created session with “FindSessions”.
Session interface documentation: