Path: blob/master/modules/multiplayer/doc_classes/OfflineMultiplayerPeer.xml
10278 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OfflineMultiplayerPeer" inherits="MultiplayerPeer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3A [MultiplayerPeer] which is always connected and acts as a server.4</brief_description>5<description>6This is the default [member MultiplayerAPI.multiplayer_peer] for the [member Node.multiplayer]. It mimics the behavior of a server with no peers connected.7This means that the [SceneTree] will act as the multiplayer authority by default. Calls to [method MultiplayerAPI.is_server] will return [code]true[/code], and calls to [method MultiplayerAPI.get_unique_id] will return [constant MultiplayerPeer.TARGET_PEER_SERVER].8</description>9<tutorials>10</tutorials>11</class>121314