directory#
Variables#
const int |
Constructors#
Functions#
bool |
GetFilename(int index, char32[] buf) |
void |
Reload() |
void |
Free() deprecated |
void |
Own() |
Variable descriptions#
The number of files/folders contained in the directory.
Constructor descriptions#
Function descriptions#
bool GetFilename(int index, char32[] buf) 🔗 Source
Loads the name of the index
file (0 <= index
< Size)
Refreshes the directory, updating Size and the results of GetFilename().
Deallocate the directory pointer, so that the pointer ID may be re-used.
Warning
Deprecated! Free() no longer does anything as of ZC 3.0. Objects are now freed automatically.
Grants ‘Ownership’ of the directory pointer to the script that calls this function. When the script with ‘Ownership’ terminates (at the same time its’ local arrays are deallocated), this directory pointer will automatically be ‘Free()’d.