# Type alias: SwitchGamesInvitationReceivedEventHandler
Ƭ SwitchGamesInvitationReceivedEventHandler(): function
# 返回值:
function
▸ (res
: object): void
# 参数:
▪ res: object
属性 | 类型 | 描述 |
---|---|---|
acceptInvitation | Function | 接受邀请的方法,可直接执行 |
anchorParam? | object | 来自派对游戏房间邀请 |
gameIcon | string | 游戏图标 |
gameId | number | 游戏Id |
gameName | string | 游戏名称 |
inviteUid | string | 邀请者uid |
singleBattleParam? | SingleBattleInviteParam | 来自1v1邀请 |
smobaParam? | SmobaInviteParam | 来自王者荣耀邀请 |
SmobaInviteParam
属性 | 类型 | 描述 |
---|---|---|
gameMode | number | - |
routeInfo | RouteInfo | - |