add chat panel, send text messages, guard forbidden functions with an ifdef

This commit is contained in:
Eduardo Bart
2011-11-03 18:54:53 -02:00
parent 6d6479e4a9
commit b216b00a32
16 changed files with 142 additions and 37 deletions

View File

@@ -44,3 +44,6 @@ function Game.onVipStateChange(id, online)
label.vipOnline = online
end
connect(Game, { onLogin = VipList.create,
onLogout = VipList.destroy })

View File

@@ -9,10 +9,6 @@ Module
onLoad: |
require 'viplist'
VipList.create()
return true
onUnload:
VipList.destroy()