You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
5dd5b26bbe
Outgoing 9127-9129: send-hotel-alert (message string), get-dashboard (no args), list-action-log (limit int). Incoming 9206 HousekeepingDashboardEvent + 9207 ActionLogEvent with matching parsers and data classes. Dashboard is a flat one-shot parse — no count prefix; action log uses the standard "count + N entries" list pattern. Closes the HK packet surface — yarn compile:fast clean.
17 lines
471 B
TypeScript
17 lines
471 B
TypeScript
import { IMessageEvent } from '@nitrots/api';
|
|
import { MessageEvent } from '@nitrots/events';
|
|
import { HousekeepingDashboardParser } from '../../parser';
|
|
|
|
export class HousekeepingDashboardEvent extends MessageEvent implements IMessageEvent
|
|
{
|
|
constructor(callBack: Function)
|
|
{
|
|
super(callBack, HousekeepingDashboardParser);
|
|
}
|
|
|
|
public getParser(): HousekeepingDashboardParser
|
|
{
|
|
return this.parser as HousekeepingDashboardParser;
|
|
}
|
|
}
|