feat: add room control rendering support

This commit is contained in:
Lorenzune
2026-04-03 12:09:16 +02:00
parent ba52f538de
commit 24f1d1278a
21 changed files with 670 additions and 10 deletions
@@ -272,6 +272,8 @@ export class IncomingHeader
public static WIRED_MONITOR_DATA = 5101;
public static WIRED_ROOM_SETTINGS_DATA = 5102;
public static WIRED_USER_VARIABLES_DATA = 5103;
public static CONF_INVIS_STATE = 5104;
public static HANDITEM_BLOCK_STATE = 5105;
public static WIRED_OPEN = 1830;
public static WIRED_REWARD = 178;
public static WIRED_SAVE = 1155;
@@ -0,0 +1,16 @@
import { IMessageEvent } from '@nitrots/api';
import { MessageEvent } from '@nitrots/events';
import { ConfInvisStateMessageParser } from '../../../parser';
export class ConfInvisStateMessageEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, ConfInvisStateMessageParser);
}
public getParser(): ConfInvisStateMessageParser
{
return this.parser as ConfInvisStateMessageParser;
}
}
@@ -0,0 +1,16 @@
import { IMessageEvent } from '@nitrots/api';
import { MessageEvent } from '@nitrots/events';
import { HanditemBlockStateMessageParser } from '../../../parser';
export class HanditemBlockStateMessageEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, HanditemBlockStateMessageParser);
}
public getParser(): HanditemBlockStateMessageParser
{
return this.parser as HanditemBlockStateMessageParser;
}
}
@@ -1,4 +1,5 @@
export * from './AreaHideMessageEvent';
export * from './ConfInvisStateMessageEvent';
export * from './CustomUserNotificationMessageEvent';
export * from './DiceValueMessageEvent';
export * from './FurniRentOrBuyoutOfferMessageEvent';
@@ -6,6 +7,7 @@ export * from './FurnitureAliasesEvent';
export * from './FurnitureDataEvent';
export * from './FurnitureStackHeightEvent';
export * from './GroupFurniContextMenuInfoMessageEvent';
export * from './HanditemBlockStateMessageEvent';
export * from './ItemDataUpdateMessageEvent';
export * from './LoveLockFurniFinishedEvent';
export * from './LoveLockFurniFriendConfirmedEvent';