nn::nex::MatchmakeExtensionClient::UpdateMatchmakeSessionAttribute Member Function

Syntax

qBool UpdateMatchmakeSessionAttribute(
     ProtocolCallContext * pContext,
     GatheringID gid,
     qUnsignedInt32 attributes[nn::nex::NUM_MATCHMAKE_SESSION_ATTRIBUTES]
);

Parameters

Name Description
in pContext Call information.
in gid The ID of the matchmaking session for which an attribute is to be changed.
in attributes[nn::nex::NUM_MATCHMAKE_SESSION_ATTRIBUTES] Array of attribute values after modification.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

Changes the attributes of a matchmaking session.

Updates attributes for the specified matchmaking session. Only the owner of the matchmaking session can do this.

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.

Revision History

2014/03/28
Changed the function so that it returns QERROR(RendezVous, PermissionDenied) instead of success without doing anything when it is called by a station that is not the owner of the matchmaking session.
2011/01/27
Initial version.

CONFIDENTIAL