Debian Codegraph @

lua/handle_user.lua

raw symbols SCIP
1 --[[
2 Copyright (C) 2014 HarpyWar ([email protected])
3
4 This file is a part of the PvPGN Project http://pvpgn.pro
5 Licensed under the same terms as Lua itself.
6 ]]--
7
8
9 function handle_user_whisper(account_src, account_dst, text)
10 --DEBUG(account_src.name.."->"..account_dst.name.. ": ".. text)
11 --return 1;
12 end
13
14 function handle_user_login(account)
15 if (config.ghost) then
16 gh_handle_user_login(account)
17 end
18
19 -- send SID_REQUIREDWORK
20 --if account.archtag == ARCHTAG_WINX86 then
21 -- api.client_requiredwork(account.name, "IX86ExtraWork.mpq")
22 --end
23
24 --DEBUG(account.name.." logged in")
25 --return 1;
26 end
27
28 function handle_user_disconnect(account)
29 --DEBUG(account.name.." disconnected")
30 end
31
32 function handle_user_icon(account, iconinfo)
33 --TRACE("iconinfo"..iconinfo)
34 --return iconinfo
35 end
36