Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,31 @@
import { IRoomSession } from '@nitrots/api';
import { NitroEvent } from '../core';
export class RoomSessionEvent extends NitroEvent
{
public static CREATED: string = 'RSE_CREATED';
public static STARTED: string = 'RSE_STARTED';
public static ENDED: string = 'RSE_ENDED';
public static ROOM_DATA: string = 'RSE_ROOM_DATA';
private _session: IRoomSession;
private _openLandingView: boolean;
constructor(type: string, session: IRoomSession, openLandingView: boolean = true)
{
super(type);
this._session = session;
this._openLandingView = openLandingView;
}
public get session(): IRoomSession
{
return this._session;
}
public get openLandingView(): boolean
{
return this._openLandingView;
}
}