mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
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_api.cpp | ||
multiplayer_api.h | ||
multiplayer_peer.cpp | ||
multiplayer_peer.h | ||
multiplayer.h | ||
rpc_manager.cpp | ||
rpc_manager.h | ||
SCsub |