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,35 @@
|
||||
import { NitroEvent } from '@nitrots/events';
|
||||
|
||||
export class NowPlayingEvent extends NitroEvent
|
||||
{
|
||||
public static readonly NPE_USER_PLAY_SONG = 'NPE_USER_PLAY_SONG';
|
||||
public static readonly NPW_USER_STOP_SONG = 'NPW_USER_STOP_SONG';
|
||||
public static readonly NPE_SONG_CHANGED = 'NPE_SONG_CHANGED';
|
||||
|
||||
private _id:number;
|
||||
private _position:number;
|
||||
private _priority:number;
|
||||
|
||||
constructor(k:string, priority:number, id:number, position:number)
|
||||
{
|
||||
super(k);
|
||||
this._id = id;
|
||||
this._position = position;
|
||||
this._priority = priority;
|
||||
}
|
||||
|
||||
public get id():number
|
||||
{
|
||||
return this._id;
|
||||
}
|
||||
|
||||
public get position():number
|
||||
{
|
||||
return this._position;
|
||||
}
|
||||
|
||||
public get priority():number
|
||||
{
|
||||
return this._priority;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user