Class Vector2TypeReadWriter
TypeReadWriter<T> for a Vector2
Inherited Members
Namespace: VoltRpc.Extension.Vectors.Types
Assembly: VoltRpc.Extension.Vectors.dll
Syntax
public sealed class Vector2TypeReadWriter : TypeReadWriter<Vector2>
Methods
| Improve this Doc View SourceRead(BufferedReader)
Called when the type needs to be read
Declaration
public override Vector2 Read(BufferedReader reader)
Parameters
Type | Name | Description |
---|---|---|
BufferedReader | reader | The BufferedReader to read from |
Returns
Type | Description |
---|---|
Vector2 | Return the read value from the BufferedReader |
Overrides
VoltRpc.Types.TypeReadWriter<System.Numerics.Vector2>.Read(VoltRpc.IO.BufferedReader)
|
Improve this Doc
View Source
Write(BufferedWriter, Vector2)
Called when the type needs to be written
Declaration
public override void Write(BufferedWriter writer, Vector2 value)
Parameters
Type | Name | Description |
---|---|---|
BufferedWriter | writer | The BufferedWriter to write to |
Vector2 | value |
Overrides
VoltRpc.Types.TypeReadWriter<System.Numerics.Vector2>.Write(VoltRpc.IO.BufferedWriter, System.Numerics.Vector2)