Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / voiceQueue / voiceQueue.socket.js
index 735f655..f7f3df2 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 _0xa590=['voiceQueue:','remove','emit','register'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xa590,0x129));var _0x0a59=function(_0x58965a,_0x2e71db){_0x58965a=_0x58965a-0x0;var _0x254efc=_0xa590[_0x58965a];return _0x254efc;};'use strict';var VoiceQueueEvents=require('./voiceQueue.events');var events=['save',_0x0a59('0x0'),'update'];function createListener(_0x59da3d,_0xc8d18c){return function(_0x5a154b){_0xc8d18c[_0x0a59('0x1')](_0x59da3d,_0x5a154b);};}function removeListener(_0x59c03a,_0x22befe){return function(){VoiceQueueEvents['removeListener'](_0x59c03a,_0x22befe);};}exports[_0x0a59('0x2')]=function(_0x2963e7){for(var _0x2033a5=0x0,_0x1487ea=events['length'];_0x2033a5<_0x1487ea;_0x2033a5++){var _0x156a47=events[_0x2033a5];var _0x5d2a9a=createListener(_0x0a59('0x3')+_0x156a47,_0x2963e7);VoiceQueueEvents['on'](_0x156a47,_0x5d2a9a);}};
\ No newline at end of file