You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Move to Renderer V2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user