User contributions for Danilo
Jump to navigation
Jump to search
18 January 2022
- 23:5923:59, 18 January 2022 diff hist +404 N Modules/FileSystem/getDoBufferAllRaw Created page with "__NOTOC__ This function returns the value of the buffering-policy for newly created raw-file handles. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.getDoBufferAllRaw() </syntaxhighlight> ==Returns== This function returns true if the buffering-policy is enabled, false otherwise. ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:Modules/FileSystem/namespace/functions}}"
- 23:5823:58, 18 January 2022 diff hist +661 N Modules/FileSystem/setDoBufferAllRaw Created page with "__NOTOC__ This function changes the raw-file buffering policy of newly created file streams. If the buffering-policy is enabled then each newly created file stream is wrapped inside of a custom FileSystem buffering handle. File stream modifications that are close to each other are batched together for optimizational purposes. ==Syntax== <syntaxhighlight lang="lua"> void fsnamespace.setDoBufferAllRaw( bool enabled ) </syntaxhighlight> ==Arguments== *'''enabled''': new v..."
- 23:5723:57, 18 January 2022 diff hist +576 N Modules/FileSystem/type Created page with "__NOTOC__ This function returns the type of the given Eir FileSystem object. ==Syntax== <syntaxhighlight lang="lua"> string fsnamespace.type( userdata obj ) </syntaxhighlight> ==Arguments== *'''obj''': the Eir FileSystem object to retrieve the type from ==Returns== This function returns the type string of the queried object, false if not successful. For destroyed objects the return value is always false. ===Possible Return Values=== *file *file-translator ==Example=..."
- 23:5423:54, 18 January 2022 diff hist +559 N Modules/FileSystem/topointer Created page with "__NOTOC__ This function returns the light-userdata representation of the object. This is the direct pointer into the Eir FileSystem module handle. ==Syntax== <syntaxhighlight lang="lua"> light-userdata fsnamespace.topointer( userdata obj ) </syntaxhighlight> ==Arguments== *'''obj''': the userdata of the Eir FileSystem Lua environment ==Returns== This function returns the light-userdata value of the internal object, false if not successful. ==Example== <syntaxhighligh..."
- 23:5323:53, 18 January 2022 diff hist +731 N Modules/FileSystem/streamCompare Created page with "__NOTOC__ This function compares the bytes of two streams for equality. The comparison starts from the current file seek and finishes at the end of the respective file stream. If the read count of either stream does not match the other, then this function fails. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.streamCompare( file left, file right ) </syntaxhighlight> ==Arguments== *'''left''': first file for equality comparison *'''right''': second file for equ..."
- 23:5123:51, 18 January 2022 diff hist +641 N Modules/FileSystem/pathToFilename Created page with "__NOTOC__ This function returns the filename and the direction portions of a filepath, seperated into two strings. ==Syntax== <syntaxhighlight lang="lua"> string, string fsnamespace.pathToFilename( string path, bool includeExtention ) </syntaxhighlight> ==Arguments== *'''path''': the file path to extract from *'''includeExtention''': if true then the filename extention is included in the result ==Returns== This function returns the filename and directory of the provid..."
- 23:5023:50, 18 January 2022 diff hist +977 N Modules/FileSystem/copyStreamCount Created page with "__NOTOC__ This function copies data starting from a source file stream into a specified destination stream. The copy of data is performed starting from the source file seek. The copy is only performed up to a specified count of bytes. Read operations on the file streams advance the seek pointers. Thus the seek pointers stay changed after the function has completed. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyStreamCount( file src, file dst, int count )..."
- 23:4923:49, 18 January 2022 diff hist +838 N Modules/FileSystem/copyStream Created page with "__NOTOC__ This function copies data starting from a source file stream into a specified destination stream. The copy of data is performed starting from the source file seek. Read operations on the file streams advance the seek pointers. Thus the seek pointers stay changed after the function has completed. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyStream( file src, file dst ) </syntaxhighlight> ==Arguments== *'''src''': source of the copy operation,..."
- 23:4823:48, 18 January 2022 diff hist +710 N Modules/FileSystem/copyFile Created page with "__NOTOC__ This function copies files between two translators. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyFile( translator srcTrans, string srcPath, translator dstTrans, string dstPath ) </syntaxhighlight> ==Arguments== *'''srcTrans:''' source translator for the file of origin *'''srcPath:''' path into the source translator *'''dstTrans:''' target translator *'''dstPath:''' path into the target translator ==Returns== This function returns true if the..."
- 23:4623:46, 18 January 2022 diff hist +1,041 N Modules/FileSystem/createFileIterative Created page with "__NOTOC__ This function attempts to create a file with numeric iteration for filename collision avoidance. If a specific filename is taken then an the algorithm will try to create the next file with increased numeric insert. ==Syntax== <syntaxhighlight lang="lua"> file fsnamespace.createFileIterative( translator target, string prefix, string suffix, int maxIterations ) </syntaxhighlight> ==Arguments== *'''target''': the file translator based on which to create the file..."
- 23:4423:44, 18 January 2022 diff hist +424 N Modules/FileSystem/createMemoryFile Created page with "__NOTOC__ This function creates a single file that is resident entirely in system memory. ==Syntax== <syntaxhighlight lang="lua"> file fsnamespace.createMemoryFile( ) </syntaxhighlight> ==Returns== This function returns a new file object if successful, false otherwise. ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:Modules/FileSystem/namespace/functions}} {{:Modules/FileSystem/file/functions}}"
- 23:4023:40, 18 January 2022 diff hist +3,225 N Modules/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 files that reside in their directory trees. The translator returned by this function usually represents an OS filesystem directory. ==Syntax== <syntaxhighlight lang="lua"> translator fsnamespace.createTranslator( string rootPath ) </syntaxhighlight> ==Arguments== *'''rootPath:''' the absolute..."
- 23:3223:32, 18 January 2022 diff hist +771 N Modules/FileSystem/createRAMDisk Created page with "__NOTOC__ This function creates a FileSystem translator which is located entirely inside of MTA application memory, also known as RAM. ==Syntax== <syntaxhighlight lang="lua"> translator fsnamespace.createRAMDisk( bool caseSensitive ) </syntaxhighlight> ==Arguments== *'''caseSensitive:''' if true then all namespaces are compared case sensitively in path operations, otherwise strict character equality comparison is performed ==Returns== This function returns a new '''Fi..."
18 April 2021
- 20:5920:59, 18 April 2021 diff hist −34 User:Danilo No edit summary current
24 October 2020
- 21:1021:10, 24 October 2020 diff hist +79 ReloadBans oop current
5 September 2020
- 06:4306:43, 5 September 2020 diff hist +3 m IsEventHandlerAdded No edit summary
2 September 2020
- 01:2201:22, 2 September 2020 diff hist +1 m IsEventHandlerAdded No edit summary
- 00:0100:01, 2 September 2020 diff hist +140 IsEventHandlerAdded Note added
15 August 2020
- 05:2705:27, 15 August 2020 diff hist −3 SetAccountData →Syntax
10 August 2020
- 00:4800:48, 10 August 2020 diff hist +35 AddAccount No edit summary
5 August 2020
- 04:1604:16, 5 August 2020 diff hist 0 FormatDate →Code
- 04:1304:13, 5 August 2020 diff hist 0 m Template:Useful Functions →Data functions
- 04:1304:13, 5 August 2020 diff hist 0 m FormatDate →Syntax
- 04:1104:11, 5 August 2020 diff hist 0 m FormatDate →Example
- 04:1004:10, 5 August 2020 diff hist 0 FormatDate lowercase
26 July 2020
- 18:2218:22, 26 July 2020 diff hist 0 RoundedRectangle →Exmaple
4 July 2020
- 00:5800:58, 4 July 2020 diff hist +3 Database updated old information containing executeSQL* functions which is deprecated
- 00:5300:53, 4 July 2020 diff hist −10 DbPoll updated old information
3 June 2020
- 03:1403:14, 3 June 2020 diff hist +1 RenameResource No edit summary
- 03:0703:07, 3 June 2020 diff hist +85 RenameResource update 1st arg
28 May 2020
- 07:3607:36, 28 May 2020 diff hist +107 GuiGridListGetSelectedText check if there's a selected row (row ~= -1) current
24 May 2020
- 21:3721:37, 24 May 2020 diff hist +17 PT-BR/SetTimer →Argumentos Necessários
23 May 2020
- 22:1322:13, 23 May 2020 diff hist +2 m DxDrawTextOnElement →Example #1
- 22:1322:13, 23 May 2020 diff hist +9 m DxDrawTextOnElement →Example #1
- 22:1222:12, 23 May 2020 diff hist +7 m DxDrawTextOnElement indent
13 May 2020
- 09:3009:30, 13 May 2020 diff hist +111 GetDistanceBetweenElements No edit summary
9 March 2020
- 05:2705:27, 9 March 2020 diff hist +8 Element/Radar area No edit summary
28 February 2020
- 03:2003:20, 28 February 2020 diff hist −20 Template:Utility functions No edit summary
26 February 2020
- 18:4818:48, 26 February 2020 diff hist −8 Elemento/Marker No edit summary current
5 February 2020
- 03:5803:58, 5 February 2020 diff hist +34 Página Inicial No edit summary
3 February 2020
- 03:5003:50, 3 February 2020 diff hist −1 Template:BR/Funcoes de Evento No edit summary current
- 03:4903:49, 3 February 2020 diff hist +37 Template:BR/Funcoes de Evento do Cliente No edit summary current
- 03:4703:47, 3 February 2020 diff hist +38 Template:BR/Funcoes de Evento No edit summary
- 01:5201:52, 3 February 2020 diff hist +161 Página Inicial No edit summary
- 01:4601:46, 3 February 2020 diff hist 0 Página Inicial No edit summary
13 January 2020
- 03:3303:33, 13 January 2020 diff hist +30 OnPlayerChangeNick No edit summary
29 December 2019
- 07:4507:45, 29 December 2019 diff hist +90 SetSoundEffectEnabled added player element which will affect player voice
25 December 2019
- 20:2120:21, 25 December 2019 diff hist −3 EngineReplaceModel →Example
7 November 2019
- 20:3620:36, 7 November 2019 diff hist +1 OnElementModelChange No edit summary current
- 20:3520:35, 7 November 2019 diff hist +34 OnElementModelChange No edit summary