mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
fixed packet name
This commit is contained in:
parent
cda1946c29
commit
1031fb3d59
@ -322,6 +322,7 @@ import { TradingOpenComposer } from './messages/outgoing/inventory/trading/Tradi
|
|||||||
import { TradingUnacceptComposer } from './messages/outgoing/inventory/trading/TradingUnacceptComposer';
|
import { TradingUnacceptComposer } from './messages/outgoing/inventory/trading/TradingUnacceptComposer';
|
||||||
import { GetPromoArticlesComposer } from './messages/outgoing/landingview/GetPromoArticlesComposer';
|
import { GetPromoArticlesComposer } from './messages/outgoing/landingview/GetPromoArticlesComposer';
|
||||||
import { CommunityGoalVoteMessageComposer } from './messages/outgoing/landingview/votes/CommunityGoalVoteMessageComposer';
|
import { CommunityGoalVoteMessageComposer } from './messages/outgoing/landingview/votes/CommunityGoalVoteMessageComposer';
|
||||||
|
import { ModeratorActionMessageComposer } from './messages/outgoing/modtool/ModeratorActionMessageComposer';
|
||||||
import { ModtoolChangeRoomSettingsComposer } from './messages/outgoing/modtool/ModtoolChangeRoomSettingsComposer';
|
import { ModtoolChangeRoomSettingsComposer } from './messages/outgoing/modtool/ModtoolChangeRoomSettingsComposer';
|
||||||
import { ModtoolEventAlertComposer } from './messages/outgoing/modtool/ModtoolEventAlertComposer';
|
import { ModtoolEventAlertComposer } from './messages/outgoing/modtool/ModtoolEventAlertComposer';
|
||||||
import { ModtoolRequestRoomChatlogComposer } from './messages/outgoing/modtool/ModtoolRequestRoomChatlogComposer';
|
import { ModtoolRequestRoomChatlogComposer } from './messages/outgoing/modtool/ModtoolRequestRoomChatlogComposer';
|
||||||
@ -329,7 +330,6 @@ import { ModtoolRequestRoomInfoComposer } from './messages/outgoing/modtool/Modt
|
|||||||
import { ModtoolRequestUserChatlogComposer } from './messages/outgoing/modtool/ModtoolRequestUserChatlogComposer';
|
import { ModtoolRequestUserChatlogComposer } from './messages/outgoing/modtool/ModtoolRequestUserChatlogComposer';
|
||||||
import { ModtoolRequestUserInfoComposer } from './messages/outgoing/modtool/ModtoolRequestUserInfoComposer';
|
import { ModtoolRequestUserInfoComposer } from './messages/outgoing/modtool/ModtoolRequestUserInfoComposer';
|
||||||
import { ModtoolRequestUserRoomsComposer } from './messages/outgoing/modtool/ModtoolRequestUserRoomsComposer';
|
import { ModtoolRequestUserRoomsComposer } from './messages/outgoing/modtool/ModtoolRequestUserRoomsComposer';
|
||||||
import { ModtoolRoomAlertComposer } from './messages/outgoing/modtool/ModtoolRoomAlertComposer';
|
|
||||||
import { ModtoolSanctionAlertComposer } from './messages/outgoing/modtool/ModtoolSanctionAlertComposer';
|
import { ModtoolSanctionAlertComposer } from './messages/outgoing/modtool/ModtoolSanctionAlertComposer';
|
||||||
import { ModtoolSanctionBanComposer } from './messages/outgoing/modtool/ModtoolSanctionBanComposer';
|
import { ModtoolSanctionBanComposer } from './messages/outgoing/modtool/ModtoolSanctionBanComposer';
|
||||||
import { ModtoolSanctionKickComposer } from './messages/outgoing/modtool/ModtoolSanctionKickComposer';
|
import { ModtoolSanctionKickComposer } from './messages/outgoing/modtool/ModtoolSanctionKickComposer';
|
||||||
@ -1231,7 +1231,7 @@ export class NitroMessages implements IMessageConfiguration
|
|||||||
this._composers.set(OutgoingHeader.MODTOOL_ALERTEVENT, ModtoolEventAlertComposer);
|
this._composers.set(OutgoingHeader.MODTOOL_ALERTEVENT, ModtoolEventAlertComposer);
|
||||||
this._composers.set(OutgoingHeader.MODTOOL_SANCTION_MUTE, ModtoolSanctionMuteComposer);
|
this._composers.set(OutgoingHeader.MODTOOL_SANCTION_MUTE, ModtoolSanctionMuteComposer);
|
||||||
this._composers.set(OutgoingHeader.MODTOOL_REQUEST_USER_ROOMS, ModtoolRequestUserRoomsComposer);
|
this._composers.set(OutgoingHeader.MODTOOL_REQUEST_USER_ROOMS, ModtoolRequestUserRoomsComposer);
|
||||||
this._composers.set(OutgoingHeader.MODTOOL_ROOM_ALERT, ModtoolRoomAlertComposer);
|
this._composers.set(OutgoingHeader.MODTOOL_ROOM_ALERT, ModeratorActionMessageComposer);
|
||||||
|
|
||||||
// SETTINGS
|
// SETTINGS
|
||||||
this._composers.set(OutgoingHeader.USER_SETTINGS_CAMERA, UserSettingsCameraFollowComposer);
|
this._composers.set(OutgoingHeader.USER_SETTINGS_CAMERA, UserSettingsCameraFollowComposer);
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
|
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
|
||||||
|
|
||||||
export class ModtoolRoomAlertComposer implements IMessageComposer<any>
|
export class ModeratorActionMessageComposer implements IMessageComposer<any>
|
||||||
{
|
{
|
||||||
|
public static readonly ACTION_ALERT = 0;
|
||||||
|
public static readonly ACTION_KICK = 1;
|
||||||
|
public static readonly ACTION_MESSAGE = 3;
|
||||||
|
public static readonly ACTION_MESSAGE_AND_SOFT_KICK = 4;
|
||||||
|
|
||||||
private _data: any[] = [];
|
private _data: any[] = [];
|
||||||
|
|
||||||
constructor(k: number, arg2: string, arg3: string)
|
constructor(k: number, arg2: string, arg3: string)
|
@ -1,3 +1,4 @@
|
|||||||
|
export * from './ModeratorActionMessageComposer';
|
||||||
export * from './ModtoolChangeRoomSettingsComposer';
|
export * from './ModtoolChangeRoomSettingsComposer';
|
||||||
export * from './ModtoolEventAlertComposer';
|
export * from './ModtoolEventAlertComposer';
|
||||||
export * from './ModtoolRequestRoomChatlogComposer';
|
export * from './ModtoolRequestRoomChatlogComposer';
|
||||||
@ -5,7 +6,6 @@ export * from './ModtoolRequestRoomInfoComposer';
|
|||||||
export * from './ModtoolRequestUserChatlogComposer';
|
export * from './ModtoolRequestUserChatlogComposer';
|
||||||
export * from './ModtoolRequestUserInfoComposer';
|
export * from './ModtoolRequestUserInfoComposer';
|
||||||
export * from './ModtoolRequestUserRoomsComposer';
|
export * from './ModtoolRequestUserRoomsComposer';
|
||||||
export * from './ModtoolRoomAlertComposer';
|
|
||||||
export * from './ModtoolSanctionAlertComposer';
|
export * from './ModtoolSanctionAlertComposer';
|
||||||
export * from './ModtoolSanctionBanComposer';
|
export * from './ModtoolSanctionBanComposer';
|
||||||
export * from './ModtoolSanctionKickComposer';
|
export * from './ModtoolSanctionKickComposer';
|
||||||
|
Loading…
Reference in New Issue
Block a user