Skip to main content

Class VarDoublePacker

Packs a double using and

Inheritance
System.Object
Inherited Members
Show
Syntax
public sealed class VarDoublePacker

Constructors

VarDoublePacker(Double, Int32)

Declaration
public VarDoublePacker(double precision, int blockSize)
Parameters
TypeNameDescription
System.Doubleprecision
System.Int32blockSize

Methods

Pack(NetworkWriter, Double)

Declaration
public void Pack(NetworkWriter writer, double value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Doublevalue

Unpack(NetworkReader)

Declaration
public double Unpack(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Double