game-common / pragma.gameinstance / GameInstanceHostPlugin /

GameInstanceHostPlugin #

interface GameInstanceHostPlugin

GameInstanceHostPlugin is used to route a game instance to a host game server.

Functions #

NameSummary

findHostForGameInstance

open suspend fun findHostForGameInstance(gameInstance: GameInstance.GameInstance, clientTokenFunction: () -> PartnerClientTokens): ExtHostRequest?

Called to prepare any custom data to be used by FleetPlugin.selectServerPool to help select a server pool for the game instance.