add onGameStart/onGameEnd/onLogin/onLogout events

This commit is contained in:
Eduardo Bart
2012-02-07 21:54:33 -02:00
parent ee1357a848
commit 09b3aa82df
16 changed files with 59 additions and 46 deletions

View File

@@ -365,8 +365,8 @@ local function onChannelList(channelList)
end
end
connect(Game, { onLogin = Console.create,
onLogout = Console.destroy,
connect(Game, { onGameStart = Console.create,
onGameEnd = Console.destroy,
onCreatureSpeak = onCreatureSpeak,
onChannelList = onChannelList,
onOpenChannel = onOpenChannel,