OnMatchMakingRoomSomeoneInvited
public MatchMakingInvitedRoomEventHandler OnMatchMakingRoomSomeoneInvited;
Argument
Value | Type | Description |
---|---|---|
args | MatchMakingInvitedRoomEventArgs | Invitation information |
MatchMakingInvitedRoomEventArgs
Value | Type | Description |
---|---|---|
ErrInfo | ErrorCode | Error information |
Reason | string | Error description |
RoomId | SessionId | ID of the room to enter(unique room ID of the waiting room) |
RoomToken | string | Token of the room to enter(Changed whenever you invite) |
InviteUserInfo | MatchMakingUserInfo | Information 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)