mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
moved packets around
This commit is contained in:
parent
abdbe7a542
commit
bfb5684436
@ -90,15 +90,8 @@ import { MarketplaceItemStatsEvent } from './messages/incoming/marketplace/Marke
|
|||||||
import { MarketplaceMakeOfferResult } from './messages/incoming/marketplace/MarketplaceMakeOfferResult';
|
import { MarketplaceMakeOfferResult } from './messages/incoming/marketplace/MarketplaceMakeOfferResult';
|
||||||
import { MarketPlaceOffersEvent } from './messages/incoming/marketplace/MarketplaceOffersEvent';
|
import { MarketPlaceOffersEvent } from './messages/incoming/marketplace/MarketplaceOffersEvent';
|
||||||
import { MarketplaceOwnOffersEvent } from './messages/incoming/marketplace/MarketplaceOwnOffersEvent';
|
import { MarketplaceOwnOffersEvent } from './messages/incoming/marketplace/MarketplaceOwnOffersEvent';
|
||||||
import { UserBannedMessageEvent } from './messages/incoming/moderation';
|
import { ModeratorInitMessageEvent, ModtoolCallForHelpTopicsEvent, ModtoolReceivedRoomsUserEvent, ModtoolRoomChatlogEvent, ModtoolRoomInfoEvent, ModtoolUserChatlogEvent, ModtoolUserInfoEvent, UserBannedMessageEvent } from './messages/incoming/moderation';
|
||||||
import { ModeratorCautionEvent } from './messages/incoming/moderation/ModeratorCautionEvent';
|
import { ModeratorCautionEvent } from './messages/incoming/moderation/ModeratorCautionEvent';
|
||||||
import { ModeratorInitMessageEvent } from './messages/incoming/modtool/ModeratorInitMessageEvent';
|
|
||||||
import { ModtoolCallForHelpTopicsEvent } from './messages/incoming/modtool/ModtoolCallForHelpTopicsEvent';
|
|
||||||
import { ModtoolReceivedRoomsUserEvent } from './messages/incoming/modtool/ModtoolReceivedRoomsUserEvent';
|
|
||||||
import { ModtoolRoomChatlogEvent } from './messages/incoming/modtool/ModtoolRoomChatlogEvent';
|
|
||||||
import { ModtoolRoomInfoEvent } from './messages/incoming/modtool/ModtoolRoomInfoEvent';
|
|
||||||
import { ModtoolUserChatlogEvent } from './messages/incoming/modtool/ModtoolUserChatlogEvent';
|
|
||||||
import { ModtoolUserInfoEvent } from './messages/incoming/modtool/ModtoolUserInfoEvent';
|
|
||||||
import { NavigatorCategoriesEvent } from './messages/incoming/navigator/NavigatorCategoriesEvent';
|
import { NavigatorCategoriesEvent } from './messages/incoming/navigator/NavigatorCategoriesEvent';
|
||||||
import { NavigatorCollapsedEvent } from './messages/incoming/navigator/NavigatorCollapsedEvent';
|
import { NavigatorCollapsedEvent } from './messages/incoming/navigator/NavigatorCollapsedEvent';
|
||||||
import { NavigatorEventCategoriesEvent } from './messages/incoming/navigator/NavigatorEventCategoriesEvent';
|
import { NavigatorEventCategoriesEvent } from './messages/incoming/navigator/NavigatorEventCategoriesEvent';
|
||||||
@ -322,20 +315,20 @@ 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 { DefaultSanctionMessageComposer } from './messages/outgoing/modtool/DefaultSanctionMessageComposer';
|
import { DefaultSanctionMessageComposer } from './messages/outgoing/moderation/DefaultSanctionMessageComposer';
|
||||||
import { GetModeratorRoomInfoMessageComposer } from './messages/outgoing/modtool/GetModeratorRoomInfoMessageComposer';
|
import { GetModeratorRoomInfoMessageComposer } from './messages/outgoing/moderation/GetModeratorRoomInfoMessageComposer';
|
||||||
import { GetModeratorUserInfoMessageComposer } from './messages/outgoing/modtool/GetModeratorUserInfoMessageComposer';
|
import { GetModeratorUserInfoMessageComposer } from './messages/outgoing/moderation/GetModeratorUserInfoMessageComposer';
|
||||||
import { GetRoomChatlogMessageComposer } from './messages/outgoing/modtool/GetRoomChatlogMessageComposer';
|
import { GetRoomChatlogMessageComposer } from './messages/outgoing/moderation/GetRoomChatlogMessageComposer';
|
||||||
import { GetRoomVisitsMessageComposer } from './messages/outgoing/modtool/GetRoomVisitsMessageComposer';
|
import { GetRoomVisitsMessageComposer } from './messages/outgoing/moderation/GetRoomVisitsMessageComposer';
|
||||||
import { GetUserChatlogMessageComposer } from './messages/outgoing/modtool/GetUserChatlogMessageComposer';
|
import { GetUserChatlogMessageComposer } from './messages/outgoing/moderation/GetUserChatlogMessageComposer';
|
||||||
import { ModAlertMessageComposer } from './messages/outgoing/modtool/ModAlertMessageComposer';
|
import { ModAlertMessageComposer } from './messages/outgoing/moderation/ModAlertMessageComposer';
|
||||||
import { ModBanMessageComposer } from './messages/outgoing/modtool/ModBanMessageComposer';
|
import { ModBanMessageComposer } from './messages/outgoing/moderation/ModBanMessageComposer';
|
||||||
import { ModerateRoomMessageComposer } from './messages/outgoing/modtool/ModerateRoomMessageComposer';
|
import { ModerateRoomMessageComposer } from './messages/outgoing/moderation/ModerateRoomMessageComposer';
|
||||||
import { ModeratorActionMessageComposer } from './messages/outgoing/modtool/ModeratorActionMessageComposer';
|
import { ModeratorActionMessageComposer } from './messages/outgoing/moderation/ModeratorActionMessageComposer';
|
||||||
import { ModKickMessageComposer } from './messages/outgoing/modtool/ModKickMessageComposer';
|
import { ModKickMessageComposer } from './messages/outgoing/moderation/ModKickMessageComposer';
|
||||||
import { ModMessageMessageComposer } from './messages/outgoing/modtool/ModMessageMessageComposer';
|
import { ModMessageMessageComposer } from './messages/outgoing/moderation/ModMessageMessageComposer';
|
||||||
import { ModMuteMessageComposer } from './messages/outgoing/modtool/ModMuteMessageComposer';
|
import { ModMuteMessageComposer } from './messages/outgoing/moderation/ModMuteMessageComposer';
|
||||||
import { ModTradingLockMessageComposer } from './messages/outgoing/modtool/ModTradingLockMessageComposer';
|
import { ModTradingLockMessageComposer } from './messages/outgoing/moderation/ModTradingLockMessageComposer';
|
||||||
import { ConvertGlobalRoomIdMessageComposer } from './messages/outgoing/navigator/ConvertGlobalRoomIdComposer';
|
import { ConvertGlobalRoomIdMessageComposer } from './messages/outgoing/navigator/ConvertGlobalRoomIdComposer';
|
||||||
import { NavigatorCategoriesComposer } from './messages/outgoing/navigator/NavigatorCategoriesComposer';
|
import { NavigatorCategoriesComposer } from './messages/outgoing/navigator/NavigatorCategoriesComposer';
|
||||||
import { NavigatorCategoryListModeComposer } from './messages/outgoing/navigator/NavigatorCategoryListModeComposer';
|
import { NavigatorCategoryListModeComposer } from './messages/outgoing/navigator/NavigatorCategoryListModeComposer';
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper';
|
||||||
|
import { ChatRecordData } from '../../parser/moderation/utils/ChatRecordData';
|
||||||
|
|
||||||
|
export class CfhChatlogData
|
||||||
|
{
|
||||||
|
private _callId: number;
|
||||||
|
private _callerUserId: number;
|
||||||
|
private _reportedUserId: number;
|
||||||
|
private _chatRecordId: number;
|
||||||
|
private _chatRecord: ChatRecordData
|
||||||
|
|
||||||
|
constructor(k:IMessageDataWrapper)
|
||||||
|
{
|
||||||
|
this._callId = k.readInt();
|
||||||
|
this._callerUserId = k.readInt();
|
||||||
|
this._reportedUserId = k.readInt();
|
||||||
|
this._chatRecordId = k.readInt();
|
||||||
|
this._chatRecord = new ChatRecordData(k);
|
||||||
|
}
|
||||||
|
|
||||||
|
public get callId(): number
|
||||||
|
{
|
||||||
|
return this._callId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get callerUserId(): number
|
||||||
|
{
|
||||||
|
return this._callerUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get reportedUserId(): number
|
||||||
|
{
|
||||||
|
return this._reportedUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get chatRecordId(): number
|
||||||
|
{
|
||||||
|
return this._chatRecordId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get chatRecord(): ChatRecordData
|
||||||
|
{
|
||||||
|
return this._chatRecord;
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModeratorInitMessageParser } from '../../parser/modtool/ModeratorInitMessageParser';
|
import { ModeratorInitMessageParser } from '../../parser/moderation/ModeratorInitMessageParser';
|
||||||
|
|
||||||
export class ModeratorInitMessageEvent extends MessageEvent implements IMessageEvent
|
export class ModeratorInitMessageEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolCFHTopicsParser } from '../../parser/modtool/ModtoolCFHTopicsParser';
|
import { ModtoolCFHTopicsParser } from '../../parser/moderation/ModtoolCFHTopicsParser';
|
||||||
|
|
||||||
export class ModtoolCallForHelpTopicsEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolCallForHelpTopicsEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolRoomUsersParser } from '../../parser/modtool/ModtoolRoomUsersParser';
|
import { ModtoolRoomUsersParser } from '../../parser/moderation/ModtoolRoomUsersParser';
|
||||||
|
|
||||||
export class ModtoolReceivedRoomsUserEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolReceivedRoomsUserEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolRoomChatlogParser } from '../../parser/modtool/ModtoolRoomChatlogParser';
|
import { ModtoolRoomChatlogParser } from '../../parser/moderation/ModtoolRoomChatlogParser';
|
||||||
|
|
||||||
export class ModtoolRoomChatlogEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolRoomChatlogEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolRoomInfoParser } from '../../parser/modtool/ModtoolRoomInfoParser';
|
import { ModtoolRoomInfoParser } from '../../parser/moderation/ModtoolRoomInfoParser';
|
||||||
|
|
||||||
export class ModtoolRoomInfoEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolRoomInfoEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolUserChatlogParser } from '../../parser/modtool/ModtoolUserChatlogParser';
|
import { ModtoolUserChatlogParser } from '../../parser/moderation/ModtoolUserChatlogParser';
|
||||||
|
|
||||||
export class ModtoolUserChatlogEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolUserChatlogEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
|
||||||
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
|
||||||
import { ModtoolUserInfoParser } from '../../parser/modtool/ModtoolUserInfoParser';
|
import { ModtoolUserInfoParser } from '../../parser/moderation/ModtoolUserInfoParser';
|
||||||
|
|
||||||
export class ModtoolUserInfoEvent extends MessageEvent implements IMessageEvent
|
export class ModtoolUserInfoEvent extends MessageEvent implements IMessageEvent
|
||||||
{
|
{
|
@ -1,3 +1,11 @@
|
|||||||
|
export * from './CfhChatlogData';
|
||||||
export * from './INamed';
|
export * from './INamed';
|
||||||
export * from './ModeratorCautionEvent';
|
export * from './ModeratorCautionEvent';
|
||||||
|
export * from './ModeratorInitMessageEvent';
|
||||||
|
export * from './ModtoolCallForHelpTopicsEvent';
|
||||||
|
export * from './ModtoolReceivedRoomsUserEvent';
|
||||||
|
export * from './ModtoolRoomChatlogEvent';
|
||||||
|
export * from './ModtoolRoomInfoEvent';
|
||||||
|
export * from './ModtoolUserChatlogEvent';
|
||||||
|
export * from './ModtoolUserInfoEvent';
|
||||||
export * from './UserBannedMessageEvent';
|
export * from './UserBannedMessageEvent';
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
export * from './ModeratorInitMessageEvent';
|
|
||||||
export * from './ModtoolCallForHelpTopicsEvent';
|
|
||||||
export * from './ModtoolReceivedRoomsUserEvent';
|
|
||||||
export * from './ModtoolRoomChatlogEvent';
|
|
||||||
export * from './ModtoolRoomInfoEvent';
|
|
||||||
export * from './ModtoolUserChatlogEvent';
|
|
||||||
export * from './ModtoolUserInfoEvent';
|
|
@ -16,7 +16,7 @@ export * from './helper';
|
|||||||
export * from './inventory';
|
export * from './inventory';
|
||||||
export * from './landingview';
|
export * from './landingview';
|
||||||
export * from './marketplace';
|
export * from './marketplace';
|
||||||
export * from './modtool';
|
export * from './moderation';
|
||||||
export * from './navigator';
|
export * from './navigator';
|
||||||
export * from './OutgoingHeader';
|
export * from './OutgoingHeader';
|
||||||
export * from './pet';
|
export * from './pet';
|
||||||
|
@ -1,2 +1,10 @@
|
|||||||
export * from './ModerationCautionParser';
|
export * from './ModerationCautionParser';
|
||||||
|
export * from './ModeratorInitMessageParser';
|
||||||
|
export * from './ModtoolCFHTopicsParser';
|
||||||
|
export * from './ModtoolRoomChatlogParser';
|
||||||
|
export * from './ModtoolRoomInfoParser';
|
||||||
|
export * from './ModtoolRoomUsersParser';
|
||||||
|
export * from './ModtoolUserChatlogParser';
|
||||||
|
export * from './ModtoolUserInfoParser';
|
||||||
export * from './UserBannedMessageParser';
|
export * from './UserBannedMessageParser';
|
||||||
|
export * from './utils';
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
export * from './ModeratorInitMessageParser';
|
|
||||||
export * from './ModtoolCFHTopicsParser';
|
|
||||||
export * from './ModtoolRoomChatlogParser';
|
|
||||||
export * from './ModtoolRoomInfoParser';
|
|
||||||
export * from './ModtoolRoomUsersParser';
|
|
||||||
export * from './ModtoolUserChatlogParser';
|
|
||||||
export * from './ModtoolUserInfoParser';
|
|
||||||
export * from './utils';
|
|
Loading…
Reference in New Issue
Block a user