nn::nex::MatchMakingClient::StaticUpdateSessionHostWithOwner Member Function

Syntax

static qBool StaticUpdateSessionHostWithOwner(
     void * pMatchMakingClient,
     qUnsignedInt32 gatheringID
);

Parameters

Name Description
in pMatchMakingClient Pointer for MatchMakingClientClient.
in gatheringID ID of the gathering to be changed.

Return Values



Value Description
true Call initialization succeeded.
false Failure.

Description

This function is for the callback that is invoked when host migration occurs.

This function is for the callback that is invoked when the local device becomes the parent in a P2P session where the host migration extension is used. The function automatically calls the UpdateSessionHost function and notifies the game server of the host change. It also changes the gathering owner to the local user. The GatheringFlags::ChangeOwnerByOtherHost flag must be set in the flags of the target gathering.

Pass it to the HostMigrationCallback constructor.

See Also

HostMigrationExtensionMatchMakingClient::StaticUpdateSessionHost

Revision History

2014/04/01
Initial version.

CONFIDENTIAL