OnJoinMatchMakingServer
public JoinChannelEventHandler OnJoinMatchMakingServer;
Argument
| Value | Type | Description |
|---|---|---|
| args | JoinChannelEventArgs | Chat server connection success/failure |
JoinChannelEventArgs
| Value | Type | Description |
|---|---|---|
| ErrInfo | ErrorInfo | Error information |
| SessionInfo | SessionInfo | Information 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