ringfinger/js/event/UserGetEvent.ts

21 lines
367 B
TypeScript
Raw Normal View History

import RingfingerEvent from "./RingfingerEvent.js";
import User from "../types/User.js";
export default class UserGetEvent extends RingfingerEvent
{
public static readonly NAME: string = 'usergetevent';
private user: User;
public constructor(user: User)
{
super(UserGetEvent.NAME);
this.user = user;
}
public getUser(): User
{
return this.user;
}
}