game / pragma.matchcapacity / MatchCapacityService / reportCapacityV2 /

reportCapacityV2 #

suspend fun reportCapacityV2(session: PartnerSession, request: MatchCapacityRpc.ReportCapacityV2Request): MatchCapacityRpc.ReportCapacityV2Response

Reports available game server capacity. Called by game servers. Response can include a list of matches for the game server to start.

Note: If capacity generated outside of the Pragma flow is reported in this way it can exceed the maximum configured value managed by the capacity service.

PragmaResultErrors

  • PragmaError.MatchCapacityService_GameVersionMismatch - If server version unexpectedly changes for a game server between reports.