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

handlePlayerUpdateRequest #

open suspend fun handlePlayerUpdateRequest(gameInstanceSnapshot: GameInstance.GameInstance, requestingPlayer: GameInstance.GamePlayer, requestExt: ExtPlayerUpdateRequest)

Called when receiving a player request to update a game instance.

Parameters #

gameInstanceSnapshot

The game instance to be updated.

requestingPlayer

The player in the game instance who is requesting the update.

requestExt

The data sent along with the request.