Search Results for

    Show / Hide Table of Contents

    Class Vector2TypeReadWriter

    TypeReadWriter<T> for a Vector2

    Inheritance
    Object
    TypeReadWriter<Vector2>
    Vector2TypeReadWriter
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: VoltRpc.Extension.Vectors.Types
    Assembly: VoltRpc.Extension.Vectors.dll
    Syntax
    public sealed class Vector2TypeReadWriter : TypeReadWriter<Vector2>

    Methods

    | Improve this Doc View Source

    Read(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)
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Voltstro-Studios (c) 2021-2022
    ☀
    ☾