C# Class UnityEngine.Networking.NetworkSystem.IntegerMessage

A utility class to send simple network messages that only contain an integer.

Inheritance: UnityEngine.Networking.MessageBase
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
value int

Public Methods

Method Description
Deserialize ( NetworkReader reader ) : void
IntegerMessage ( ) : System
IntegerMessage ( int v ) : System
Serialize ( NetworkWriter writer ) : void

Method Details

Deserialize() public method

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

IntegerMessage() public method

public IntegerMessage ( ) : System
return System

IntegerMessage() public method

public IntegerMessage ( int v ) : System
v int
return System

Serialize() public method

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

Property Details

value public_oe property

The integer value to serialize.

public int value
return int