Files
Nitro_Render_V3/packages/communication/src/messages/outgoing/housekeeping/HousekeepingUnbanUserComposer.ts
T
simoleo89 c9d8f32e62 feat(communication): housekeeping unban-user composer
HousekeepingUnbanUserComposer (OutgoingHeader 9103) carrying a single
userId int. Response side reuses HousekeepingActionResultEvent — no
new parser needed because the ack shape is action-agnostic.

`yarn compile:fast` clean.
2026-05-24 16:26:06 +02:00

22 lines
467 B
TypeScript

import { IMessageComposer } from '@nitrots/api';
export class HousekeepingUnbanUserComposer implements IMessageComposer<ConstructorParameters<typeof HousekeepingUnbanUserComposer>>
{
private _data: ConstructorParameters<typeof HousekeepingUnbanUserComposer>;
constructor(userId: number)
{
this._data = [userId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}