You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
22 lines
592 B
TypeScript
22 lines
592 B
TypeScript
import { IRoomSession, IRoomUserData } from '@nitrots/api';
|
|
import { RoomSessionEvent } from './RoomSessionEvent';
|
|
|
|
export class RoomSessionUserDataUpdateEvent extends RoomSessionEvent
|
|
{
|
|
public static USER_DATA_UPDATED: string = 'RMUDUE_USER_DATA_UPDATED';
|
|
|
|
private _addedUsers: IRoomUserData[];
|
|
|
|
constructor(session: IRoomSession, addedUsers: IRoomUserData[])
|
|
{
|
|
super(RoomSessionUserDataUpdateEvent.USER_DATA_UPDATED, session);
|
|
|
|
this._addedUsers = addedUsers;
|
|
}
|
|
|
|
public get addedUsers(): IRoomUserData[]
|
|
{
|
|
return this._addedUsers;
|
|
}
|
|
}
|