mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Rename the argument tag to param in XML documentation
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</method>
|
||||
<method name="get_var">
|
||||
<return type="Variant" />
|
||||
<argument index="0" name="allow_objects" type="bool" default="false" />
|
||||
<param index="0" name="allow_objects" type="bool" default="false" />
|
||||
<description>
|
||||
Gets a Variant. If [code]allow_objects[/code] is [code]true[/code], decoding objects is allowed.
|
||||
[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.
|
||||
@@ -38,15 +38,15 @@
|
||||
</method>
|
||||
<method name="put_packet">
|
||||
<return type="int" enum="Error" />
|
||||
<argument index="0" name="buffer" type="PackedByteArray" />
|
||||
<param index="0" name="buffer" type="PackedByteArray" />
|
||||
<description>
|
||||
Sends a raw packet.
|
||||
</description>
|
||||
</method>
|
||||
<method name="put_var">
|
||||
<return type="int" enum="Error" />
|
||||
<argument index="0" name="var" type="Variant" />
|
||||
<argument index="1" name="full_objects" type="bool" default="false" />
|
||||
<param index="0" name="var" type="Variant" />
|
||||
<param index="1" name="full_objects" type="bool" default="false" />
|
||||
<description>
|
||||
Sends a [Variant] as a packet. If [code]full_objects[/code] is [code]true[/code], encoding objects is allowed (and can potentially include code).
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user