qBool GenerateMatchmakeSessionSystemPassword( ProtocolCallContext * pContext, GatheringID gatheringId, String * pSystemPassword );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | gatheringId | Gathering ID to generate. |
out | pSystemPassword | The matchmaking system password that was generated. |
Value | Description |
---|---|
true |
Call initialization succeeded. |
false |
Failure. |
Sets the system password for the matchmaking session.
The server generates a password of SYSTEM_PASSWORD_LENGTH
characters and sets it for the matchmaking session that was passed as an argument. All participants are notified of the password with a NotificationEvents::MatchmakeSessionSystemPasswordSet
event.
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.
CONFIDENTIAL