Change names

This commit is contained in:
oobjectt 2022-12-15 02:31:43 +01:00
parent 526d7ea16b
commit 2f91059ded
9 changed files with 29 additions and 29 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,16 @@
import { IMessageEvent } from '../../../../../api';
import { MessageEvent } from '../../../../../events';
import { RoomFilterSettingsMessageParser } from '../../parser';
export class RoomFilterSettingsMessageEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, RoomFilterSettingsMessageParser);
}
public getParser(): RoomFilterSettingsMessageParser
{
return this.parser as RoomFilterSettingsMessageParser;
}
}

View File

@ -1,16 +0,0 @@
import { IMessageEvent } from '../../../../../api';
import { MessageEvent } from '../../../../../events';
import { RoomGetFilterWordsMessageParser } from '../../parser';
export class RoomGetFilterWordsMessageEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, RoomGetFilterWordsMessageParser);
}
public getParser(): RoomGetFilterWordsMessageParser
{
return this.parser as RoomGetFilterWordsMessageParser;
}
}

View File

@ -20,7 +20,7 @@ export * from './NavigatorSearchEvent';
export * from './NavigatorSettingsEvent';
export * from './RoomEventCancelEvent';
export * from './RoomEventEvent';
export * from './RoomGetFilterWordsMessageEvent';
export * from './RoomFilterSettingsMessageEvent';
export * from './RoomSettingsUpdatedEvent';
export * from './RoomThumbnailUpdateResultEvent';
export * from './UserEventCatsEvent';

View File

@ -1,8 +1,8 @@
import { IMessageComposer } from '../../../../../api';
export class RoomFilterWordsMessageComposer implements IMessageComposer<ConstructorParameters<typeof RoomFilterWordsMessageComposer>>
export class GetCustomRoomFilterMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetCustomRoomFilterMessageComposer>>
{
private _data: ConstructorParameters<typeof RoomFilterWordsMessageComposer>;
private _data: ConstructorParameters<typeof GetCustomRoomFilterMessageComposer>;
constructor(roomId: number)
{

View File

@ -1,8 +1,8 @@
import { IMessageComposer } from '../../../../../api';
export class RoomFilterWordsModifyMessageComposer implements IMessageComposer<ConstructorParameters<typeof RoomFilterWordsModifyMessageComposer>>
export class UpdateRoomFilterMessageComposer implements IMessageComposer<ConstructorParameters<typeof UpdateRoomFilterMessageComposer>>
{
private _data: ConstructorParameters<typeof RoomFilterWordsModifyMessageComposer>;
private _data: ConstructorParameters<typeof UpdateRoomFilterMessageComposer>;
constructor(roomId: number, isAddingWord: boolean, word: string)
{

View File

@ -9,6 +9,7 @@ export * from './EditEventMessageComposer';
export * from './ForwardToARandomPromotedRoomMessageComposer';
export * from './ForwardToSomeRoomMessageComposer';
export * from './GetCategoriesWithUserCountMessageComposer';
export * from './GetCustomRoomFilterMessageComposer';
export * from './GetGuestRoomMessageComposer';
export * from './GetOfficialRoomsMessageComposer';
export * from './GetPopularRoomTagsMessageComposer';
@ -36,8 +37,7 @@ export * from './RemoveOwnRoomRightsRoomMessageComposer';
export * from './RoomAdEventTabAdClickedComposer';
export * from './RoomAdEventTabViewedComposer';
export * from './RoomAdSearchMessageComposer';
export * from './RoomFilterWordsMessageComposer';
export * from './RoomFilterWordsModifyMessageComposer';
export * from './UpdateRoomFilterMessageComposer';
export * from './RoomsWhereMyFriendsAreSearchMessageComposer';
export * from './RoomsWithHighestScoreSearchMessageComposer';
export * from './RoomTextSearchMessageComposer';

View File

@ -1,6 +1,6 @@
import { IMessageDataWrapper, IMessageParser } from '../../../../../api';
export class RoomGetFilterWordsMessageParser implements IMessageParser
export class RoomFilterSettingsMessageParser implements IMessageParser
{
private _words: string[];

View File

@ -23,7 +23,7 @@ export * from './NavigatorSearchParser';
export * from './NavigatorSettingsParser';
export * from './RoomEventCancelMessageParser';
export * from './RoomEventMessageParser';
export * from './RoomGetFilterWordsMessageParser';
export * from './RoomFilterSettingsMessageParser';
export * from './RoomSettingsUpdatedParser';
export * from './RoomThumbnailUpdateResultMessageParser';
export * from './UserEventCatsMessageParser';