Merge branch 'oobjectt-composer-breed-pets'

This commit is contained in:
dank074 2022-12-27 01:13:04 -06:00
commit 60ec3b3e6c
4 changed files with 29 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -138,6 +138,7 @@ export class OutgoingHeader
public static PET_MOVE = 3449;
public static PET_OPEN_PACKAGE = 3698;
public static PET_SELECTED = 549;
public static PETS_BREED = 1638;
public static GET_PET_TRAINING_PANEL = 2161;
public static RECYCLER_PRIZES = 398;
public static RELEASE_VERSION = 4000;

View File

@ -0,0 +1,25 @@
import { IMessageComposer } from '../../../../../../api';
export class BreedPetsMessageComposer implements IMessageComposer<ConstructorParameters<typeof BreedPetsMessageComposer>>
{
public static readonly STATE_START: number = 0;
public static readonly STATE_CANCEL: number = 1;
public static readonly STATE_ACCEPT: number = 2;
private _data: ConstructorParameters<typeof BreedPetsMessageComposer>;
constructor(state: number, petOneId: number, petTwoId: number)
{
this._data = [state, petOneId, petTwoId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -1 +1,2 @@
export * from './BreedPetsMessageComposer';
export * from './PetSelectedMessageComposer';