OnMatchMakingRoomDestory
MatchMakingDestoryRoomEventHandler OnMatchMakingRoomDestory;
Argument
Value | Type | Description |
---|---|---|
args | MatchMakingInteractionEventArgs | Expiration information |
MatchMakingInteractionEventArgs
Value | Type | Description |
---|---|---|
ErrInfo | ErrorCode | Error information |
Reason | string | Error 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