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
c9d8f32e62
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.
22 lines
467 B
TypeScript
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;
|
|
}
|
|
}
|