Skip to main content
Version: 6.0.0

OnChangeSuperGamer

public MatchInGameChangeSuperGamerEventHandler OnChangeSuperGamer;

Argument

ValueTypeDescription
argsMatchInGameChangeSuperGamerEventArgsInformation on Super Gamer before/after change

MatchInGameChangeSuperGamerEventArgs

ValueTypeDescription
ErrInfoErrorCodeError information(success/failure information)
ReasionstringError details
OldSuperUserRecordMatchUserGameRecordSuper Gamer before the change(information on the disconnected Super Gamer)
NewSuperUserRecordMatchUserGameRecordSuper Gamer after change(information on the current Super Gamer)

Description

This event handler is called when the Super Gamer user is disconnected from the game server and the server designates one user in the game room as the new Super Gamer.
It is called to all users currently participating in the game room.

It is impossible to change the Super Gamer on the client level manually.

Example

Backnd.Match.OnChangeSuperGamer = (MatchInGameChangeSuperGamerEventArgs args) => {
// TODO
};

Argument cases

When the Super Gamer is changed
ErrInfo : ErrorInfo.Success
OldSuperUserRecord : information on the Super Gamer before the change
NewSuperUserRecord : information on the new Super Gamer designated by the server