Skip to main content

Class VarVector3Packer

Packs a vector3 using and

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

Constructors

VarVector3Packer(Vector3, Int32)

Declaration
public VarVector3Packer(Vector3 precision, int blocksize)
Parameters
TypeNameDescription
Vector3precision
System.Int32blocksize

Methods

Pack(NetworkWriter, Vector3)

Declaration
public void Pack(NetworkWriter writer, Vector3 position)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector3position

Unpack(NetworkReader)

Declaration
public Vector3 Unpack(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector3