mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 16:10:50 +01:00
21 lines
456 B
TypeScript
21 lines
456 B
TypeScript
|
import { FriendListEvent } from './FriendListEvent';
|
||
|
|
||
|
export class FriendListSendFriendRequestEvent extends FriendListEvent
|
||
|
{
|
||
|
public static SEND_FRIEND_REQUEST: string = 'FLSFRE_SEND_FRIEND_REQUEST';
|
||
|
|
||
|
private _userId: number;
|
||
|
|
||
|
constructor(userId: number)
|
||
|
{
|
||
|
super(FriendListSendFriendRequestEvent.SEND_FRIEND_REQUEST);
|
||
|
|
||
|
this._userId = userId;
|
||
|
}
|
||
|
|
||
|
public get userId(): number
|
||
|
{
|
||
|
return this._userId;
|
||
|
}
|
||
|
}
|