qBool ModifyMatchmakeSessionAttribute( ProtocolCallContext * pContext, GatheringID gid, qUnsignedInt32 attribIndex, qUnsignedInt newValue );
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. |
Value | Description |
---|---|
true |
Call initialization succeeded. |
false |
Failure. |
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.
: The caller is not the owner.
QERROR(RendezVous, PermissionDenied)
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.CONFIDENTIAL