C# Class UnityEngine.Networking.NetworkSystem.ReconnectMessage

This network message is used when a client reconnect to the new host of a game.

Inheritance: UnityEngine.Networking.MessageBase
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
msgData byte[]
msgSize int
netId UnityEngine.Networking.NetworkInstanceId
oldConnectionId int
playerControllerId short

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

msgData public property

Additional data.

public byte[] msgData
return byte[]

msgSize public property

Size of additional data.

public int msgSize
return int

netId public property

The networkId of this player on the old host.

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

oldConnectionId public property

This client's connectionId on the old host.

public int oldConnectionId
return int

playerControllerId public property

The playerControllerId of the player that is rejoining.

public short playerControllerId
return short