OnChangeSuperGamer
public MatchInGameChangeSuperGamerEventHandler OnChangeSuperGamer;
Argument
Value | Type | Description |
---|---|---|
args | MatchInGameChangeSuperGamerEventArgs | Information on Super Gamer before/after change |
MatchInGameChangeSuperGamerEventArgs
Value | Type | Description |
---|---|---|
ErrInfo | ErrorCode | Error information(success/failure information) |
Reasion | string | Error details |
OldSuperUserRecord | MatchUserGameRecord | Super Gamer before the change(information on the disconnected Super Gamer) |
NewSuperUserRecord | MatchUserGameRecord | Super 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