User contributions for The GTA
Jump to navigation
Jump to search
30 January 2014
- 22:1922:19, 30 January 2014 diff hist +2,797 N MTA:Eir/FileSystem/file/readDouble Created page with "__NOTOC__ This function attempts to read a double (native type) from a file and return it. The amount of bytes read should be eight. ==Syntax== <syntaxhighlight lang="lua"> double file.readDou..."
- 10:5510:55, 30 January 2014 diff hist +108 MTA:Eir/FileSystem/file/functions →FileSystem File Functions
- 10:5410:54, 30 January 2014 diff hist −1 m MTA:Eir/FileSystem/file/readFloat →Example
- 10:5410:54, 30 January 2014 diff hist +7,175 N MTA:Eir/FileSystem/file/readFloat Created page with "__NOTOC__ This function attempts to read a float (native type) from a file and return it. The amount of bytes read should be four. ==Syntax== <syntaxhighlight lang="lua"> float file.readFloat ..."
- 09:2309:23, 30 January 2014 diff hist +1,890 N MTA:Eir/FileSystem/file/readInt Created page with "__NOTOC__ This function attempts to read an integer (native type) from a file and return it. The amount of bytes read should be four. ==Syntax== <syntaxhighlight lang="lua"> int file.readInt (..."
- 08:5008:50, 30 January 2014 diff hist +2,276 N MTA:Eir/FileSystem/file/readShort Created page with "__NOTOC__ This function attempts to read a short (native type) from a file and returns it. The amount of bytes read should be two. ==Syntax== <syntaxhighlight lang="lua"> short file.readShort ..."
- 08:0208:02, 30 January 2014 diff hist +1,375 N MTA:Eir/FileSystem/file/read Created page with "__NOTOC__ This function attempts to read the specified amount of bytes from the file. The actual amount of bytes read equals to the length of the Lua string. ==Syntax== <syntaxhighlight lang="lua">[l..."
- 07:4307:43, 30 January 2014 diff hist +102 MTA:Eir/FileSystem/file/functions →FileSystem File Functions
- 07:4007:40, 30 January 2014 diff hist −5 m MTA:Eir/FileSystem/translator/getFiles No edit summary
- 07:4007:40, 30 January 2014 diff hist −157 MTA:Eir/FileSystem/translator/getDirs No edit summary
- 07:3707:37, 30 January 2014 diff hist +8 m MTA:Eir/FileSystem/translator/getFiles No edit summary
- 07:3607:36, 30 January 2014 diff hist +1,689 N MTA:Eir/FileSystem/translator/getFiles Created page with "__NOTOC__ This function returns a list of all files that are found under the wild-card and directory parameters. It is similar to MTA:Eir/FileSystem/translator/scanDir but re..."
- 07:3407:34, 30 January 2014 diff hist +8 m MTA:Eir/FileSystem/translator/getDirs No edit summary
- 07:3407:34, 30 January 2014 diff hist +1 MTA:Eir/FileSystem/translator/getDirs No edit summary
- 07:3307:33, 30 January 2014 diff hist +92 MTA:Eir/FileSystem/translator/getDirs No edit summary
- 07:3307:33, 30 January 2014 diff hist +1,612 N MTA:Eir/FileSystem/translator/getDirs Created page with "__NOTOC__ This function returns a list of all directories that are found under the wild-card and directory parameters. It is similar to MTA:Eir/FileSystem/translator/scanDir ..."
- 07:1307:13, 30 January 2014 diff hist −1 MTA:Eir/FileSystem/translator/scanDirEx No edit summary
29 January 2014
- 23:2523:25, 29 January 2014 diff hist +1 MTA:Eir/FileSystem/translator/absPathRoot No edit summary
- 19:5919:59, 29 January 2014 diff hist +3,139 N MTA:Eir/FileSystem/translator/scanDirEx Created page with "__NOTOC__ This function loops through all translator filesystem entries that are captured by the wildcard and the directory specifier. The wildcard is glob-style and supports '''..."
- 19:4919:49, 29 January 2014 diff hist +2,860 N MTA:Eir/FileSystem/translator/scanDir Created page with "__NOTOC__ This function loops through all translator filesystem entries that are captured by the wildcard and the directory specifier. The wildcard is glob-style and supports '''..."
- 14:2414:24, 29 January 2014 diff hist +1,355 N MTA:Eir/FileSystem/translator/absPathRoot Created page with "__NOTOC__ This function resolves a specified path into its absolute version. The path is resolved from the translator root. This function can be used to get a unique version of a..."
- 14:1214:12, 29 January 2014 diff hist +998 N MTA:Eir/FileSystem/translator/absPath Created page with "__NOTOC__ This function resolves a specified path into its absolute version. This function can be used to get a unique version of a path (without scripting symbols such as '..')...."
- 13:2213:22, 29 January 2014 diff hist +1,434 N MTA:Eir/FileSystem/translator/relPathRoot Created page with "__NOTOC__ This function transform a path that is passed to it into a path that is relative to the translators root directory. The path must be accessible from the translator. The..."
- 12:4312:43, 29 January 2014 diff hist +1,198 N MTA:Eir/FileSystem/translator/relPath Created page with "__NOTOC__ This function transform a path that is passed to it into a path that is relative to the translators current directory. The path must be accessible from the translator. ..."
- 12:3412:34, 29 January 2014 diff hist +1,352 N MTA:Eir/FileSystem/translator/stat Created page with "__NOTOC__ This function queries common information about a filesystem object and returns it as a dictionary. Example of its return value: <syntaxhighlight lang="lua"> { accessTime = 139099795..."
- 12:1512:15, 29 January 2014 diff hist −1 MTA:Eir/FileSystem/translator/size No edit summary
- 12:1412:14, 29 January 2014 diff hist +1,322 N MTA:Eir/FileSystem/translator/size Created page with "__NOTOC__ This function queries the size of a filesystem object. The size of a filesystem object is the count of bytes that it logically fills on the storage media. ==Syntax== <..."
- 12:0712:07, 29 January 2014 diff hist +994 N MTA:Eir/FileSystem/translator/rename Created page with "__NOTOC__ This function moves a file from a source location to a destination location inside of a filesystem. This function is the fastest way to move data from one location to a..."
- 10:3210:32, 29 January 2014 diff hist +1,097 N MTA:Eir/FileSystem/translator/copy Created page with "__NOTOC__ This function copy a file from a source location to a file at the destination. This function copies the contents of the source file, so that source and destination have..."
- 10:2510:25, 29 January 2014 diff hist +3 MTA:Eir/FileSystem/translator/delete No edit summary
- 10:2410:24, 29 January 2014 diff hist +947 N MTA:Eir/FileSystem/translator/delete Created page with "__NOTOC__ This function deletes an entry on the translator filesystem. If the path points at a directory, the whole content of it is recursively deleted. A typical reason when de..."
- 10:1910:19, 29 January 2014 diff hist +1,650 N MTA:Eir/FileSystem/translator/chdir Created page with "__NOTOC__ This function changes the current directory pointer of the translator. All operations on the FileSystem translator are executed relative to the current directory. The t..."
- 10:0610:06, 29 January 2014 diff hist +1,132 N MTA:Eir/FileSystem/translator/createDir Created page with "__NOTOC__ This function creates a directory inside of a translator directory hierarchy. ==Syntax== <syntaxhighlight lang="lua"> bool translator.createDir ( string dirPath ) </syntaxhighlight> ==Argument..."
- 09:5609:56, 29 January 2014 diff hist 0 MTA:Eir/FileSystem/createFilesystemInterface No edit summary
- 03:0503:05, 29 January 2014 diff hist +86 MTA:Eir/Classes No edit summary
- 03:0103:01, 29 January 2014 diff hist +1,110 N MTA:Eir/FileSystem/translator/exists Created page with "__NOTOC__ This function checks whether a specified file exists on a MTA:Eir FileSystem translator. ==Syntax== <syntaxhighlight lang="lua"> bool translator.exists ( string filePath ) </syntaxhighlight> ..."
- 02:5102:51, 29 January 2014 diff hist +1,459 N MTA:Eir/FileSystem/translator/open Created page with "__NOTOC__ This function opens a link to a file instance on a given MTA:Eir FileSystem translator. Using a file link, you can write and/or receive data from filesystems. ==Syntax..."
- 02:3302:33, 29 January 2014 diff hist +3,808 N MTA:Eir/FileSystem/createZIPArchive Created page with "__NOTOC__ This function creates a .zip archive inside of the given MTA:Eir file/stream class and returns its translator handle. The archive will not be written into the stream un..."
- 01:4201:42, 29 January 2014 diff hist +2,117 N MTA:Eir/FileSystem/createArchiveTranslator Created page with "__NOTOC__ This function creates a FileSystem archive translator. A FileSystem archive translator is a virtual FileSystem that grants access to the contents of archives. You can b..."
- 01:2101:21, 29 January 2014 diff hist +44 MTA:Eir/FileSystem/createTranslator No edit summary
- 01:2001:20, 29 January 2014 diff hist +12 MTA:Eir/FileSystem/createTranslator No edit summary
- 01:2001:20, 29 January 2014 diff hist +1,713 N MTA:Eir/FileSystem/createTranslator Created page with "__NOTOC__ This function creates a FileSystem translator. A FileSystem translator represents a directory on a real or virtual filesystem. Through translators you get access to the..."
- 00:5000:50, 29 January 2014 diff hist 0 MTA:Eir/FileSystem/createFilesystemInterface No edit summary
- 00:4500:45, 29 January 2014 diff hist +1,116 MTA:Eir/FileSystem/createFilesystemInterface No edit summary
- 00:3600:36, 29 January 2014 diff hist +739 N MTA:Eir/FileSystem/file/functions Created page with "==FileSystem File Functions== *read *readShort *readInt *[[MTA:Eir/File..."
- 00:3500:35, 29 January 2014 diff hist −701 MTA:Eir/FileSystem/functions No edit summary
- 00:3400:34, 29 January 2014 diff hist +894 N MTA:Eir/FileSystem/translator/functions Created page with "==FileSystem Translator Functions== *open *exists *[[MTA:Eir/FileSystem/translator/createDir|creat..."
- 00:3400:34, 29 January 2014 diff hist −1,029 MTA:Eir/FileSystem/functions No edit summary
- 00:3200:32, 29 January 2014 diff hist +222 N MTA:Eir/FileSystem/namespace/functions Created page with "==FileSystem Namespace Functions== *createTranslator *createArchiveTranslator *[[MTA:Eir/Fi..."
- 00:3100:31, 29 January 2014 diff hist −13 MTA:Eir/FileSystem/createFilesystemInterface No edit summary