C# Class UnityEngine.Networking.NetworkSystem.PeerInfoMessage

Information about another participant in the same network game.

Inheritance: UnityEngine.Networking.MessageBase
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
address string
connectionId int
isHost bool
isYou bool
playerIds UnityEngine.Networking.NetworkSystem.PeerInfoPlayer[]
port int

Méthodes publiques

Méthode Description
Deserialize ( NetworkReader reader ) : void
Serialize ( NetworkWriter writer ) : void
ToString ( ) : string

Method Details

Deserialize() public méthode

public Deserialize ( NetworkReader reader ) : void
reader NetworkReader
Résultat void

Serialize() public méthode

public Serialize ( NetworkWriter writer ) : void
writer UnityEngine.Networking.NetworkWriter
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

address public_oe property

The IP address of the peer.

public string address
Résultat string

connectionId public_oe property

The id of the NetworkConnection associated with the peer.

public int connectionId
Résultat int

isHost public_oe property

True if this peer is the host of the network game.

public bool isHost
Résultat bool

isYou public_oe property

True if the peer if the same as the current client.

public bool isYou
Résultat bool

playerIds public_oe property

The players for this peer.

public PeerInfoPlayer[],UnityEngine.Networking.NetworkSystem playerIds
Résultat UnityEngine.Networking.NetworkSystem.PeerInfoPlayer[]

port public_oe property

The network port being used by the peer.

public int port
Résultat int