LibEventController-1.0

An experimental Event Model Control Viewer which can be used to control events globally throughout the game.

Still lacking secure frame checks.

Example Usage:

lec = LibStub:GetLibrary("LibEventController-1.0");
function chat_msg_whisper(controller, event, ...)
   -- controller:Suspend() -- don't deliver event just yet,
   -- suspend is ideal to check credetials (who look up) before delivery.
   -- controller:Release() -- release a suspended event
   -- controller:Block() -- block event from ever being delivered.
   -- controller:BlockFrom(frame[,frame2, frame3...])
   -- controller:Allow() -- same as doing nothing, deliver as normal

   -- controller.arg[1...]
   -- controller.frames[1...] -- list of frames waiting for event.
end
lec:RegisterEventController("CHAT_MSG_WHISPER", chat_msg_whisper);

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
31 Oct 2008
Category
Last update
12 Nov 2008
Development stage
Alpha
License
All Rights Reserved
Recent files
  • A: r3 for 3.0.3 on 12 Nov 2008
  • A: r2 for 3.0.2 on 01 Nov 2008

Authors