You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 15:36:18 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import { IRoomSession } from '@nitrots/api';
|
||||
import { RoomSessionEvent } from './RoomSessionEvent';
|
||||
|
||||
export class RoomSessionUserBadgesEvent extends RoomSessionEvent
|
||||
{
|
||||
public static RSUBE_BADGES: string = 'RSUBE_BADGES';
|
||||
|
||||
private _userId: number = 0;
|
||||
private _badges: string[];
|
||||
|
||||
constructor(k: IRoomSession, _arg_2: number, _arg_3: string[])
|
||||
{
|
||||
super(RoomSessionUserBadgesEvent.RSUBE_BADGES, k);
|
||||
|
||||
this._badges = [];
|
||||
this._userId = _arg_2;
|
||||
this._badges = _arg_3;
|
||||
}
|
||||
|
||||
public get userId(): number
|
||||
{
|
||||
return this._userId;
|
||||
}
|
||||
|
||||
public get badges(): string[]
|
||||
{
|
||||
return this._badges;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user