d219547c96
Initial implementation of the MultiplayerReplicationInterface and its default implementation (SceneReplicationInterface). New MultiplayerSpawner node helps dealing with instantiation of scenes on remote peers (e.g. clients). It supports both custom spawns via a `_spawn_custom` virtual function, and optional auto-spawn of known scenes via a TypedArray<PackedScenes> property. New MultiplayerSynchornizer helps synchronizing states between the local and remote peers, supports both sync and spawn properties and is configured via a `SceneReplicationConfig` resource. It can also sync via path (i.e. without being spawned by a MultiplayerSpawner if both peers has it in tree, but will not send the spawn state in that case, only the sync one. |
||
---|---|---|
.. | ||
multiplayer_spawner.cpp | ||
multiplayer_spawner.h | ||
multiplayer_synchronizer.cpp | ||
multiplayer_synchronizer.h | ||
scene_replication_interface.cpp | ||
scene_replication_interface.h | ||
scene_replication_state.cpp | ||
scene_replication_state.h | ||
SCsub |