You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
feat: support wired movement packets and room sync
This commit is contained in:
@@ -181,6 +181,7 @@ export class IncomingHeader
|
||||
public static ROOM_RIGHTS_LIST_REMOVE = 1327;
|
||||
public static ROOM_RIGHTS_OWNER = 339;
|
||||
public static ROOM_ROLLING = 3207;
|
||||
public static WIRED_MOVEMENTS = 3999;
|
||||
public static ROOM_SCORE = 482;
|
||||
public static ROOM_SETTINGS = 1498;
|
||||
public static ROOM_SETTINGS_CHAT = 1191;
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { IMessageEvent } from '@nitrots/api';
|
||||
import { MessageEvent } from '@nitrots/events';
|
||||
import { WiredMovementsParser } from '../../../parser';
|
||||
|
||||
export class WiredMovementsEvent extends MessageEvent implements IMessageEvent
|
||||
{
|
||||
constructor(callBack: Function)
|
||||
{
|
||||
super(callBack, WiredMovementsParser);
|
||||
}
|
||||
|
||||
public getParser(): WiredMovementsParser
|
||||
{
|
||||
return this.parser as WiredMovementsParser;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from './FavoriteMembershipUpdateMessageEvent';
|
||||
export * from './ObjectsDataUpdateEvent';
|
||||
export * from './ObjectsRollingEvent';
|
||||
export * from './WiredMovementsEvent';
|
||||
|
||||
Reference in New Issue
Block a user