Skip to main content
Version: 5.11.6

OnMatchMakingRoomDestory

MatchMakingDestoryRoomEventHandler OnMatchMakingRoomDestory;

Argument

ValueTypeDescription
argsMatchMakingInteractionEventArgsExpiration information

MatchMakingInteractionEventArgs

ValueTypeDescription
ErrInfoErrorCodeError information
ReasonstringError description

Description

This event handler is called when the host leaves the waiting room.

  • When the host leaves the waiting room, that waiting room is deleted.
  • This event is called to all users attempting to enter a deleted waiting room.

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

Example

Backend.Match.OnMatchMakingRoomDestory = (MatchMakingInteractionEventArgs args) => {
// TODO
};

Argument cases

When the waiting room is deleted
ErrInfo : ErrorCode.Success