game / pragma.matchlifecycle / MatchLifecycleService / declineReconnectV1 /
suspend fun declineReconnectV1(session: PlayerSession, request: MatchLifecycleRpc.DeclineReconnectV1Request): MatchLifecycleRpc.DeclineReconnectV1Response
Prevent the player from reconnecting to the match. Match reconnect must be configured to OPTIONAL. A notification with the match ID and player ID will be sent to the game server running the match.
- PragmaError.MatchLifecycleService_PlayerNotInMatch - If player is not in the match specified.
- PragmaError.MatchLifecycleService_CannotDeclineReconnect - If match reconnect is not configured to OPTIONAL.