static qBool StaticUpdateSessionHostWithOwner( void * pMatchMakingClient, qUnsignedInt32 gatheringID );
Name | Description | |
---|---|---|
in | pMatchMakingClient | Pointer for MatchMakingClientClient . |
in | gatheringID | ID of the gathering to be changed. |
Value | Description |
---|---|
true |
Call initialization succeeded. |
false |
Failure. |
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.
CONFIDENTIAL