Merge branch 'composer-unblock-member-group' of https://github.com/oobjectt/nitro-renderer into oobjectt-composer-unblock-member-group

This commit is contained in:
dank074 2023-01-03 02:56:13 -06:00
commit 9e89fa1eac
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -89,6 +89,7 @@ export class OutgoingHeader
public static GROUP_SAVE_COLORS = 1764;
public static GROUP_SAVE_PREFERENCES = 3435;
public static GROUP_BADGES = 21;
public static GROUP_UNBLOCK_MEMBER = 2864;
public static GET_BADGE_POINTS_LIMITS = 1371;
public static REQUESTABADGE = 3077;
public static GETISBADGEREQUESTFULFILLED = 1364;

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../api';
export class UnblockGroupMemberMessageComposer implements IMessageComposer<ConstructorParameters<typeof UnblockGroupMemberMessageComposer>>
{
private _data: ConstructorParameters<typeof UnblockGroupMemberMessageComposer>;
constructor(groupId: number, userId: number)
{
this._data = [groupId, userId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -9,5 +9,6 @@ export * from './inventory/currency';
export * from './inventory/subscription';
export * from './ScrGetKickbackInfoMessageComposer';
export * from './settings';
export * from './UnblockGroupMemberMessageComposer';
export * from './UserRespectComposer';
export * from './WelcomeGiftChangeEmailComposer';