Add function ZIPReader::file_exists
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user