Add function ZIPReader::file_exists

This commit is contained in:
A Thousand Ships
2023-08-16 14:01:58 +02:00
parent 90f90cbcb0
commit f7fa72c808
3 changed files with 26 additions and 0 deletions
+9
View File
@@ -25,6 +25,15 @@
Closes the underlying resources used by this instance.
</description>
</method>
<method name="file_exists">
<return type="bool" />
<param index="0" name="path" type="String" />
<param index="1" name="case_sensitive" type="bool" default="true" />
<description>
Returns [code]true[/code] if the file exists in the loaded zip archive.
Must be called after [method open].
</description>
</method>
<method name="get_files">
<return type="PackedStringArray" />
<description>