game / pragma.gameinstance / GameInstanceService / leaveV1 /

leaveV1 #

suspend fun leaveV1(session: PlayerSession, request: GameInstanceRpc.LeaveV1Request): GameInstanceRpc.LeaveV1Response

Leaves a game, invoking GameInstancePlugin.handlePlayerLeaveRequest.

To deny the player from leaving, throw an application error in the plugin.