Skip to main content
Version: 5.11.6

OnJoinMatchMakingServer

public JoinChannelEventHandler OnJoinMatchMakingServer;

Argument

ValueTypeDescription
argsJoinChannelEventArgsChat server connection success/failure

JoinChannelEventArgs

ValueTypeDescription
ErrInfoErrorInfoError information
SessionInfoSessionInfoInformation on the connection session

Description

This event is called when the connection to the matching server succeeds/fails.
Connection to the matching server is regarded as successful only when this event is called successfully.

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

Example

Backend.Match.OnJoinMatchMakingServer = (JoinChannelEventArgs args) =>
{
// TODO
};

Argument cases

When connection to the matching server is successful
ErrInfo : ErrorInfo.Success

When connection to the matching server fails
ErrInfo.Category : Exception
ErrInfo.Reason : reason for connection failure