mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 20:18:25 +02:00
Work on Events system:
+ system_event.js + codes.l33t.enigma.system.user_upload and codes.l33t.enigma.system.user_download events
This commit is contained in:
parent
2eb07aebb8
commit
b273101b61
1 changed files with 14 additions and 0 deletions
14
core/system_events.js
Normal file
14
core/system_events.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* jslint node: true */
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
ClientConnected : 'codes.l33t.enigma.system.connected', // { client, connectionCount }
|
||||
ClientDisconnected : 'codes.l33t.enigma.system.disconnected', // { client, connectionCount }
|
||||
TermDetected : 'codes.l33t.enigma.system.term_detected', // { client }
|
||||
|
||||
// User - includes { user, ...}
|
||||
UserLogin : 'codes.l33t.enigma.system.user_login',
|
||||
UserLogoff : 'codes.l33t.enigma.system.user_logoff',
|
||||
UserUpload : 'codes.l33t.enigma.system.user_upload', // {..., files[ fileEntry, ...] }
|
||||
UserDownload : 'codes.l33t.enigma.system.user_download', // {..., files[ fileEntry, ...] }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue