📛 Add remove badge from Inventory

This commit is contained in:
duckietm
2026-02-19 14:46:48 +01:00
parent 5adb99c4d1
commit e8d9b2ecf0
4 changed files with 27 additions and 1 deletions
File diff suppressed because one or more lines are too long
@@ -475,4 +475,5 @@ export class OutgoingHeader
public static FURNITURE_PICKUP_ALL = 10017;
public static DELETE_ITEM = 10018;
public static DELETE_PET = 10030;
public static DELETE_BADGE = 10031;
}
@@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../../api';
export class DeleteBadgeMessageComposer implements IMessageComposer<ConstructorParameters<typeof DeleteBadgeMessageComposer>>
{
private _data: ConstructorParameters<typeof DeleteBadgeMessageComposer>;
constructor(badgeCode: string)
{
this._data = [ badgeCode ];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}
@@ -3,3 +3,4 @@ export * from './GetIsBadgeRequestFulfilledComposer';
export * from './RequestABadgeComposer';
export * from './RequestBadgesComposer';
export * from './SetActivatedBadgesComposer';
export * from './DeleteBadgeMessageComposer';