Skip to main content
Version: SDK-5.11.4

OnSessionOnline

public MatchInGameOnlineSessionEventHandler OnSessionOnline;

Argument

ValueTypeDescription
argsMatchInGameSessionEventArgsInformation on the reconnected session

MatchInGameSessionEventArgs

ValueTypeDescription
ErrInfoErrorCodeError information
ReasonstringError information
GameRecordMatchUserGameRecordSession's information(Session ID, nickname, battle history, etc.)

Description

This event handler is called when another user successfully reconnects to the game room.
It is not called when you reconnect to the game room.

Example

Backend.Match.OnSessionOnline = (MatchInGameSessionEventArgs args) => {
// TODO
};

Argument cases

When another user reconnects successfully
ErrInfo : ErrorCode.NetworkOnline
Reason : "Session Reconnect"
GameRecord : "session information"