This commit is contained in:
Bill 2022-07-29 00:43:22 -04:00
parent 93518437d2
commit 422211ca6e
2 changed files with 4 additions and 7 deletions

View File

@ -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;

View File

@ -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());
}
}