mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
#29 - NewUserExperienceScriptProceedComposer added
This commit is contained in:
parent
7857440d3e
commit
205865cc13
@ -46,6 +46,7 @@ export interface IRoomSession extends IDisposable
|
||||
harvestPet(id: number): void;
|
||||
compostPlant(id: number): void;
|
||||
requestPetCommands(id: number): void;
|
||||
sendScriptProceed(): void;
|
||||
connection: IConnection;
|
||||
userDataManager: IUserDataManager;
|
||||
roomId: number;
|
||||
|
File diff suppressed because one or more lines are too long
@ -447,6 +447,7 @@ export class OutgoingHeader
|
||||
public static SET_CLOTHING_CHANGE_DATA = 924;
|
||||
public static GROUP_UNFAVORITE = 1820;
|
||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
||||
public static NEW_USER_EXPERIENCE_SCRIPT_PROCEED = 1299;
|
||||
public static HANDSHAKE_INIT_DIFFIE = 3110;
|
||||
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
|
||||
public static WELCOME_OPEN_GIFT = 2638;
|
||||
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class NewUserExperienceScriptProceedComposer implements IMessageComposer<ConstructorParameters<typeof NewUserExperienceScriptProceedComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof NewUserExperienceScriptProceedComposer>;
|
||||
|
||||
constructor()
|
||||
{
|
||||
this._data = [];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
export * from './NewUserExperienceGetGiftsComposer';
|
||||
export * from './NewUserExperienceGetGiftsSelection';
|
||||
export * from './NewUserExperienceScriptProceedComposer';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IConnection, IRoomSession, RoomControllerLevel, RoomTradingLevelEnum } from '../../api';
|
||||
import { Disposable } from '../../core';
|
||||
import { RoomSessionEvent } from '../../events';
|
||||
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 { BotRemoveComposer, ChangeQueueMessageComposer, CompostPlantMessageComposer, FurnitureMultiStateComposer, GetPetCommandsComposer, HarvestPetMessageComposer, MoodlightSettingsComposer, MoodlightSettingsSaveComposer, MoodlightTogggleStateComposer, NewUserExperienceScriptProceedComposer, 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';
|
||||
|
||||
export class RoomSession extends Disposable implements IRoomSession
|
||||
@ -306,6 +306,11 @@ export class RoomSession extends Disposable implements IRoomSession
|
||||
this._connection.send(new GetPetCommandsComposer(id));
|
||||
}
|
||||
|
||||
public sendScriptProceed(): void
|
||||
{
|
||||
this._connection.send(new NewUserExperienceScriptProceedComposer());
|
||||
}
|
||||
|
||||
public sendUpdateClothingChangeFurniture(objectId: number, gender: string, look: string):void
|
||||
{
|
||||
this._connection.send(new SetClothingChangeDataMessageComposer(objectId, gender, look));
|
||||
|
Loading…
Reference in New Issue
Block a user