mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Merge branch 'oobjectt-composer-confirm-pet-breeding'
This commit is contained in:
commit
c9a602376f
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
export * from './CancelPetBreedingComposer';
|
||||
export * from './ConfirmPetBreedingComposer';
|
||||
export * from './RequestPetsComposer';
|
||||
|
Loading…
Reference in New Issue
Block a user