Connection & Loading Process
- Create lobby
- Lobby contains
LobbyKeys (e.g. scenario/campaign) and MemberKeys (e.g. Team ID) - tart lobby, switch to Connecting scene
CreateNetworkManager creates NetworkManager and calls host/connect- When connected, auto switch to scenario scene
- On failure to connect, revert to offline scene
- When connected, client requests that the server creates a player object (
PlayerDataEntity) NetworkScenarioLoader- Waits for player object to be spawned before loading further
- Fetches scenario from server
- Loads solar system bodies specified by scenario
- Wait for everyone to signal loading planets is complete
- Server switches to spawning mode