Class PeerInfoMessage
Information about another participant in the same network game.
This information is cached by clients and used during host-migration.
Inheritance
PeerInfoMessage
Syntax
[Obsolete("The high level API classes are deprecated and will be removed in the future.")]
public class PeerInfoMessage : MessageBase
Fields
address
The IP address of the peer.
Declaration
Field Value
connectionId
The id of the NetworkConnection associated with the peer.
Declaration
Field Value
isHost
True if this peer is the host of the network game.
Declaration
Field Value
isYou
True if the peer if the same as the current client.
Declaration
Field Value
playerIds
The players for this peer.
Declaration
public PeerInfoPlayer[] playerIds
Field Value
port
The network port being used by the peer.
Declaration
Field Value
Methods
Deserialize(NetworkReader)
Declaration
public override void Deserialize(NetworkReader reader)
Parameters
Overrides
Serialize(NetworkWriter)
Declaration
public override void Serialize(NetworkWriter writer)
Parameters
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides