Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deserializes a network descriptor structure from an opaque string serialized via a prior call to SerializeNetworkDescriptor().
Syntax
PartyError DeserializeNetworkDescriptor(
PartyString serializedNetworkDescriptorString,
PartyNetworkDescriptor* networkDescriptor
)
Parameters
serializedNetworkDescriptorString PartyString
The serialized network descriptor string.
networkDescriptor PartyNetworkDescriptor*
output
The output network descriptor. serializedNetworkDescriptorString.
Return value
PartyError
c_partyErrorSuccess if the descriptor string is a valid serialized network descriptor string and was successfully deserialized, or an error code otherwise.
Remarks
The resulting networkDescriptor can be used to connect to a network via ConnectToNetwork().
This method can be called prior to the Initialize() method.
Requirements
Header: Party.h
See also
PartyManager
PartyManager::SerializeNetworkDescriptor
PartyManager::ConnectToNetwork