mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 22:40:50 +01:00
21 lines
441 B
TypeScript
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;
|
|
}
|
|
}
|