User contributions for Lettify
Jump to navigation
Jump to search
23 December 2023
- 16:0116:01, 23 December 2023 diff hist +37 m User:Lettify No edit summary current
- 13:3113:31, 23 December 2023 diff hist −3 m OnPlayerMoneyChange No edit summary
- 13:3113:31, 23 December 2023 diff hist +25 N Template:Money events Created page with "* onPlayerMoneyChange"
- 13:2613:26, 23 December 2023 diff hist −61 m OnPlayerMoneyChange Não é preciso adicionar créditos ao incluir conteúdo na página, pois o nome do usuário já é registrado no histórico da página.
20 December 2023
- 20:1520:15, 20 December 2023 diff hist +20 m FileWrite Portuguese version indexed current
- 20:1520:15, 20 December 2023 diff hist +2,190 N PT-BR/fileWrite Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Escreve uma ou mais strings para um determinado arquivo, iniciando na posição de leitura/gravação atual. A posição avança de acordo com o número de bytes que estiver sendo escrito. ==Sintaxe== <syntaxhighlight lang="lua"> int fileWrite ( file theFile, string string1 [, string string2, string string3 ...]) </syntaxhighlight> {{PT-BR/POO||file:write}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' no qual..." current
- 20:0320:03, 20 December 2023 diff hist +77 m FileSetPos Portuguese version indexed current
- 20:0320:03, 20 December 2023 diff hist +1,588 N PT-BR/fileSetPos Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Define a posição atual para leitura/gravação no arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileSetPos ( file theFile, int offset ) </syntaxhighlight> {{PT-BR/POO||file:setPos|pos|PT-BR/fileGetPos}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer mudar a posição de leitura/gravação. *'''offset:''' A nova posição. Este é o número de bytes partindo do início do arquivo. Se est..." current
- 19:5119:51, 20 December 2023 diff hist +21 m FileRename Portuguese version indexed current
- 19:5019:50, 20 December 2023 diff hist +1,889 N PT-BR/fileRename Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Renomeia o arquivo que especificar. {{BR/Nota|Com esta função você também pode mover determinado arquivo para um lugar diferente, seja uma pasta diferente no resource atual ou até mesmo para a pasta de um outro resource. Mas para fazer isso o resource deve ter a seguinte permissão da ACL definida para ''true'': 'ModifyOtherObjects'.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileRename ( string filePath, string newFileP..." current
- 19:4619:46, 20 December 2023 diff hist +18 m Template:BR/Nota No edit summary current
- 19:4619:46, 20 December 2023 diff hist +1 m Template:PT-BR/MessageBox No edit summary current
- 19:3719:37, 20 December 2023 diff hist +19 m FileRead Portuguese version indexed current
- 19:3719:37, 20 December 2023 diff hist +1,892 N PT-BR/fileRead Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Faz a leitura de uma especificada quantidade de bytes de um determinado arquivo, começando em sua posição atual de leitura/gravação, e retorna o valor como uma ''string''. ==Sintaxe== <syntaxhighlight lang="lua"> string fileRead ( file theFile, int count ) </syntaxhighlight> {{PT-BR/POO||file:read}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que deseja fazer a leitura. Use fileOpen p..." current
- 19:2519:25, 20 December 2023 diff hist +19 m FileOpen Portuguese version indexed current
- 19:2519:25, 20 December 2023 diff hist +4,414 N PT-BR/fileOpen Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Abre um arquivo existente para leitura e gravação. {{BR/Nota|Para prevenir perdas de memórias, garanta que cada execução bem sucedida de fileOpen tenha um fileClose para fechar o arquivo aberto.}} {{BR/Tip|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos de configuração. É recomendado usar as Shared_Scripting_Functions#XML_functions|funções XM..." current
- 19:0419:04, 20 December 2023 diff hist +20 m FileIsEOF Portuguese version indexed current
- 19:0419:04, 20 December 2023 diff hist +1,816 N PT-BR/fileIsEOF Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Verifica se a posição atual no arquivo está no fim dele. {{BR/Nota|Devido às restrições subjacentes da API C, esta função pode retornar '''false''' até que seja feita uma tentativa de leitura além do final do arquivo.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileIsEOF ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:isEOF|eof}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer..." current
- 18:5518:55, 20 December 2023 diff hist +78 m FileGetSize Portuguese version indexed current
- 18:5518:55, 20 December 2023 diff hist +1,161 N PT-BR/fileGetSize Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Retorna o tamanho total (em bytes) de determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileGetSize ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getSize|size}} ===Argumentos necessários=== *'''theFile:''' o '''arquivo''' que você deseja obter o tamanho total. ===Retorno=== Retorna o tamanho do arquivo se tiver sido executado com sucesso, ou '''false''' se tiver ocorrido algum erro (ex.: um '''arqui..." current