Merge branch 'oobjectt-composer-confirm-pet-breeding'

This commit is contained in:
dank074 2022-12-27 01:16:58 -06:00
commit c9a602376f
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -140,6 +140,7 @@ export class OutgoingHeader
public static PET_SELECTED = 549;
public static PETS_BREED = 1638;
public static PET_CANCEL_BREEDING = 2713;
public static PET_CONFIRM_BREEDING = 3382;
public static GET_PET_TRAINING_PANEL = 2161;
public static RECYCLER_PRIZES = 398;
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,2 +1,3 @@
export * from './CancelPetBreedingComposer';
export * from './ConfirmPetBreedingComposer';
export * from './RequestPetsComposer';