🆙 added Delete Pet in Inventory

This commit is contained in:
duckietm
2026-02-19 13:23:34 +01:00
parent a5373142f5
commit 5adb99c4d1
4 changed files with 28 additions and 2 deletions
File diff suppressed because one or more lines are too long
@@ -1,6 +1,5 @@
export class OutgoingHeader
{
// These packets do not belong to this revision, so these are custom packet ids
public static CLICK_FURNI = 6002;
public static ACHIEVEMENT_LIST = 219;
@@ -475,4 +474,5 @@ export class OutgoingHeader
public static FURNITURE_PICKUP_ALL = 10017;
public static DELETE_ITEM = 10018;
public static DELETE_PET = 10030;
}
@@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../../api';
export class DeletePetMessageComposer implements IMessageComposer<ConstructorParameters<typeof DeletePetMessageComposer>>
{
private _data: ConstructorParameters<typeof DeletePetMessageComposer>;
constructor(petId: number)
{
this._data = [petId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}
@@ -1,3 +1,5 @@
export * from './CancelPetBreedingComposer';
export * from './ConfirmPetBreedingComposer';
export * from './RequestPetsComposer';
export * from './DeletePetMessageComposer';