Add unit tests for SceneMultiplayer
This PR aims to help "fix" #43440 Also fixing a small typo on `SceneMultiplayer` docs.
This commit is contained in:
parent
e3213aaef5
commit
e376c4f30c
3 changed files with 292 additions and 1 deletions
|
|
@ -65,7 +65,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 threat such as remote code execution.
|
||||
</member>
|
||||
<member name="auth_callback" type="Callable" setter="set_auth_callback" getter="get_auth_callback" default="Callable()">
|
||||
The callback to execute when when receiving authentication data sent via [method send_auth]. If the [Callable] is empty (default), peers will be automatically accepted as soon as they connect.
|
||||
The callback to execute when receiving authentication data sent via [method send_auth]. If the [Callable] is empty (default), peers will be automatically accepted as soon as they connect.
|
||||
</member>
|
||||
<member name="auth_timeout" type="float" setter="set_auth_timeout" getter="get_auth_timeout" default="3.0">
|
||||
If set to a value greater than [code]0.0[/code], the maximum duration in seconds peers can stay in the authenticating state, after which the authentication will automatically fail. See the [signal peer_authenticating] and [signal peer_authentication_failed] signals.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue