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
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
authorityState bool
connectionId int
netId UnityEngine.Networking.NetworkInstanceId

Public Methods

Method Description
Deserialize ( NetworkReader reader ) : void
Serialize ( NetworkWriter writer ) : void

Method Details

Deserialize() public method

public Deserialize ( NetworkReader reader ) : void
reader NetworkReader
return void

Serialize() public method

public Serialize ( NetworkWriter writer ) : void
writer UnityEngine.Networking.NetworkWriter
return void

Property Details

authorityState public_oe property

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

public bool authorityState
return bool

connectionId public_oe property

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

public int connectionId
return int

netId public_oe property

The network id of the object whose authority state changed.

public NetworkInstanceId,UnityEngine.Networking netId
return UnityEngine.Networking.NetworkInstanceId