game-common / pragma.fleet / FleetPlugin / getServerPoolById /

getServerPoolById #

abstract suspend fun getServerPoolById(serverPoolId: String): ServerPool

Determine what server pool should be used when given a ServerPool.serverPoolId. This is used as a fallback in the case that your server pool reports a server id that is unrecognized by Pragma. This situation can occur when you are using a local game server not allocated via FleetService.

Used by

  • FleetService: Executed when Pragma is unable to reconcile a server pool for a game server that is reporting capacity.

Parameters #

serverPoolId

The id of a server pool.