#29 - ConfirmPetBreedingComposer added

This commit is contained in:
oobjectt 2022-12-26 17:59:30 +01:00
parent e70d9cc804
commit ef9c2ad50e
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -136,6 +136,7 @@ export class OutgoingHeader
public static PET_RESPECT = 3202; public static PET_RESPECT = 3202;
public static PET_RIDE = 1036; public static PET_RIDE = 1036;
public static PET_MOVE = 3449; public static PET_MOVE = 3449;
public static PET_CONFIRM_BREEDING = 3382;
public static GET_PET_TRAINING_PANEL = 2161; public static GET_PET_TRAINING_PANEL = 2161;
public static RECYCLER_PRIZES = 398; public static RECYCLER_PRIZES = 398;
public static RELEASE_VERSION = 4000; public static RELEASE_VERSION = 4000;

View File

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

View File

@ -1 +1,2 @@
export * from './ConfirmPetBreedingComposer';
export * from './RequestPetsComposer'; export * from './RequestPetsComposer';