summaryrefslogtreecommitdiff
path: root/doc/classes/ConfigFile.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ConfigFile.xml')
-rw-r--r--doc/classes/ConfigFile.xml18
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/classes/ConfigFile.xml b/doc/classes/ConfigFile.xml
index 7eaa815a87..00d98130f3 100644
--- a/doc/classes/ConfigFile.xml
+++ b/doc/classes/ConfigFile.xml
@@ -51,7 +51,7 @@
</description>
</method>
<method name="get_section_keys" qualifiers="const">
- <return type="PoolStringArray">
+ <return type="PackedStringArray">
</return>
<argument index="0" name="section" type="String">
</argument>
@@ -60,7 +60,7 @@
</description>
</method>
<method name="get_sections" qualifiers="const">
- <return type="PoolStringArray">
+ <return type="PackedStringArray">
</return>
<description>
Returns an array of all defined section identifiers.
@@ -114,7 +114,7 @@
</return>
<argument index="0" name="path" type="String">
</argument>
- <argument index="1" name="key" type="PoolByteArray">
+ <argument index="1" name="key" type="PackedByteArray">
</argument>
<description>
</description>
@@ -129,6 +129,16 @@
<description>
</description>
</method>
+ <method name="parse">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="data" type="String">
+ </argument>
+ <description>
+ Parses the the passed string as the contents of a config file. The string is parsed and loaded in the ConfigFile object which the method was called on.
+ Returns one of the [enum Error] code constants ([code]OK[/code] on success).
+ </description>
+ </method>
<method name="save">
<return type="int" enum="Error">
</return>
@@ -144,7 +154,7 @@
</return>
<argument index="0" name="path" type="String">
</argument>
- <argument index="1" name="key" type="PoolByteArray">
+ <argument index="1" name="key" type="PackedByteArray">
</argument>
<description>
</description>