enigma-bbs/core/system_events.js

26 lines
1.1 KiB
JavaScript
Raw Normal View History

/* jslint node: true */
'use strict';
module.exports = {
2018-06-04 01:58:05 +00:00
ClientConnected : 'codes.l33t.enigma.system.connected', // { client, connectionCount }
ClientDisconnected : 'codes.l33t.enigma.system.disconnected', // { client, connectionCount }
TermDetected : 'codes.l33t.enigma.system.term_detected', // { client }
2018-06-14 02:54:59 +00:00
ThemeChanged : 'codes.l33t.enigma.system.theme_changed', // { themeId }
ConfigChanged : 'codes.l33t.enigma.system.config_changed',
MenusChanged : 'codes.l33t.enigma.system.menus_changed',
PromptsChanged : 'codes.l33t.enigma.system.prompts_changed',
// User - includes { user, ...}
2018-06-04 01:58:05 +00:00
NewUser : 'codes.l33t.enigma.system.new_user',
UserLogin : 'codes.l33t.enigma.system.user_login',
UserLogoff : 'codes.l33t.enigma.system.user_logoff',
2018-06-14 02:54:59 +00:00
UserUpload : 'codes.l33t.enigma.system.user_upload', // {..., files[ fileEntry, ...] }
UserDownload : 'codes.l33t.enigma.system.user_download', // {..., files[ fileEntry, ...] }
2018-06-04 01:58:05 +00:00
// NYI below here:
UserPostMessage : 'codes.l33t.enigma.system.user_post_msg',
UserSendMail : 'codes.l33t.enigma.system.user_send_mail',
UserSendRunDoor : 'codes.l33t.enigma.system.user_run_door',
};