mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 23:46:19 +00:00
🆙 Init V3
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { IObjectData, NitroEvent } from '@nitrots/nitro-renderer';
|
||||
import { IPurchasableOffer } from '../../api';
|
||||
|
||||
export class SetRoomPreviewerStuffDataEvent extends NitroEvent
|
||||
{
|
||||
public static UPDATE_STUFF_DATA: string = 'SRPSA_UPDATE_STUFF_DATA';
|
||||
|
||||
private _offer: IPurchasableOffer;
|
||||
private _stuffData: IObjectData;
|
||||
|
||||
constructor(offer: IPurchasableOffer, stuffData: IObjectData)
|
||||
{
|
||||
super(SetRoomPreviewerStuffDataEvent.UPDATE_STUFF_DATA);
|
||||
|
||||
this._offer = offer;
|
||||
this._stuffData = stuffData;
|
||||
}
|
||||
|
||||
public get offer(): IPurchasableOffer
|
||||
{
|
||||
return this._offer;
|
||||
}
|
||||
|
||||
public get stuffData(): IObjectData
|
||||
{
|
||||
return this._stuffData;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user