#29 - UnblockGroupMemberMessageComposer added

This commit is contained in:
oobjectt 2022-12-26 20:53:10 +01:00
parent e70d9cc804
commit 514a2d19cf
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

@ -7,4 +7,5 @@ export * from './inventory/currency';
export * from './inventory/subscription';
export * from './ScrGetKickbackInfoMessageComposer';
export * from './settings';
export * from './UnblockGroupMemberMessageComposer';
export * from './UserRespectComposer';