qBool BrowseMatchmakeSession( ProtocolCallContext * pContext, const MatchmakeSessionSearchCriteria & searchCriteria, const ResultRange & resultRange, qList< GatheringHolder > * lstGathering, qList< GatheringURLs > * lstGatheringURLs );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | searchCriteria | Search conditions. |
in | resultRange | Search range. |
out | lstGathering | Found matchmaking session. |
out | lstGatheringURLs | URL of the host for the matchmaking session. |
Value | Description |
---|---|
true | Call initialization succeeded. |
false | Failure. |
Searches for a matchmaking session.
We recommend using the overload in the MatchmakeSession
class that gets the results. Searches for matchmaking sessions with the specified conditions, and also gets the URLs of the hosts of the matchmaking sessions. Matchmaking sessions that do not have a host are excluded from the sessions searched.
The asynchronous process might return the following results.
Pass the following error to the Error/EULA applet. Errors must be removed during debugging.
QERROR(Core, InvalidArgument)
: MATCHMAKE_SYSTEM_TYPE_PERSISTENT_GATHERING
or MATCHMAKE_SYSTEM_TYPE_OLV_COMMUNITY
was specified for the matchmaking system type, but the gathering ID of the persistent gathering was not set as the 0th attribute or as a related persistent gathering ID. The maximum number of entries to get in the ResultRange
object passed as an argument was set to more than 100.
QERROR(RendezVous, GameServerMaintenance)
: This error occurs when the function is called between the GameServerMaintenance
notification event and when game server maintenance takes place.
MatchmakeSession
class that gets the results.
QERROR(Core, InvalidArgment)
to QERROR(Core, InvalidArgument)
and QERROR(Core, GameServerMaintenance)
to QERROR(RendezVous, GameServerMaintenance)
in the description.
QERROR(Core, InvalidArgment)
is not handled by the application, but the error is passed to the error/EULA applet. QERROR(Core, GameServerMaintenance)
is returned when the function is called between the GameServerMaintenance
notification event and when game server maintenance takes place.
CONFIDENTIAL