class HostMigrationExtension
Allows use of host migration extensions.
If the host migration extension package is used and the session host migrates within a P2P session, an appropriate call is made to the MatchMakingClient::UpdateSessionHost
function for the relevant matchmaking session. This allows a host registered with the game server to be easily synchronized with the host of a P2P session.
The following procedure shows how to use the host migration extension package.
.ddl
file, include #use NetZ/src/Core/HostMigration/HostMigrationExt.ddl
. NetZ
object instance and then execute the HostMigrationExtension::Register
function before generating or joining a P2P session.HostMigrationCallback
instance using the generated MatchmakeExtensionClient
.HostMigrationCallback::Register
function to register the ID of the gathering just joined.ClientServer
.
S |
Register
|
Registers the host migration extension package with NetZ . |
---|---|---|
S |
Disable
|
Disables the host migration extension package for NetZ . |
CONFIDENTIAL