summaryrefslogtreecommitdiff
path: root/doc/classes/ResourceFormatSaver.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ResourceFormatSaver.xml')
-rw-r--r--doc/classes/ResourceFormatSaver.xml24
1 files changed, 8 insertions, 16 deletions
diff --git a/doc/classes/ResourceFormatSaver.xml b/doc/classes/ResourceFormatSaver.xml
index df71e05d02..ef9eebc953 100644
--- a/doc/classes/ResourceFormatSaver.xml
+++ b/doc/classes/ResourceFormatSaver.xml
@@ -11,32 +11,24 @@
</tutorials>
<methods>
<method name="_get_recognized_extensions" qualifiers="virtual">
- <return type="PackedStringArray">
- </return>
- <argument index="0" name="resource" type="Resource">
- </argument>
+ <return type="PackedStringArray" />
+ <argument index="0" name="resource" type="Resource" />
<description>
Returns the list of extensions available for saving the resource object, provided it is recognized (see [method _recognize]).
</description>
</method>
<method name="_recognize" qualifiers="virtual">
- <return type="bool">
- </return>
- <argument index="0" name="resource" type="Resource">
- </argument>
+ <return type="bool" />
+ <argument index="0" name="resource" type="Resource" />
<description>
Returns whether the given resource object can be saved by this saver.
</description>
</method>
<method name="_save" qualifiers="virtual">
- <return type="int">
- </return>
- <argument index="0" name="path" type="String">
- </argument>
- <argument index="1" name="resource" type="Resource">
- </argument>
- <argument index="2" name="flags" type="int">
- </argument>
+ <return type="int" />
+ <argument index="0" name="path" type="String" />
+ <argument index="1" name="resource" type="Resource" />
+ <argument index="2" name="flags" type="int" />
<description>
Saves the given resource object to a file at the target [code]path[/code]. [code]flags[/code] is a bitmask composed with [enum ResourceSaver.SaverFlags] constants.
Returns [constant OK] on success, or an [enum Error] constant in case of failure.