Better format arguments in variant parser

This commit is contained in:
Michael Alexsander Silva Dias
2019-09-24 14:45:03 -03:00
committed by Michael Alexsander
parent 407229aeeb
commit 0ff4095b36
222 changed files with 842 additions and 843 deletions

View File

@@ -17,11 +17,11 @@
</return>
<argument index="0" name="url" type="String">
</argument>
<argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray( )">
<argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray()">
</argument>
<argument index="2" name="gd_mp_api" type="bool" default="false">
</argument>
<argument index="3" name="custom_headers" type="PackedStringArray" default="PackedStringArray( )">
<argument index="3" name="custom_headers" type="PackedStringArray" default="PackedStringArray()">
</argument>
<description>
Connects to the given URL requesting one of the given [code]protocols[/code] as sub-protocol. If the list empty (default), no sub-protocol will be requested.

View File

@@ -63,7 +63,7 @@
</return>
<argument index="0" name="port" type="int">
</argument>
<argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray( )">
<argument index="1" name="protocols" type="PackedStringArray" default="PackedStringArray()">
</argument>
<argument index="2" name="gd_mp_api" type="bool" default="false">
</argument>