Merge branch 'new-group-approve-all-membershp-requests' of https://github.com/Snaiker/nitro-renderer into Snaiker-new-group-approve-all-membershp-requests

This commit is contained in:
dank074 2022-12-30 19:16:53 -06:00
commit d8b2efdd08
4 changed files with 26 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -447,4 +447,5 @@ export class OutgoingHeader
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
public static EMAIL_GET_STATUS = 2557;
public static EMAIL_CHANGE = 3965;
public static APPROVE_ALL_MEMBERSHIP_REQUESTS = 882;
}

View File

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

View File

@ -1,3 +1,4 @@
export * from './ApproveAllMembershipRequestsMessageComposer';
export * from './GroupAdminGiveComposer';
export * from './GroupAdminTakeComposer';
export * from './GroupBadgePartsComposer';