game / pragma.gameinstance / GameInstanceService / updateGameInstanceV1 /

updateGameInstanceV1 #

suspend fun updateGameInstanceV1(session: PartnerSession, request: GameInstanceRpc.UpdateGameInstanceV1Request): GameInstanceRpc.UpdateGameInstanceV1Response

Called by the game server to update a running game instance with new data.

If the game instance being updated is in matchmaking, the GameInstanceMatchmakingPlugin will be invoked to provide new matchmaking exts that will be sent to the MatchmakingService and will replace the exts on the corresponding MatchmakingGameInstance.

Plugins

  • GameInstancePlugin.updateGameInstance - Process the update.
  • GameInstanceMatchmakingPlugin.buildExtMatchmakingGameInstance - If the game instance is in matchmaking, update the ExtMatchmakingGameInstance.
  • GameInstanceMatchmakingPlugin.buildExtMatchmakingGamePlayer - If the game instance is in matchmaking, update each ExtMatchmakingGamePlayer.
  • GameInstanceMatchmakingPlugin.buildExtMatchmakingGameParty - If the game instance is in matchmaking, update each ExtMatchmakingGameParty.

PragmaResultErrors