Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / voiceQueue / voiceQueue.socket.js
index 735f655..6ff1ab8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa872=['update','emit','length','voiceQueue:','./voiceQueue.events','save'];(function(_0x1c969c,_0x2c0fbf){var _0x421d03=function(_0x2f4b4e){while(--_0x2f4b4e){_0x1c969c['push'](_0x1c969c['shift']());}};_0x421d03(++_0x2c0fbf);}(_0xa872,0x1b4));var _0x2a87=function(_0x336e7a,_0x211e1a){_0x336e7a=_0x336e7a-0x0;var _0x3764db=_0xa872[_0x336e7a];return _0x3764db;};'use strict';var VoiceQueueEvents=require(_0x2a87('0x0'));var events=[_0x2a87('0x1'),'remove',_0x2a87('0x2')];function createListener(_0x117a5a,_0x25ff4e){return function(_0x23385a){_0x25ff4e[_0x2a87('0x3')](_0x117a5a,_0x23385a);};}function removeListener(_0x5532a5,_0x57195b){return function(){VoiceQueueEvents['removeListener'](_0x5532a5,_0x57195b);};}exports['register']=function(_0xb3e6bc){for(var _0x23dd1a=0x0,_0x1fc688=events[_0x2a87('0x4')];_0x23dd1a<_0x1fc688;_0x23dd1a++){var _0x57471f=events[_0x23dd1a];var _0x2f45f0=createListener(_0x2a87('0x5')+_0x57471f,_0xb3e6bc);VoiceQueueEvents['on'](_0x57471f,_0x2f45f0);}};
\ No newline at end of file
+var _0xf3a8=['length','./voiceQueue.events','save','remove','update','register'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0xf3a8,0xaf));var _0x8f3a=function(_0x36f2ba,_0x3b27fc){_0x36f2ba=_0x36f2ba-0x0;var _0x3a1b67=_0xf3a8[_0x36f2ba];return _0x3a1b67;};'use strict';var VoiceQueueEvents=require(_0x8f3a('0x0'));var events=[_0x8f3a('0x1'),_0x8f3a('0x2'),_0x8f3a('0x3')];function createListener(_0x35de14,_0x20919c){return function(_0x1cc8fe){_0x20919c['emit'](_0x35de14,_0x1cc8fe);};}function removeListener(_0x45fde0,_0x17bfe5){return function(){VoiceQueueEvents['removeListener'](_0x45fde0,_0x17bfe5);};}exports[_0x8f3a('0x4')]=function(_0x141ab3){for(var _0x2dbc8c=0x0,_0x29a0f2=events[_0x8f3a('0x5')];_0x2dbc8c<_0x29a0f2;_0x2dbc8c++){var _0x2bc8d2=events[_0x2dbc8c];var _0x2809a7=createListener('voiceQueue:'+_0x2bc8d2,_0x141ab3);VoiceQueueEvents['on'](_0x2bc8d2,_0x2809a7);}};
\ No newline at end of file