nn::nex::MatchmakeExtensionClient::GenerateMatchmakeSessionSystemPassword Member Function

Syntax

qBool GenerateMatchmakeSessionSystemPassword(
     ProtocolCallContext * pContext,
     GatheringID gatheringId,
     String * pSystemPassword
);

Parameters

Name Description
in pContext Call information.
in gatheringId Gathering ID to generate.
out pSystemPassword The matchmaking system password that was generated.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

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.

Revision History

2014/03/19
Initial version.

CONFIDENTIAL