-
Notifications
You must be signed in to change notification settings - Fork 22
file
Stjepan Bakrac edited this page May 3, 2020
·
4 revisions
The file library adds functions for operating on files.
local file = require('file')
❗ Dependency Required
To use this library, you must include
file
in themanifest.xml
file for your package:<dependency>file</dependency>
The file
table has the following entries:
- file.new : Create a new file object
Creates a new file object, which can then be used to read from or write to it.
function file.new(path) : file_object
path string
The path to the file. Always prefer absolute paths, since relative paths will not be relative to the addon directory but to FFXI's current working directory, which is most likely the POL directory.
file_object file_object
A file object for the provided path.
- Background and Architecture
- Windower Data Locations
- Code Standards and Guidelines
- Addon Development
- Windower Commands
- Packet Tutorial
- burdometer
- config
- delay_me_not
- distance
- dress_up
- enternity
- fps
- ime
- logger
- party_time
- paste
- pouches
- send
- shortcuts
- speedometer
- target_info
- terminate
- timestamp
- window_title
- Game
- Windower
- General