Events! - Added event system for developers to get more out of plugins.
JavaScript:
functionSessionCreateEvent(event){print(event.getSessionId());}// can you call event by class name, if class name is "TestEvent" usefunctionTestEvent(event){// put your code}// you can create custom event, needs extends ProxyEvent (com.intion.proxy.event.ProxyEvent)// see example
manager.callEvent(yourCustomEventInstanciated);// if event can implements Cancelable, you can use event.setCancelled(), to stop event for final runningfunctionTestEvent(event){
event.setCancelled();}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.