qBool UpdateMatchmakeSession( ProtocolCallContext * pContext, const GatheringHolder & matchmakingSession ); qBool UpdateMatchmakeSession( ProtocolCallContext * pContext, const UpdateMatchmakeSessionParam & updateMatchmakeSessionParam );
UpdateMatchmakeSession ( ProtocolCallContext *, const GatheringHolder & ) | Updates a matchmaking session. |
UpdateMatchmakeSession ( ProtocolCallContext *, const UpdateMatchmakeSessionParam & ) | Updates a matchmaking session. |
Nintendo recommends using the overload that takes UpdateMatchmakeSessionParam
as an argument. Updates all of the data other than matchmaking session ID, owner, P2P communication host, gathering flags, communication key for P2P session, matchmaking system type, and related persistent gathering IDs. Only the owner of the matchmaking session can do this. Before calling this function, it is necessary to specify the gathering ID for the matchmaking session to update. This parameter is specified with the Gathering::SetID
function.
The following results may be returned as a result of asynchronous operation. Use the application to handle these results.
QERROR(RendezVous, SessionVoid)
: The matchmaking session does not exist.QERROR(RendezVous, PermissionDenied)
: The caller is not the owner.
Only updates the specified data. Only the owner of the matchmaking session can do this. Before calling this function, you must specify the gathering ID for the matchmaking session to update. This parameter is specified with the Gathering::SetID
function.
The following results may be returned as a result of asynchronous operation. Use the application to handle these results.
QERROR(RendezVous, SessionVoid)
: The matchmaking session does not exist.QERROR(RendezVous, PermissionDenied)
: The caller is not the owner.
The following results may be returned as a result of asynchronous operation. Pass errors to the Error/EULA applet. This error must be removed during debugging.
QERROR(Core, InvalidArgument)
: Both MATCHMAKE_SESSION_MODIFICATION_FLAG_MATCHMAKE_PARAM
and MATCHMAKE_SESSION_MODIFICATION_FLAG_MATCHMAKE_PARAM_OVERRIDE
were specified in the UpdateMatchmakeSessionParam::SetModificationFlag
function.
CONFIDENTIAL