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
28 lines
560 B
TypeScript
28 lines
560 B
TypeScript
import { NitroEvent } from '@nitrots/events';
|
|
|
|
export class NotifyPlayedSongEvent extends NitroEvent
|
|
{
|
|
public static readonly NOTIFY_PLAYED_SONG = 'UIEW_NOTIFY_PLAYED_SONG';
|
|
|
|
private _name: string;
|
|
private _creator: string;
|
|
|
|
constructor(name:string, creator:string)
|
|
{
|
|
super(NotifyPlayedSongEvent.NOTIFY_PLAYED_SONG);
|
|
|
|
this._name = name;
|
|
this._creator = creator;
|
|
}
|
|
|
|
public get name(): string
|
|
{
|
|
return this._name;
|
|
}
|
|
|
|
public get creator(): string
|
|
{
|
|
return this._creator;
|
|
}
|
|
}
|