◆ BeginParse()
Creates a parser for a given filename
It can be then used with ParseLine
and EndParse
.
◆ CopyFile()
copy file. destName must be "$profile:", "$logs:" or "$saves:" location
◆ DeleteFile()
static proto bool FileIO.DeleteFile |
( |
string |
name | ) |
|
|
static |
delete file. Works only on "$profile:", "$logs:" and "$saves:" locations
◆ FileExist()
◆ FileExists()
static proto bool FileIO.FileExists |
( |
string |
name | ) |
|
|
static |
◆ FindFiles()
Find files with extension in given path on all FileSystems accessible for game.
static proto bool FindFiles(FindFilesCallback callback, string path, string ext)
Find files with extension in given path on all FileSystems accessible for game.
proto int Insert(T value)
Inserts element at the end of array.
void Debug()
Print all elements in array.
Definition: Types.c:322
◆ MakeDirectory()
static proto bool FileIO.MakeDirectory |
( |
string |
name | ) |
|
|
static |
◆ OpenFile()
Opens a File.
- Parameters
-
name | Name of a file to open. You can use filesystem prefixes. For accessing profile dir use '$profile', e.g. '$profile:myFileName.txt'. |
mode | Constants FileMode.WRITE, FileMode.READ or FileMode.APPEND flag can be used |
- Returns
- file handle ID or 0 if fails
The documentation for this interface was generated from the following file:
- Core/generated/System/FileIO.c