OnSessionOnline
public MatchInGameOnlineSessionEventHandler OnSessionOnline;
Argument
Value | Type | Description |
---|---|---|
args | MatchInGameSessionEventArgs | Information on the reconnected session |
MatchInGameSessionEventArgs
Value | Type | Description |
---|---|---|
ErrInfo | ErrorCode | Error information |
Reason | string | Error information |
GameRecord | MatchUserGameRecord | Session'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"