mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
added outgoing groupforum messages
This commit is contained in:
parent
8c1e821512
commit
f0e31710b5
@ -1,5 +1,5 @@
|
||||
import { IMessageConfiguration } from '../../core/communication/messages/IMessageConfiguration';
|
||||
import { AchievementNotificationMessageEvent, ActivityPointNotificationMessageEvent, AddJukeboxDiskComposer, ApproveNameMessageComposer, ApproveNameMessageEvent, AvailabilityTimeMessageEvent, BadgePointLimitsEvent, BadgeReceivedEvent, BonusRareInfoMessageEvent, BuildersClubFurniCountMessageEvent, BuildersClubSubscriptionStatusMessageEvent, BundleDiscountRulesetMessageEvent, ChangeUserNameMessageComposer, ChangeUserNameResultMessageEvent, CheckUserNameMessageComposer, CheckUserNameResultMessageEvent, ClubGiftNotificationEvent, DirectSMSClubBuyAvailableMessageEvent, FigureUpdateEvent, ForwardToASubmittableRoomMessageComposer, ForwardToRandomCompetitionRoomMessageComposer, FurnitureGroupInfoComposer, GetBonusRareInfoMessageComposer, GetCatalogPageExpirationComposer, GetCatalogPageWithEarliestExpiryComposer, GetCurrentTimingCodeMessageComposer, GetDirectClubBuyAvailableComposer, GetGiftMessageComposer, GetHabboBasicMembershipExtendOfferComposer, GetHabboClubExtendOfferMessageComposer, GetInterstitialMessageComposer, GetJukeboxPlayListMessageComposer, GetLimitedOfferAppearingNextComposer, GetNextTargetedOfferComposer, GetNowPlayingMessageComposer, GetOfficialSongIdMessageComposer, GetRoomAdPurchaseInfoComposer, GetSeasonalCalendarDailyOfferComposer, GetSecondsUntilMessageComposer, GetSongInfoMessageComposer, GetSoundMachinePlayListMessageComposer, GetUserSongDisksMessageComposer, GroupBadgesComposer, GroupBadgesEvent, HabboClubExtendOfferMessageEvent, HotelClosedAndOpensEvent, HotelClosesAndWillOpenAtEvent, HotelWillCloseInMinutesEvent, InfoFeedEnableMessageEvent, InterstitialMessageEvent, InterstitialShownMessageComposer, IsBadgeRequestFulfilledEvent, IsOfferGiftableMessageEvent, JukeboxPlayListFullMessageEvent, JukeboxSongDisksMessageEvent, LimitedOfferAppearingNextMessageEvent, MaintenanceStatusMessageEvent, MarkCatalogNewAdditionsPageOpenedComposer, MarketplaceBuyOfferComposer, MarketplaceRedeemCreditsComposer, MarketplaceRequesstItemStatsComposer, MarketplaceRequestComposer, MarketplaceRequestOffersComposer, MarketplaceRequestOwnItemsComposer, MarketplaceTakeItemBackComposer, MysteryBoxKeysEvent, NotEnoughBalanceMessageEvent, NowPlayingMessageEvent, OfficialSongIdMessageEvent, OpenCampaignCalendarDoorAsStaffComposer, OpenCampaignCalendarDoorComposer, PetExperienceEvent, PetMountComposer, PetSupplementComposer, PlayListMessageEvent, PlayListSongAddedMessageEvent, PurchaseBasicMembershipExtensionComposer, PurchaseRoomAdMessageComposer, PurchaseTargetedOfferComposer, PurchaseVipMembershipExtensionComposer, RemoveAllRightsMessageComposer, RemoveJukeboxDiskComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, ResetPhoneNumberStateMessageComposer, RoomAdErrorEvent, RoomAdPurchaseInfoEvent, RoomCompetitionInitMessageComposer, RoomUnitGiveHandItemPetComposer, SeasonalCalendarDailyOfferMessageEvent, SellablePetPalettesMessageEvent, SetPhoneNumberVerificationStatusMessageComposer, SetTargetedOfferStateComposer, ShopTargetedOfferViewedComposer, SubmitRoomToCompetitionMessageComposer, TalentTrackEvent, TargetedOfferEvent, TargetedOfferNotFoundEvent, TogglePetBreedingComposer, TogglePetRidingComposer, TraxSongInfoMessageEvent, TryPhoneNumberMessageComposer, UnseenResetCategoryComposer, UnseenResetItemsComposer, UsePetProductComposer, UserSongDisksInventoryMessageEvent, VerifyCodeMessageComposer, VoteForRoomMessageComposer, WardrobeMessageEvent } from './messages';
|
||||
import { AchievementNotificationMessageEvent, ActivityPointNotificationMessageEvent, AddJukeboxDiskComposer, ApproveNameMessageComposer, ApproveNameMessageEvent, AvailabilityTimeMessageEvent, BadgePointLimitsEvent, BadgeReceivedEvent, BonusRareInfoMessageEvent, BuildersClubFurniCountMessageEvent, BuildersClubSubscriptionStatusMessageEvent, BundleDiscountRulesetMessageEvent, ChangeUserNameMessageComposer, ChangeUserNameResultMessageEvent, CheckUserNameMessageComposer, CheckUserNameResultMessageEvent, ClubGiftNotificationEvent, DirectSMSClubBuyAvailableMessageEvent, FigureUpdateEvent, ForwardToASubmittableRoomMessageComposer, ForwardToRandomCompetitionRoomMessageComposer, FurnitureGroupInfoComposer, GetBonusRareInfoMessageComposer, GetCatalogPageExpirationComposer, GetCatalogPageWithEarliestExpiryComposer, GetCurrentTimingCodeMessageComposer, GetDirectClubBuyAvailableComposer, GetForumsListMessageComposer, GetForumStatsMessageComposer, GetGiftMessageComposer, GetHabboBasicMembershipExtendOfferComposer, GetHabboClubExtendOfferMessageComposer, GetInterstitialMessageComposer, GetJukeboxPlayListMessageComposer, GetLimitedOfferAppearingNextComposer, GetMessagesMessageComposer, GetNextTargetedOfferComposer, GetNowPlayingMessageComposer, GetOfficialSongIdMessageComposer, GetRoomAdPurchaseInfoComposer, GetSeasonalCalendarDailyOfferComposer, GetSecondsUntilMessageComposer, GetSongInfoMessageComposer, GetSoundMachinePlayListMessageComposer, GetThreadMessageComposer, GetThreadsMessageComposer, GetUnreadForumsCountMessageComposer, GetUserSongDisksMessageComposer, GroupBadgesComposer, GroupBadgesEvent, HabboClubExtendOfferMessageEvent, HotelClosedAndOpensEvent, HotelClosesAndWillOpenAtEvent, HotelWillCloseInMinutesEvent, InfoFeedEnableMessageEvent, InterstitialMessageEvent, InterstitialShownMessageComposer, IsBadgeRequestFulfilledEvent, IsOfferGiftableMessageEvent, JukeboxPlayListFullMessageEvent, JukeboxSongDisksMessageEvent, LimitedOfferAppearingNextMessageEvent, MaintenanceStatusMessageEvent, MarkCatalogNewAdditionsPageOpenedComposer, MarketplaceBuyOfferComposer, MarketplaceRedeemCreditsComposer, MarketplaceRequesstItemStatsComposer, MarketplaceRequestComposer, MarketplaceRequestOffersComposer, MarketplaceRequestOwnItemsComposer, MarketplaceTakeItemBackComposer, ModerateMessageMessageComposer, ModerateThreadMessageComposer, MysteryBoxKeysEvent, NotEnoughBalanceMessageEvent, NowPlayingMessageEvent, OfficialSongIdMessageEvent, OpenCampaignCalendarDoorAsStaffComposer, OpenCampaignCalendarDoorComposer, PetExperienceEvent, PetMountComposer, PetSupplementComposer, PlayListMessageEvent, PlayListSongAddedMessageEvent, PostMessageMessageComposer, PurchaseBasicMembershipExtensionComposer, PurchaseRoomAdMessageComposer, PurchaseTargetedOfferComposer, PurchaseVipMembershipExtensionComposer, RemoveAllRightsMessageComposer, RemoveJukeboxDiskComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, ResetPhoneNumberStateMessageComposer, RoomAdErrorEvent, RoomAdPurchaseInfoEvent, RoomCompetitionInitMessageComposer, RoomUnitGiveHandItemPetComposer, SeasonalCalendarDailyOfferMessageEvent, SellablePetPalettesMessageEvent, SetPhoneNumberVerificationStatusMessageComposer, SetTargetedOfferStateComposer, ShopTargetedOfferViewedComposer, SubmitRoomToCompetitionMessageComposer, TalentTrackEvent, TargetedOfferEvent, TargetedOfferNotFoundEvent, TogglePetBreedingComposer, TogglePetRidingComposer, TraxSongInfoMessageEvent, TryPhoneNumberMessageComposer, UnseenResetCategoryComposer, UnseenResetItemsComposer, UpdateForumReadMarkerMessageComposer, UpdateForumSettingsMessageComposer, UpdateThreadMessageComposer, UsePetProductComposer, UserSongDisksInventoryMessageEvent, VerifyCodeMessageComposer, VoteForRoomMessageComposer, WardrobeMessageEvent } from './messages';
|
||||
import { AvailabilityStatusMessageEvent } from './messages/incoming/availability/AvailabilityStatusMessageEvent';
|
||||
import { CfhSanctionMessageEvent, CfhTopicsInitEvent, SanctionStatusEvent } from './messages/incoming/callforhelp';
|
||||
import { CameraPublishStatusMessageEvent } from './messages/incoming/camera/CameraPublishStatusMessageEvent';
|
||||
@ -992,6 +992,20 @@ export class NitroMessages implements IMessageConfiguration
|
||||
this._composers.set(OutgoingHeader.TRY_PHONE_NUMBER, TryPhoneNumberMessageComposer);
|
||||
this._composers.set(OutgoingHeader.VERIFY_CODE, VerifyCodeMessageComposer);
|
||||
|
||||
// GROUPFORUMS
|
||||
this._composers.set(OutgoingHeader.GET_FORUM_STATS, GetForumStatsMessageComposer);
|
||||
this._composers.set(OutgoingHeader.GET_FORUMS_LIST, GetForumsListMessageComposer);
|
||||
this._composers.set(OutgoingHeader.GET_FORUM_MESSAGES, GetMessagesMessageComposer);
|
||||
this._composers.set(OutgoingHeader.GET_FORUM_THREAD, GetThreadMessageComposer);
|
||||
this._composers.set(OutgoingHeader.GET_FORUM_THREADS, GetThreadsMessageComposer);
|
||||
this._composers.set(OutgoingHeader.GET_UNREAD_FORUMS_COUNT, GetUnreadForumsCountMessageComposer);
|
||||
this._composers.set(OutgoingHeader.FORUM_MODERATE_MESSAGE, ModerateMessageMessageComposer);
|
||||
this._composers.set(OutgoingHeader.FORUM_MODERATE_THREAD, ModerateThreadMessageComposer);
|
||||
this._composers.set(OutgoingHeader.FORUM_POST_MESSAGE, PostMessageMessageComposer);
|
||||
this._composers.set(OutgoingHeader.UPDATE_FORUM_READ_MARKER, UpdateForumReadMarkerMessageComposer);
|
||||
this._composers.set(OutgoingHeader.UPDATE_FORUM_SETTINGS, UpdateForumSettingsMessageComposer);
|
||||
this._composers.set(OutgoingHeader.FORUM_UPDATE_THREAD, UpdateThreadMessageComposer);
|
||||
|
||||
// CLIENT
|
||||
this._composers.set(OutgoingHeader.CLIENT_PONG, ClientPongComposer);
|
||||
this._composers.set(OutgoingHeader.RELEASE_VERSION, ClientReleaseVersionComposer);
|
||||
|
@ -41,9 +41,18 @@ export class OutgoingHeader
|
||||
public static GROUP_ADMIN_REMOVE = 722;
|
||||
public static GROUP_CREATE_OPTIONS = 798;
|
||||
public static GROUP_FAVORITE = 3549;
|
||||
public static GROUP_FORUM_INFO = 3149;
|
||||
public static GROUP_FORUM_LIST = 873;
|
||||
public static GROUP_FORUM_THREADS = 436;
|
||||
public static GET_FORUM_STATS = 3149;
|
||||
public static GET_FORUM_THREADS = 873;
|
||||
public static GET_FORUMS_LIST = 436;
|
||||
public static GET_FORUM_MESSAGES = 232;
|
||||
public static GET_FORUM_THREAD = 3900;
|
||||
public static GET_UNREAD_FORUMS_COUNT = 2908;
|
||||
public static FORUM_MODERATE_MESSAGE = 286;
|
||||
public static FORUM_MODERATE_THREAD = 1397;
|
||||
public static FORUM_POST_MESSAGE = 3529;
|
||||
public static UPDATE_FORUM_READ_MARKER = 1855;
|
||||
public static UPDATE_FORUM_SETTINGS = 2214;
|
||||
public static FORUM_UPDATE_THREAD = 3045;
|
||||
public static GROUP_INFO = 2991;
|
||||
public static GROUP_DELETE = 1134;
|
||||
public static GROUP_MEMBER_REMOVE_CONFIRM = 3593;
|
||||
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class GetForumStatsMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetForumStatsMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetForumStatsMessageComposer>;
|
||||
|
||||
constructor(k: number)
|
||||
{
|
||||
this._data = [ k ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class GetForumsListMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetForumsListMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetForumsListMessageComposer>;
|
||||
|
||||
constructor(k: number, _arg_2: number, _arg_3: number)
|
||||
{
|
||||
this._data = [ k, _arg_2, _arg_3 ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class GetMessagesMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetMessagesMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetMessagesMessageComposer>;
|
||||
|
||||
constructor(k: number, _arg_2: number, _arg_3: number, _arg_4: number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class GetThreadMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetThreadMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetThreadMessageComposer>;
|
||||
|
||||
constructor(k: number, _arg_2: number)
|
||||
{
|
||||
this._data = [ k, _arg_2 ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class GetThreadsMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetThreadsMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetThreadsMessageComposer>;
|
||||
|
||||
constructor(k: number, _arg_2: number, _arg_3: number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3 ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class GetUnreadForumsCountMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetUnreadForumsCountMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof GetUnreadForumsCountMessageComposer>;
|
||||
|
||||
constructor()
|
||||
{
|
||||
this._data = [];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../..';
|
||||
|
||||
export class ModerateMessageMessageComposer implements IMessageComposer<ConstructorParameters<typeof ModerateMessageMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof ModerateMessageMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:number, _arg_4:number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class ModerateThreadMessageComposer implements IMessageComposer<ConstructorParameters<typeof ModerateThreadMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof ModerateThreadMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class PostMessageMessageComposer implements IMessageComposer<ConstructorParameters<typeof PostMessageMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PostMessageMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:string, _arg_4:string)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class UpdateForumReadMarkerMessageComposer implements IMessageComposer<any>
|
||||
{
|
||||
private _data: any;
|
||||
|
||||
constructor(...data: UpdateForumReadMarkerEntry[])
|
||||
{
|
||||
this._data = [data.length];
|
||||
data.forEach( entry =>
|
||||
{
|
||||
this._data.push(entry.k);
|
||||
this._data.push(entry._arg_2);
|
||||
this._data.push(entry._arg_3);
|
||||
});
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateForumReadMarkerEntry
|
||||
{
|
||||
constructor(public k:number, public _arg_2:number, public _arg_3:boolean)
|
||||
{}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class UpdateForumSettingsMessageComposer implements IMessageComposer<ConstructorParameters<typeof UpdateForumSettingsMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof UpdateForumSettingsMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:number, _arg_4:number, _arg_5:number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../core';
|
||||
|
||||
export class UpdateThreadMessageComposer implements IMessageComposer<ConstructorParameters<typeof UpdateThreadMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof UpdateThreadMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:boolean, _arg_4:boolean)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_4, _arg_3];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
export * from './GetForumsListMessageComposer';
|
||||
export * from './GetForumStatsMessageComposer';
|
||||
export * from './GetMessagesMessageComposer';
|
||||
export * from './GetThreadMessageComposer';
|
||||
export * from './GetThreadsMessageComposer';
|
||||
export * from './GetUnreadForumsCountMessageComposer';
|
||||
export * from './ModerateMessageMessageComposer';
|
||||
export * from './ModerateThreadMessageComposer';
|
||||
export * from './PostMessageMessageComposer';
|
||||
export * from './UpdateForumReadMarkerMessageComposer';
|
||||
export * from './UpdateForumSettingsMessageComposer';
|
||||
export * from './UpdateThreadMessageComposer';
|
@ -10,6 +10,7 @@ export * from './friendfurni';
|
||||
export * from './friendlist';
|
||||
export * from './gifts';
|
||||
export * from './group';
|
||||
export * from './groupforums';
|
||||
export * from './handshake';
|
||||
export * from './helper';
|
||||
export * from './inventory';
|
||||
|
Loading…
Reference in New Issue
Block a user