Files
Nitro_Render_V3/packages/events/src/sound/NotifyPlayedSongEvent.ts
T
2024-04-03 09:27:56 +02:00

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;
}
}