Merge branch 'composer-mysterybox-trophy' of https://github.com/oobjectt/nitro-renderer into oobjectt-composer-mysterybox-trophy

This commit is contained in:
dank074 2022-12-26 17:24:05 -06:00
commit 4393b61ad9
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -197,6 +197,7 @@ export class OutgoingHeader
public static ROOM_FILTER_WORDS = 1911; public static ROOM_FILTER_WORDS = 1911;
public static ROOM_FILTER_WORDS_MODIFY = 3001; public static ROOM_FILTER_WORDS_MODIFY = 3001;
public static MYSTERYBOXWAITINGCANCELEDMESSAGE = 2012; public static MYSTERYBOXWAITINGCANCELEDMESSAGE = 2012;
public static MYSTERYBOX_OPEN_TROPHY = 3074;
public static SECURITY_MACHINE = 2490; public static SECURITY_MACHINE = 2490;
public static SECURITY_TICKET = 2419; public static SECURITY_TICKET = 2419;
public static TRADE = 1481; public static TRADE = 1481;

View File

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

View File

@ -9,6 +9,7 @@ export * from './FurniturePlacePaintComposer';
export * from './FurniturePostItPlaceComposer'; export * from './FurniturePostItPlaceComposer';
export * from './logic'; export * from './logic';
export * from './mannequin'; export * from './mannequin';
export * from './OpenMysteryTrophyMessageComposer';
export * from './presents'; export * from './presents';
export * from './toner'; export * from './toner';
export * from './wall'; export * from './wall';