Files
Nitro_Render_V3/packages/events/src/session/RoomSessionPresentEvent.ts
T
2024-04-03 09:27:56 +02:00

65 lines
1.6 KiB
TypeScript

import { IRoomSession } from '@nitrots/api';
import { RoomSessionEvent } from './RoomSessionEvent';
export class RoomSessionPresentEvent extends RoomSessionEvent
{
public static RSPE_PRESENT_OPENED: string = 'RSPE_PRESENT_OPENED';
private _classId: number = 0;
private _itemType: string = '';
private _productCode: string;
private _placedItemId: number = 0;
private _placedItemType: string = '';
private _placedInRoom: boolean;
private _petFigureString: string;
constructor(k: string, _arg_2: IRoomSession, classId: number, itemType: string, productCode: string, placedItemId: number, placedItemType: string, placedInRoom: boolean, petFigureString: string)
{
super(k, _arg_2);
this._classId = classId;
this._itemType = itemType;
this._productCode = productCode;
this._placedItemId = placedItemId;
this._placedItemType = placedItemType;
this._placedInRoom = placedInRoom;
this._petFigureString = petFigureString;
}
public get classId(): number
{
return this._classId;
}
public get itemType(): string
{
return this._itemType;
}
public get productCode(): string
{
return this._productCode;
}
public get placedItemId(): number
{
return this._placedItemId;
}
public get placedInRoom(): boolean
{
return this._placedInRoom;
}
public get placedItemType(): string
{
return this._placedItemType;
}
public get petFigureString(): string
{
return this._petFigureString;
}
}