mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
Changes
This commit is contained in:
parent
93518437d2
commit
422211ca6e
@ -875,7 +875,7 @@ export class RoomMessageHandler extends Disposable
|
||||
|
||||
if(!parser) return;
|
||||
|
||||
this._roomCreator.updateRoomObjectUserFigure(this._currentRoomId, parser.roomIndex, parser.figureData.figuredata, '' , '', parser.isRiding);
|
||||
this._roomCreator.updateRoomObjectUserFigure(this._currentRoomId, parser.roomIndex, parser.figureData.figuredata, '', '', parser.isRiding);
|
||||
}
|
||||
|
||||
private onPetExperienceEvent(event: PetExperienceEvent): void
|
||||
@ -987,7 +987,7 @@ export class RoomMessageHandler extends Disposable
|
||||
this.removeGuideMarker();
|
||||
}
|
||||
|
||||
private updateGuideMarker():void
|
||||
private updateGuideMarker(): void
|
||||
{
|
||||
const userId = this._roomCreator.sessionDataManager.userId;
|
||||
|
||||
@ -995,7 +995,7 @@ export class RoomMessageHandler extends Disposable
|
||||
this.setUserGuideStatus(this._requesterId, ((this._guideId === userId) ? AvatarGuideStatus.REQUESTER : AvatarGuideStatus.NONE));
|
||||
}
|
||||
|
||||
private removeGuideMarker():void
|
||||
private removeGuideMarker(): void
|
||||
{
|
||||
this.setUserGuideStatus(this._guideId, AvatarGuideStatus.NONE);
|
||||
this.setUserGuideStatus(this._requesterId, AvatarGuideStatus.NONE);
|
||||
@ -1004,7 +1004,7 @@ export class RoomMessageHandler extends Disposable
|
||||
this._requesterId = -1;
|
||||
}
|
||||
|
||||
private setUserGuideStatus(userId: number, status: number):void
|
||||
private setUserGuideStatus(userId: number, status: number): void
|
||||
{
|
||||
if(!this._roomCreator || !this._roomCreator.roomSessionManager) return;
|
||||
|
||||
|
@ -4,7 +4,6 @@ import { IAssetManager } from '../../../core/asset/IAssetManager';
|
||||
import { IMessageEvent } from '../../../core/communication/messages/IMessageEvent';
|
||||
import { NitroSprite } from '../../../core/utils/proxy/NitroSprite';
|
||||
import { GroupBadgePartsEvent } from '../../communication/messages/incoming/group/GroupBadgePartsEvent';
|
||||
import { GroupBadgePartsComposer } from '../../communication/messages/outgoing/group/GroupBadgePartsComposer';
|
||||
import { Nitro } from '../../Nitro';
|
||||
import { BadgeImageReadyEvent } from '../events/BadgeImageReadyEvent';
|
||||
import { IDisposable } from './../../../core/common/disposable/IDisposable';
|
||||
@ -56,8 +55,6 @@ export class BadgeImageManager implements IDisposable
|
||||
];
|
||||
|
||||
for(const message of this._messages) this._sessionDataManager.communication.registerMessageEvent(message);
|
||||
|
||||
this._sessionDataManager.send(new GroupBadgePartsComposer());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user