mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
Updates
This commit is contained in:
parent
1b935f9345
commit
d4f1028265
@ -1,5 +1,6 @@
|
|||||||
import { Disposable } from '../../core/common/disposable/Disposable';
|
import { Disposable } from '../../core/common/disposable/Disposable';
|
||||||
import { NitroLogger } from '../../core/common/logger/NitroLogger';
|
import { NitroLogger } from '../../core/common/logger/NitroLogger';
|
||||||
|
import { RoomId } from '../../room';
|
||||||
import { RoomObjectEvent } from '../../room/events/RoomObjectEvent';
|
import { RoomObjectEvent } from '../../room/events/RoomObjectEvent';
|
||||||
import { RoomObjectMouseEvent } from '../../room/events/RoomObjectMouseEvent';
|
import { RoomObjectMouseEvent } from '../../room/events/RoomObjectMouseEvent';
|
||||||
import { RoomSpriteMouseEvent } from '../../room/events/RoomSpriteMouseEvent';
|
import { RoomSpriteMouseEvent } from '../../room/events/RoomSpriteMouseEvent';
|
||||||
@ -764,6 +765,8 @@ export class RoomObjectEventHandler extends Disposable implements IRoomCanvasMou
|
|||||||
|
|
||||||
if (!eventDispatcher) return;
|
if (!eventDispatcher) return;
|
||||||
|
|
||||||
|
if (RoomId.isRoomPreviewerId(roomId)) return;
|
||||||
|
|
||||||
switch (event.type)
|
switch (event.type)
|
||||||
{
|
{
|
||||||
case RoomObjectWidgetRequestEvent.OPEN_WIDGET:
|
case RoomObjectWidgetRequestEvent.OPEN_WIDGET:
|
||||||
|
@ -50,7 +50,7 @@ export interface IRoomSession extends IDisposable
|
|||||||
roomId: number;
|
roomId: number;
|
||||||
state: string;
|
state: string;
|
||||||
tradeMode: number;
|
tradeMode: number;
|
||||||
_Str_7411: boolean;
|
isPrivateRoom: boolean;
|
||||||
doorMode: number;
|
doorMode: number;
|
||||||
allowPets: boolean;
|
allowPets: boolean;
|
||||||
controllerLevel: number;
|
controllerLevel: number;
|
||||||
|
@ -359,7 +359,7 @@ export class RoomSession extends Disposable implements IRoomSession
|
|||||||
return this._state;
|
return this._state;
|
||||||
}
|
}
|
||||||
|
|
||||||
public get _Str_7411(): boolean
|
public get isPrivateRoom(): boolean
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user