Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
gitlord
/
isleward
espelho de
https://gitlab.com/Isleward/isleward.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
203
Wiki
Trabalho
Ver a proveniência
modding
#1983
: New object event: afterFollowerDeath
tags/v0.12.0
Shaun
há 1 ano
ascendente
57e2f3aa76
cometimento
8b8d804b9b
1 ficheiros alterados
com
9 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+9
-0
src/server/components/follower.js
+ 9
- 0
src/server/components/follower.js
Ver ficheiro
@@ -169,5 +169,14 @@ module.exports = {
type: 'follower',
master: this.master.id
};
},
events: {
afterDeath: function (deathEvent) {
this.master.fireEvent('afterFollowerDeath', {
deathEvent,
master: this.master
});
}
}
};
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar