game-common / pragma.gameinstance / GameInstancePlugin / handleGameServerUnlinkRequest /

handleGameServerUnlinkRequest #

open suspend fun handleGameServerUnlinkRequest(gameInstanceSnapshot: GameInstance.GameInstance, requestExt: ExtGameServerUnlinkRequest)

Called when receiving a game server request to unlink from a game instance.

The game server will be automatically be unlinked from the game instance, triggering the GameInstanceApi::OnGameInstanceUpdated event for each player in the game instance with the removal of the host connection details.

Parameters #

gameInstanceSnapshot

The game instance that was unlinked from its server.

requestExt

The data sent along with the request.