vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | local IMBA_Msgs={} |
2 | local IMBA_MsgQueueTime=0 |
||
3 | |||
4 | function IMBA_ProcessMsgQueue() |
||
5 | if IMBA_MsgQueueTime<GetTime() and getn(IMBA_Msgs)>0 then |
||
6 | SendAddonMessage(IMBA_Msgs[1][1],IMBA_Msgs[1][2],IMBA_Msgs[1][3]) |
||
7 | tremove(IMBA_Msgs,1); |
||
8 | IMBA_MsgQueueTime=GetTime()+0.05; |
||
9 | end |
||
10 | end |
||
11 | |||
12 | function IMBA_AddMsg(addon, msg, channel) |
||
13 | tinsert(IMBA_Msgs,{addon, msg, channel}); |
||
14 | end |