Filesystem input/output.
Filesystem input/output.
Manages a file reading or writing stream.
Manages a file reading stream from a file source, such as a plugin's zip or folder contents.
Gets the absolute path for a file in your plugin's storage folder. This is typically C:\Users\Username\OpenplanetNext\PluginStorage\YourPluginIdentifier. When calling this function and the folder doesn't exist yet, it will automatically be created for you.
string
Gets the absolute path for a file in the data folder. This is typically C:\Users\Username\OpenplanetNext
string
Gets the absolute path for a file in the game's applicationfolder. This is where your game is installed, for example D:\Games\Trackmania
string
Gets the absolute path for a file in the game's user folder. This is what the game considers the user folder, for example C:\Users\Username\Documents\Trackmania. Note that it is possible for this function to return only the given filename without any absolute path, in case the game doesn't have the necessary info, but you should consider this to happen very rarely (if ever).
string
Gets the created time of the given file.
int64
Gets the last modified time of the given file.
int64
Deletes the given file.
Copies the given file.
Moves the given file or directory.
Creates a folder at the given location.
Deletes the folder at the given location. When recursive
is false, the directory is only deleted if it is empty. Please be careful when setting recursive to true.
Lists files and folders in the current folder. If recursive is true, it will only return files.
string[]@
Copies text on the clipboard.
The file mode to put the file stream in.