nn::nex::MatchmakeExtensionClient::GatheringIdToPersistentGatheringCode Member Function

Syntax

static qUnsignedInt64 GatheringIdToPersistentGatheringCode(
     GatheringID gatheringId
);

Parameters

Name Description
in gatheringId Gathering ID.

Return Values

Persistent gathering code.

Description

Generates a persistent gathering code from the gathering ID for display purposes.

The persistent gathering code is a decimal 14-digit positive integer value (up to 0x3FFFFFFFFFFF) comprising a gathering ID and a title-specific HMAC checksum value (14 bits).

Returns INVALID_PERSISTENT_GATHERING_CODE if the gathering ID is INVALID_GATHERINGID or if no key was set by the SetPersistentGatheringCodeKey function.

Before using this function, you must set a persistent gathering code HMAC key with the SetPersistentGatheringCodeKey function. This function can execute even if Bind has not been performed.

Revision History

2013/01/11
Initial version.

CONFIDENTIAL