Class OfflineMultiplayerPeer
A MultiplayerPeer which is always connected and acts as a server.
- Inheritance
-
OfflineMultiplayerPeer
Remarks
This is the default multiplayer_peer for the multiplayer. It mimics the behavior of a server with no peers connected.
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.