mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Merge branch 'oobjectt-composer-pet-selected'
This commit is contained in:
commit
b87b89374f
File diff suppressed because one or more lines are too long
@ -137,6 +137,7 @@ export class OutgoingHeader
|
||||
public static PET_RIDE = 1036;
|
||||
public static PET_MOVE = 3449;
|
||||
public static PET_OPEN_PACKAGE = 3698;
|
||||
public static PET_SELECTED = 549;
|
||||
public static GET_PET_TRAINING_PANEL = 2161;
|
||||
public static RECYCLER_PRIZES = 398;
|
||||
public static RELEASE_VERSION = 4000;
|
||||
|
@ -53,6 +53,7 @@ export * from './room/furniture/toner';
|
||||
export * from './room/furniture/wall';
|
||||
export * from './room/furniture/youtube';
|
||||
export * from './room/layout';
|
||||
export * from './room/pets';
|
||||
export * from './room/session';
|
||||
export * from './room/unit';
|
||||
export * from './room/unit/chat';
|
||||
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../../api';
|
||||
|
||||
export class PetSelectedMessageComposer implements IMessageComposer<ConstructorParameters<typeof PetSelectedMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PetSelectedMessageComposer>;
|
||||
|
||||
constructor(petId: number)
|
||||
{
|
||||
this._data = [petId];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
export * from './PetSelectedMessageComposer';
|
Loading…
Reference in New Issue
Block a user