Nitro-Cool-UI/src/events/catalog/CatalogSetRoomPreviewerStuffDataEvent.ts
2024-01-17 08:52:08 +04:00

20 lines
473 B
TypeScript

import { IObjectData, NitroEvent } from '@nitrots/nitro-renderer';
import { CatalogWidgetEvent } from './CatalogWidgetEvent';
export class CatalogSetRoomPreviewerStuffDataEvent extends NitroEvent
{
private _stuffData: IObjectData;
constructor(stuffData: IObjectData)
{
super(CatalogWidgetEvent.SET_PREVIEWER_STUFFDATA);
this._stuffData = stuffData;
}
public get stuffData(): IObjectData
{
return this._stuffData;
}
}