Launcher · Funções nativas
As funções marcadas como essencial qualquer tema precisa.
Início e janela
ThemeReady()essencialAvisa que o tema carregou. Sem isto a janela aparece cortada. Chame no fim do carregamento.
// Avisa que o tema carregou (chame no fim)
ThemeReady();Start(param, main)essencialInicia o jogo. Passe main vazio para usar o exe do launcher.json.
// Inicia o jogo (main vazio = usa o launcher.json)
Start('connect', '');Minimizer() · Closed()essencialMinimiza e fecha a janela.
Minimizer(); // minimiza
Closed(); // fechaNavegação e avisos
Url(endereco)Abre um link no navegador padrão.
Url('https://seusite.com/ranking');Alert(tipo, titulo, msg)Caixa de diálogo. tipo: info, warning, error.
Alert('info', 'Aviso', 'Manutenção às 20h.');Ler/gravar config do jogo? Veja Leitura e atualização.
Launcher · Native functions
The functions marked essential every theme needs.
Start and window
ThemeReady()essentialSignals the theme loaded. Without it the window shows cropped. Call at the end of loading.
// Avisa que o tema carregou (chame no fim)
ThemeReady();Start(param, main)essentialStarts the game. Pass main empty to use the exe from launcher.json.
// Inicia o jogo (main vazio = usa o launcher.json)
Start('connect', '');Minimizer() · Closed()essentialMinimizes and closes the window.
Minimizer(); // minimiza
Closed(); // fechaNavigation and alerts
Url(address)Opens a link in the default browser.
Url('https://seusite.com/ranking');Alert(type, title, msg)Dialog box. type: info, warning, error.
Alert('info', 'Aviso', 'Manutenção às 20h.');Read/write game settings? See Read & write.
Launcher · Funciones nativas
Las funciones marcadas como esencial todo tema las necesita.
Inicio y ventana
ThemeReady()esencialAvisa que el tema cargó. Sin esto la ventana aparece cortada. Llama al final de la carga.
// Avisa que o tema carregou (chame no fim)
ThemeReady();Start(param, main)esencialInicia el juego. Pasa main vacío para usar el exe del launcher.json.
// Inicia o jogo (main vazio = usa o launcher.json)
Start('connect', '');Minimizer() · Closed()esencialMinimiza y cierra la ventana.
Minimizer(); // minimiza
Closed(); // fechaNavegación y avisos
Url(direccion)Abre un enlace en el navegador predeterminado.
Url('https://seusite.com/ranking');Alert(tipo, titulo, msg)Cuadro de diálogo. tipo: info, warning, error.
Alert('info', 'Aviso', 'Manutenção às 20h.');¿Leer/escribir config del juego? Mira Lectura y escritura.