mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Merge branch 'oobjectt-composer-newuser-experience-scriptproceed'
This commit is contained in:
commit
517ce1442e
@ -47,6 +47,7 @@ export interface IRoomSession extends IDisposable
|
|||||||
harvestPet(id: number): void;
|
harvestPet(id: number): void;
|
||||||
compostPlant(id: number): void;
|
compostPlant(id: number): void;
|
||||||
requestPetCommands(id: number): void;
|
requestPetCommands(id: number): void;
|
||||||
|
sendScriptProceed(): void;
|
||||||
connection: IConnection;
|
connection: IConnection;
|
||||||
userDataManager: IUserDataManager;
|
userDataManager: IUserDataManager;
|
||||||
roomId: number;
|
roomId: number;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -449,6 +449,7 @@ export class OutgoingHeader
|
|||||||
public static SET_CLOTHING_CHANGE_DATA = 924;
|
public static SET_CLOTHING_CHANGE_DATA = 924;
|
||||||
public static GROUP_UNFAVORITE = 1820;
|
public static GROUP_UNFAVORITE = 1820;
|
||||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
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_INIT_DIFFIE = 3110;
|
||||||
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
|
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
|
||||||
public static WELCOME_OPEN_GIFT = 2638;
|
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 './NewUserExperienceGetGiftsComposer';
|
||||||
export * from './NewUserExperienceGetGiftsSelection';
|
export * from './NewUserExperienceGetGiftsSelection';
|
||||||
|
export * from './NewUserExperienceScriptProceedComposer';
|
||||||
|
@ -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, ChangeQueueMessageComposer, CompostPlantMessageComposer, FurnitureMultiStateComposer, GetPetCommandsComposer, HarvestPetMessageComposer, MoodlightSettingsComposer, MoodlightSettingsSaveComposer, MoodlightTogggleStateComposer, OpenPetPackageMessageComposer, OpenPresentComposer, PeerUsersClassificationMessageComposer, 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, PeerUsersClassificationMessageComposer, 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 GetPetCommandsComposer(id));
|
this._connection.send(new GetPetCommandsComposer(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public sendScriptProceed(): void
|
||||||
|
{
|
||||||
|
this._connection.send(new NewUserExperienceScriptProceedComposer());
|
||||||
|
}
|
||||||
|
|
||||||
public sendUpdateClothingChangeFurniture(objectId: number, gender: string, look: string):void
|
public sendUpdateClothingChangeFurniture(objectId: number, gender: string, look: string):void
|
||||||
{
|
{
|
||||||
this._connection.send(new SetClothingChangeDataMessageComposer(objectId, gender, look));
|
this._connection.send(new SetClothingChangeDataMessageComposer(objectId, gender, look));
|
||||||
|
Loading…
Reference in New Issue
Block a user