You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 added Delete Pet in Inventory
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,6 +1,5 @@
|
|||||||
export class OutgoingHeader
|
export class OutgoingHeader
|
||||||
{
|
{
|
||||||
// These packets do not belong to this revision, so these are custom packet ids
|
|
||||||
public static CLICK_FURNI = 6002;
|
public static CLICK_FURNI = 6002;
|
||||||
|
|
||||||
public static ACHIEVEMENT_LIST = 219;
|
public static ACHIEVEMENT_LIST = 219;
|
||||||
@@ -475,4 +474,5 @@ export class OutgoingHeader
|
|||||||
|
|
||||||
public static FURNITURE_PICKUP_ALL = 10017;
|
public static FURNITURE_PICKUP_ALL = 10017;
|
||||||
public static DELETE_ITEM = 10018;
|
public static DELETE_ITEM = 10018;
|
||||||
|
public static DELETE_PET = 10030;
|
||||||
}
|
}
|
||||||
|
|||||||
+21
@@ -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 './CancelPetBreedingComposer';
|
||||||
export * from './ConfirmPetBreedingComposer';
|
export * from './ConfirmPetBreedingComposer';
|
||||||
export * from './RequestPetsComposer';
|
export * from './RequestPetsComposer';
|
||||||
|
|
||||||
|
export * from './DeletePetMessageComposer';
|
||||||
|
|||||||
Reference in New Issue
Block a user