nn::nex::MatchmakeExtensionClient::BrowseMatchmakeSession Member Function

Syntax

qBool BrowseMatchmakeSession(
     ProtocolCallContext * pContext,
     const MatchmakeSessionSearchCriteria & searchCriteria,
     const ResultRange & resultRange,
     qList< GatheringHolder > * lstGathering
);

Parameters

Name Description
in pContext Call information.
in searchCriteria Search conditions.
in resultRange Search range.
out lstGathering Found matchmaking session.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

Searches for a matchmaking session.

We recommend using the overload in the MatchmakeSession class that gets the results. Searches for a matchmaking session by using the specified conditions.

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.

You can choose to either handle the following error in the application or pass it to the error/EULA applet.

QERROR(RendezVous, GameServerMaintenance): This error occurs when the function is called between the GameServerMaintenance notification event and when game server maintenance takes place.

Revision History

2014/06/13
Added that We recommend using the overload in the MatchmakeSession class that gets the results.
2014/04/10
Changed "community" to "persistent gathering."
2014/04/08
Corrected QERROR(Core, InvalidArgment) to QERROR(Core, InvalidArgument) and QERROR(Core, GameServerMaintenance) to QERROR(RendezVous, GameServerMaintenance) in the description.
2013/11/28
Corrected the description so that QERROR(Core, InvalidArgment) is not handled by the application, but the error is passed to the error/EULA applet.
2013/05/31
Added a note indicating that QERROR(Core, GameServerMaintenance) is returned when the function is called between the GameServerMaintenance notification event and when game server maintenance takes place.
2012/04/20
Changed the function so that asynchronous processing returns an error if 101 or more entries are specified for the maximum size obtained by the ResultRange provided in the arguments.
2011/01/27
Initial version.

CONFIDENTIAL