mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-30 03:00:51 +01:00
Merge branch 'oobjectt-composer-change-queue'
This commit is contained in:
commit
3993b044b5
File diff suppressed because one or more lines are too long
@ -407,6 +407,7 @@ export class OutgoingHeader
|
|||||||
public static GET_YOUTUBE_DISPLAY_STATUS = 336;
|
public static GET_YOUTUBE_DISPLAY_STATUS = 336;
|
||||||
public static SET_YOUTUBE_DISPLAY_PLAYLIST = 2069;
|
public static SET_YOUTUBE_DISPLAY_PLAYLIST = 2069;
|
||||||
public static GO_TO_FLAT = 685;
|
public static GO_TO_FLAT = 685;
|
||||||
|
public static CHANGE_QUEUE = 3093;
|
||||||
public static CALL_FOR_HELP_FROM_FORUM_MESSAGE = 1412;
|
public static CALL_FOR_HELP_FROM_FORUM_MESSAGE = 1412;
|
||||||
public static CALL_FOR_HELP_FROM_FORUM_THREAD = 534;
|
public static CALL_FOR_HELP_FROM_FORUM_THREAD = 534;
|
||||||
public static CALL_FOR_HELP_FROM_IM = 2950;
|
public static CALL_FOR_HELP_FROM_IM = 2950;
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
import { IMessageComposer } from '../../../../../../api';
|
||||||
|
|
||||||
|
export class ChangeQueueMessageComposer implements IMessageComposer<ConstructorParameters<typeof ChangeQueueMessageComposer>>
|
||||||
|
{
|
||||||
|
private _data: ConstructorParameters<typeof ChangeQueueMessageComposer>;
|
||||||
|
|
||||||
|
constructor(targetQueue: number)
|
||||||
|
{
|
||||||
|
this._data = [targetQueue];
|
||||||
|
}
|
||||||
|
|
||||||
|
public getMessageArray()
|
||||||
|
{
|
||||||
|
return this._data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public dispose(): void
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
export * from './ChangeQueueMessageComposer';
|
||||||
export * from './GoToFlatMessageComposer';
|
export * from './GoToFlatMessageComposer';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { IConnection, IRoomSession, RoomControllerLevel, RoomTradingLevelEnum } from '../../api';
|
import { IConnection, IRoomSession, RoomControllerLevel, RoomTradingLevelEnum } from '../../api';
|
||||||
import { Disposable } from '../../core';
|
import { Disposable } from '../../core';
|
||||||
import { RoomSessionEvent } from '../../events';
|
import { RoomSessionEvent } from '../../events';
|
||||||
import { BotRemoveComposer, CompostPlantMessageComposer, FurnitureMultiStateComposer, GetPetCommandsComposer, HarvestPetMessageComposer, MoodlightSettingsComposer, MoodlightSettingsSaveComposer, MoodlightTogggleStateComposer, OpenPetPackageMessageComposer, OpenPresentComposer, PetMountComposer, PetRemoveComposer, PollAnswerComposer, PollRejectComposer, PollStartComposer, RemovePetSaddleComposer, RoomAmbassadorAlertComposer, RoomBanUserComposer, RoomDoorbellAccessComposer, RoomEnterComposer, RoomGiveRightsComposer, RoomKickUserComposer, RoomModerationSettings, RoomMuteUserComposer, RoomTakeRightsComposer, RoomUnitActionComposer, RoomUnitChatComposer, RoomUnitChatShoutComposer, RoomUnitChatWhisperComposer, RoomUnitDanceComposer, RoomUnitPostureComposer, RoomUnitSignComposer, RoomUnitTypingStartComposer, RoomUnitTypingStopComposer, SetClothingChangeDataMessageComposer, TogglePetBreedingComposer, TogglePetRidingComposer, UsePetProductComposer, UserMottoComposer } from '../communication';
|
import { BotRemoveComposer, ChangeQueueMessageComposer, CompostPlantMessageComposer, FurnitureMultiStateComposer, GetPetCommandsComposer, HarvestPetMessageComposer, MoodlightSettingsComposer, MoodlightSettingsSaveComposer, MoodlightTogggleStateComposer, OpenPetPackageMessageComposer, OpenPresentComposer, PetMountComposer, PetRemoveComposer, PollAnswerComposer, PollRejectComposer, PollStartComposer, RemovePetSaddleComposer, RoomAmbassadorAlertComposer, RoomBanUserComposer, RoomDoorbellAccessComposer, RoomEnterComposer, RoomGiveRightsComposer, RoomKickUserComposer, RoomModerationSettings, RoomMuteUserComposer, RoomTakeRightsComposer, RoomUnitActionComposer, RoomUnitChatComposer, RoomUnitChatShoutComposer, RoomUnitChatWhisperComposer, RoomUnitDanceComposer, RoomUnitPostureComposer, RoomUnitSignComposer, RoomUnitTypingStartComposer, RoomUnitTypingStopComposer, SetClothingChangeDataMessageComposer, TogglePetBreedingComposer, TogglePetRidingComposer, UsePetProductComposer, UserMottoComposer } from '../communication';
|
||||||
import { UserDataManager } from './UserDataManager';
|
import { UserDataManager } from './UserDataManager';
|
||||||
|
|
||||||
export class RoomSession extends Disposable implements IRoomSession
|
export class RoomSession extends Disposable implements IRoomSession
|
||||||
@ -311,6 +311,11 @@ export class RoomSession extends Disposable implements IRoomSession
|
|||||||
this._connection.send(new SetClothingChangeDataMessageComposer(objectId, gender, look));
|
this._connection.send(new SetClothingChangeDataMessageComposer(objectId, gender, look));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public changeQueue(targetQueue: number): void
|
||||||
|
{
|
||||||
|
this._connection.send(new ChangeQueueMessageComposer(targetQueue));
|
||||||
|
}
|
||||||
|
|
||||||
public get connection(): IConnection
|
public get connection(): IConnection
|
||||||
{
|
{
|
||||||
return this._connection;
|
return this._connection;
|
||||||
|
Loading…
Reference in New Issue
Block a user