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
Type | Name | Description |
---|---|---|
System.Double | precision | |
System.Int32 | blockSize |
Methods
Pack(NetworkWriter, Double)
Declaration
public void Pack(NetworkWriter writer, double value)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer | |
System.Double | value |
Unpack(NetworkReader)
Declaration
public double Unpack(NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
Returns
Type | Description |
---|---|
System.Double |