diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-11-15 10:24:20 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-11-20 14:17:20 +0100 |
commit | b19c1a2e4f9ce5ac66daa55382322b62a2a12d1f (patch) | |
tree | e4ee12eed862329ca8b7c1b21b870b22773f4438 /editor/plugins/editor_preview_plugins.cpp | |
parent | 8aafcf9d2ae43e83636d60dbfd5f10e50fcdb324 (diff) |
[MP] New default multiplayer_peer acting as server.
Adds a OfflineMultiplayerPeer class which behaves like a server with no
connected peers.
Use OfflineMultiplayerPeer as default for SceneMultiplayer.
This means that the SceneTree will act as the multiplayer authority by
default.
Calls to is_server will return true, and calls to get_unique_id will
return TARGET_PEER_SERVER.
Diffstat (limited to 'editor/plugins/editor_preview_plugins.cpp')
0 files changed, 0 insertions, 0 deletions