C# Class UnityEngine.Networking.NetworkSystem.PeerAuthorityMessage

Information about a change in authority of a non-player in the same network game.

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

Méthodes publiques

Свойство Type Description
authorityState bool
connectionId int
netId UnityEngine.Networking.NetworkInstanceId

Méthodes publiques

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

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

Property Details

authorityState public_oe property

The new state of authority for the object referenced by this message.

public bool authorityState
Résultat bool

connectionId public_oe property

The connection Id (on the server) of the peer whose authority is changing for the object.

public int connectionId
Résultat int

netId public_oe property

The network id of the object whose authority state changed.

public NetworkInstanceId,UnityEngine.Networking netId
Résultat UnityEngine.Networking.NetworkInstanceId