mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
resolve name conflicts
This commit is contained in:
parent
82f6fb86b2
commit
80906ebc23
@ -1,4 +1,3 @@
|
||||
|
||||
export class ChatlineData
|
||||
{
|
||||
private readonly _timestamp: string;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IDisposable } from '../../../../../core/common/disposable/IDisposable';
|
||||
import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper';
|
||||
|
||||
export class RoomData implements IDisposable
|
||||
export class ModRoomData implements IDisposable
|
||||
{
|
||||
private _exists:boolean;
|
||||
private _name:string;
|
@ -1,6 +1,6 @@
|
||||
import { IDisposable } from '../../../../../core/common/disposable/IDisposable';
|
||||
import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper';
|
||||
import { RoomData } from './RoomData';
|
||||
import { ModRoomData } from './ModRoomData';
|
||||
|
||||
export class RoomModerationData implements IDisposable
|
||||
{
|
||||
@ -9,7 +9,7 @@ export class RoomModerationData implements IDisposable
|
||||
private _ownerInRoom:boolean;
|
||||
private _ownerId:number;
|
||||
private _ownerName:string;
|
||||
private _room:RoomData;
|
||||
private _room:ModRoomData;
|
||||
private _disposed:boolean;
|
||||
|
||||
constructor(k:IMessageDataWrapper)
|
||||
@ -19,7 +19,7 @@ export class RoomModerationData implements IDisposable
|
||||
this._ownerInRoom = k.readBoolean();
|
||||
this._ownerId = k.readInt();
|
||||
this._ownerName = k.readString();
|
||||
this._room = new RoomData(k);
|
||||
this._room = new ModRoomData(k);
|
||||
}
|
||||
|
||||
public get flatId():number
|
||||
@ -47,7 +47,7 @@ export class RoomModerationData implements IDisposable
|
||||
return this._ownerName;
|
||||
}
|
||||
|
||||
public get room():RoomData
|
||||
public get room():ModRoomData
|
||||
{
|
||||
return this._room;
|
||||
}
|
||||
|
@ -13,8 +13,8 @@ export * from './ModeratorMessageEvent';
|
||||
export * from './ModeratorRoomInfoEvent';
|
||||
export * from './ModeratorUserInfoData';
|
||||
export * from './ModeratorUserInfoEvent';
|
||||
export * from './ModRoomData';
|
||||
export * from './RoomChatlogEvent';
|
||||
export * from './RoomData';
|
||||
export * from './RoomModerationData';
|
||||
export * from './RoomVisitData';
|
||||
export * from './RoomVisitsData';
|
||||
|
Loading…
Reference in New Issue
Block a user