nn::nex::MatchmakeExtensionClient::ModifyMatchmakeSessionAttribute Member Function

Syntax

qBool ModifyMatchmakeSessionAttribute(
     ProtocolCallContext * pContext,
     GatheringID gid,
     qUnsignedInt32 attribIndex,
     qUnsignedInt newValue
);

Parameters

Name Description
in pContext Call information.
in gid The ID of the matchmaking session for which an attribute is to be changed.
in attribIndex The index [1-NUM_MATCHMAKE_SESSION_ATTRIBUTES] of the attribute to be changed.
in newValue Attribute value after the change.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

Changes the attributes of a matchmaking session.

Changes an attribute of 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