nitro-react/src/events/friends/FriendsSendFriendRequestEvent.ts
2021-09-16 01:37:17 -03:00

21 lines
441 B
TypeScript

import { FriendsEvent } from './FriendsEvent';
export class FriendsSendFriendRequestEvent extends FriendsEvent
{
public static SEND_FRIEND_REQUEST: string = 'FLSFRE_SEND_FRIEND_REQUEST';
private _userId: number;
constructor(userId: number)
{
super(FriendsSendFriendRequestEvent.SEND_FRIEND_REQUEST);
this._userId = userId;
}
public get userId(): number
{
return this._userId;
}
}