summaryrefslogtreecommitdiff
path: root/doc/classes/ResourceSaver.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ResourceSaver.xml')
-rw-r--r--doc/classes/ResourceSaver.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/doc/classes/ResourceSaver.xml b/doc/classes/ResourceSaver.xml
index 437b0ce730..39f166db2e 100644
--- a/doc/classes/ResourceSaver.xml
+++ b/doc/classes/ResourceSaver.xml
@@ -11,23 +11,17 @@
</tutorials>
<methods>
<method name="get_recognized_extensions">
- <return type="PackedStringArray">
- </return>
- <argument index="0" name="type" type="Resource">
- </argument>
+ <return type="PackedStringArray" />
+ <argument index="0" name="type" type="Resource" />
<description>
Returns the list of extensions available for saving a resource of a given type.
</description>
</method>
<method name="save">
- <return type="int" enum="Error">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <argument index="1" name="resource" type="Resource">
- </argument>
- <argument index="2" name="flags" type="int" enum="ResourceSaver.SaverFlags" default="0">
- </argument>
+ <return type="int" enum="Error" />
+ <argument index="0" name="path" type="String" />
+ <argument index="1" name="resource" type="Resource" />
+ <argument index="2" name="flags" type="int" enum="ResourceSaver.SaverFlags" default="0" />
<description>
Saves a resource to disk to the given path, using a [ResourceFormatSaver] that recognizes the resource object.
The [code]flags[/code] bitmask can be specified to customize the save behavior.