User contributions for The GTA
Jump to navigation
Jump to search
31 January 2014
- 14:1714:17, 31 January 2014 diff hist +1 MTA:Eir/FileSystem/file/writeUShort →Returns
- 14:1714:17, 31 January 2014 diff hist +549 N MTA:Eir/FileSystem/file/writeUShort Created page with "__NOTOC__ This function attempts to write an unsigned short integer into a file/stream and returns how many bytes have actually been written. The amount of bytes written should b..."
- 14:1614:16, 31 January 2014 diff hist +478 N MTA:Eir/FileSystem/file/writeShort Created page with "__NOTOC__ This function attempts to write a short integer into a file/stream and returns how many bytes have actually been written. The amount of bytes written should be two. ==..."
- 14:1414:14, 31 January 2014 diff hist +481 N MTA:Eir/FileSystem/file/writeUByte Created page with "__NOTOC__ This function attempts to write an unsigned byte into a file/stream and returns how many bytes have actually been written. The amount of bytes written should be one. =..."
- 14:1314:13, 31 January 2014 diff hist +478 N MTA:Eir/FileSystem/file/writeByte Created page with "__NOTOC__ This function attempts to write a signed byte into a file/stream and returns how many bytes have actually been written. The amount of bytes written should be one. ==Sy..."
- 13:5913:59, 31 January 2014 diff hist +6 m MTA:Eir/FileSystem/file/readUByte No edit summary
- 13:5713:57, 31 January 2014 diff hist 0 MTA:Eir/FileSystem/file/readUByte No edit summary
- 13:5713:57, 31 January 2014 diff hist +3,024 N MTA:Eir/FileSystem/file/readUByte Created page with "__NOTOC__ This function attempts to read an unsigned byte (native type) from a file and returns it. The amount of bytes read should be one. ==Syntax== <syntaxhighlight lang="lua"> unsigned_byt..."
- 09:4209:42, 31 January 2014 diff hist +261 MTA:Eir/FileSystem/file/readByte No edit summary
- 09:3709:37, 31 January 2014 diff hist +5,774 N MTA:Eir/FileSystem/file/readByte Created page with "__NOTOC__ This function attempts to read a signed byte (native type) from a file and returns it. The amount of bytes read should be one. ==Syntax== <syntaxhighlight lang="lua"> signed_byte fil..."
- 07:5607:56, 31 January 2014 diff hist +396 MTA:Eir/FileSystem/file/functions →FileSystem File Functions
30 January 2014
- 23:5223:52, 30 January 2014 diff hist 0 m MTA:Eir/FileSystem/file/readBoolean No edit summary
- 23:4923:49, 30 January 2014 diff hist +2,381 N MTA:Eir/FileSystem/file/write Created page with "__NOTOC__ This function attempts to write a string of bytes (characters) into the file. It returns the amount of bytes that have actually been written. ==Syntax== <syntaxhighlight lang="lua"> ..."
- 23:1123:11, 30 January 2014 diff hist +4,670 N MTA:Eir/FileSystem/file/readBoolean Created page with "__NOTOC__ This function attempts to read a boolean (native type) from a file and return it. The amount of bytes read should be one. ==Syntax== <syntaxhighlight lang="lua"> boolean file.readBoo..."
- 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> ..."