Skip to main content
Version: 5.11.6

AcceptInvitation

public void AcceptInvitation(SessionId roomId, string roomToken);

Parameters

ValueTypeDescription
roomIdSessionIdRoomID returned from OnMatchMakingRoomSomeoneInvited
roomTokenstringRoomToken returned from OnMatchMakingRoomSomeoneInvited

Description

Accepts an invitation sent by another user.
As soon as the invitation is accepted, you enter the waiting room.

Example

Backend.Match.AcceptInvitation(roomId, roomToken));