branchsbox/networked-scene-loadcancel

7 Commits over 0 Days - ∞cph!

5 Months Ago
OnChangingLevelMsg -> OnSceneLoadMsg Separate scene loading & finished loading, broadcast to clients as soon as we start loading a new scene
5 Months Ago
Clean up
5 Months Ago
Move SceneLoadOptions into Sandbox.Engine, forward to Sandbox.Game Send SceneLoadOptions over network We only need to worry about ShowLoadingScreen - both IsAdditive and DeleteEverything would be handled by the host and then applied to the fresh snapshot that we send over, so we shouldn't have to worry about those Remove auto-added using
5 Months Ago
protocol++ Cut all this down some more so we're not changing things for no reason
5 Months Ago
Register handler instead of using internal message type (same as before)
5 Months Ago
Make it clear that all of this is called after the scene has loaded, clean up
5 Months Ago
Enable lingering on TCP channel Reload scene data on clients rather than disconnecting and rejoining when calling `Scene.Load` on a networked game