diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-07 00:11:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 00:11:17 +0100 |
commit | 07a739e7e15fdc0d7ed878f0cb465bb93c4e50aa (patch) | |
tree | d811b713f916bcd4d96c39fed00762311737d989 /doc/classes/MultiplayerAPI.xml | |
parent | 643b37aaf01138af8e5780caa938a107f2341412 (diff) | |
parent | 4eff13d7685752246ca311a2fdcc9d6e6eb7f63e (diff) |
Merge pull request #34159 from akien-mga/doc-enums-constants
doc: Markup fixes for enums and constants
Diffstat (limited to 'doc/classes/MultiplayerAPI.xml')
-rw-r--r-- | doc/classes/MultiplayerAPI.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/MultiplayerAPI.xml b/doc/classes/MultiplayerAPI.xml index 5f8c7ed120..9cd3fe7bb4 100644 --- a/doc/classes/MultiplayerAPI.xml +++ b/doc/classes/MultiplayerAPI.xml @@ -92,7 +92,7 @@ [b]Warning:[/b] Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. </member> <member name="network_peer" type="NetworkedMultiplayerPeer" setter="set_network_peer" getter="get_network_peer"> - The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with [method is_network_server]) and will set root node's network mode to master (see [code]NETWORK_MODE_*[/code] constants in [Node]), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals. + The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with [method is_network_server]) and will set root node's network mode to master, or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals. </member> <member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections" default="false"> If [code]true[/code], the MultiplayerAPI's [member network_peer] refuses new incoming connections. |