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
386bf79ddc
OutgoingHeader 9117-9120: give-credits, give-currency (generic across duckets/diamonds/seasonal via a currencyType int), grant-item, set-hc-subscription. All four ride the existing HousekeepingActionResultEvent — no new parser needed. `yarn compile:fast` clean.
12 lines
470 B
TypeScript
12 lines
470 B
TypeScript
import { IMessageComposer } from '@nitrots/api';
|
|
|
|
export class HousekeepingGrantItemComposer implements IMessageComposer<ConstructorParameters<typeof HousekeepingGrantItemComposer>>
|
|
{
|
|
private _data: ConstructorParameters<typeof HousekeepingGrantItemComposer>;
|
|
|
|
constructor(userId: number, itemId: number, quantity: number) { this._data = [userId, itemId, quantity]; }
|
|
|
|
public getMessageArray() { return this._data; }
|
|
public dispose(): void { return; }
|
|
}
|