C# Class UnityEngine.Networking.NetworkSystem.AddPlayerMessage

This is passed to handler funtions registered for the AddPlayer built-in message.

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

Public Properties

Property Type Description
msgData byte[]
msgSize 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

The extra message data included in the AddPlayerMessage.

public byte[] msgData
return byte[]

msgSize public property

The size of the extra message data included in the AddPlayerMessage.

public int msgSize
return int

playerControllerId public property

The playerId of the new player.

public short playerControllerId
return short