static qBool StaticUpdateSessionHost( void * pMatchMakingClient, qUnsignedInt32 gatheringID );
Name | Description | |
---|---|---|
in | pMatchMakingClient | Pointer for MatchMakingClientClient . |
in | gatheringID | ID of the gathering to change. |
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.
Pass it to the HostMigrationCallback
constructor.
CONFIDENTIAL