Skip to main content
Version: 5.18.17

OnMatchMakingRoomSomeoneInvited

public MatchMakingInvitedRoomEventHandler OnMatchMakingRoomSomeoneInvited;

Argument​

ValueTypeDescription
argsMatchMakingInvitedRoomEventArgsInvitation information

MatchMakingInvitedRoomEventArgs​

ValueTypeDescription
ErrInfoErrorCodeError information
ReasonstringError description
RoomIdSessionIdID of the room to enter(unique room ID of the waiting room)
RoomTokenstringToken of the room to enter(Changed whenever you invite)
InviteUserInfoMatchMakingUserInfoInformation on the user you invited

Description​

This event is called when another user invites me to the waiting room.

In order for an event to be called, the message sending/receiving method must be called.

Example​

Backend.Match.OnMatchMakingRoomSomeoneInvited += (args) => {
// TODO
};

Argument cases​

When an invitation from another user arrives
ErrInfo : ErrorInfo.Success
RoomId : room ID
RoomToken : room token
InviteUserInfo : information on the user you invited(session ID & nickname)