AcceptInvitation
public void AcceptInvitation(SessionId roomId, string roomToken);
Parameters
Value | Type | Description |
---|---|---|
roomId | SessionId | RoomID returned from OnMatchMakingRoomSomeoneInvited |
roomToken | string | RoomToken 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));