mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-09-22 22:27:56 +03:00
Implement eventlog.write
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Editor configs
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# External modules
|
||||
node_modules
|
||||
|
||||
@@ -61,7 +61,12 @@ export function register() {
|
||||
MultiRoute('entry_s', true);
|
||||
MultiRoute('entry_e', true);
|
||||
MultiRoute('exception', true);
|
||||
R.Route('eventlog.write', true);
|
||||
R.Route('eventlog.write', (_, __, send) => send.object({
|
||||
gamesession: K.ITEM('s64', 1n),
|
||||
logsendflg: K.ITEM('s32', 0),
|
||||
logerrlevel: K.ITEM('s32', 0),
|
||||
evtidnosendflg: K.ITEM('s32', 0)
|
||||
}));
|
||||
|
||||
R.Unhandled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user