summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKarol Walasek <coreconviction@gmail.com>2017-03-04 11:35:44 +0100
committerKarol Walasek <coreconviction@gmail.com>2017-03-04 11:35:44 +0100
commit29908d32bafc9b198deda633157e37063614efa5 (patch)
tree005191faec6ef85c17b12c3818ba9a7828d5ec1e /doc
parent74eace2b14b337e23d0dc552f3bc3e60f1710f65 (diff)
Added a SceneTree.has_network_peer, closes #7922
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 4e4fb3cd23..17f45c64a2 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -35451,6 +35451,13 @@
Returns true if this SceneTree's [NetworkedMultiplayerPeer] is in server mode (listening for connections).
</description>
</method>
+ <method name="has_network_peer" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ Returns true if there is a [NetworkedMultiplayerPeer] set (with [method SceneTree.set_network_peer]).
+ </description>
+ </method>
<method name="is_paused" qualifiers="const">
<return type="bool">
</return>