Search Results for

    Show / Hide Table of Contents

    Class NetworkReaderExtensions

    Inheritance
    Object
    NetworkReaderExtensions
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public static class NetworkReaderExtensions : object

    Methods

    | Improve this Doc View Source

    ReadArray<T>(NetworkReader)

    Declaration
    public static T[] ReadArray<T>(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ReadBool(NetworkReader)

    Declaration
    public static bool ReadBool(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ReadBoolNullable(NetworkReader)

    Declaration
    public static bool? ReadBoolNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Boolean>
    | Improve this Doc View Source

    ReadByte(NetworkReader)

    Declaration
    public static byte ReadByte(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Byte
    | Improve this Doc View Source

    ReadByteNullable(NetworkReader)

    Declaration
    public static byte? ReadByteNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Byte>
    | Improve this Doc View Source

    ReadBytes(NetworkReader, Int32)

    Declaration
    public static byte[] ReadBytes(this NetworkReader reader, int count)
    Parameters
    Type Name Description
    NetworkReader reader
    Int32 count
    Returns
    Type Description
    Byte[]
    | Improve this Doc View Source

    ReadBytesAndSize(NetworkReader)

    Declaration
    public static byte[] ReadBytesAndSize(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Byte[]
    Exceptions
    Type Condition
    OverflowException

    if count is invalid

    | Improve this Doc View Source

    ReadBytesAndSizeSegment(NetworkReader)

    Declaration
    public static ArraySegment<byte> ReadBytesAndSizeSegment(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    ArraySegment<Byte>
    Exceptions
    Type Condition
    OverflowException

    if count is invalid

    | Improve this Doc View Source

    ReadChar(NetworkReader)

    Declaration
    public static char ReadChar(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Char
    | Improve this Doc View Source

    ReadCharNullable(NetworkReader)

    Declaration
    public static char? ReadCharNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Char>
    | Improve this Doc View Source

    ReadColor(NetworkReader)

    Declaration
    public static Color ReadColor(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Color
    | Improve this Doc View Source

    ReadColor32(NetworkReader)

    Declaration
    public static Color32 ReadColor32(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Color32
    | Improve this Doc View Source

    ReadColor32Nullable(NetworkReader)

    Declaration
    public static Color32? ReadColor32Nullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Color32>
    | Improve this Doc View Source

    ReadColorNullable(NetworkReader)

    Declaration
    public static Color? ReadColorNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Color>
    | Improve this Doc View Source

    ReadDecimal(NetworkReader)

    Declaration
    public static decimal ReadDecimal(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Decimal
    | Improve this Doc View Source

    ReadDecimalNullable(NetworkReader)

    Declaration
    public static decimal? ReadDecimalNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Decimal>
    | Improve this Doc View Source

    ReadDouble(NetworkReader)

    Declaration
    public static double ReadDouble(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    ReadDoubleNullable(NetworkReader)

    Declaration
    public static double? ReadDoubleNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Double>
    | Improve this Doc View Source

    ReadFloat(NetworkReader)

    Declaration
    public static float ReadFloat(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    ReadFloatNullable(NetworkReader)

    Declaration
    public static float? ReadFloatNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Single>
    | Improve this Doc View Source

    ReadGameObject(NetworkReader)

    Declaration
    public static GameObject ReadGameObject(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    GameObject
    | Improve this Doc View Source

    ReadGuid(NetworkReader)

    Declaration
    public static Guid ReadGuid(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Guid
    | Improve this Doc View Source

    ReadGuidNullable(NetworkReader)

    Declaration
    public static Guid? ReadGuidNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Guid>
    | Improve this Doc View Source

    ReadInt(NetworkReader)

    Declaration
    public static int ReadInt(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    ReadIntNullable(NetworkReader)

    Declaration
    public static int? ReadIntNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Int32>
    | Improve this Doc View Source

    ReadList<T>(NetworkReader)

    Declaration
    public static List<T> ReadList<T>(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    List<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ReadLong(NetworkReader)

    Declaration
    public static long ReadLong(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Int64
    | Improve this Doc View Source

    ReadLongNullable(NetworkReader)

    Declaration
    public static long? ReadLongNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Int64>
    | Improve this Doc View Source

    ReadMatrix4x4(NetworkReader)

    Declaration
    public static Matrix4x4 ReadMatrix4x4(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Matrix4x4
    | Improve this Doc View Source

    ReadMatrix4x4Nullable(NetworkReader)

    Declaration
    public static Matrix4x4? ReadMatrix4x4Nullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Matrix4x4>
    | Improve this Doc View Source

    ReadNetworkBehaviour(NetworkReader)

    Declaration
    public static NetworkBehaviour ReadNetworkBehaviour(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    NetworkBehaviour
    | Improve this Doc View Source

    ReadNetworkBehaviour<T>(NetworkReader)

    Declaration
    public static T ReadNetworkBehaviour<T>(this NetworkReader reader)
        where T : NetworkBehaviour
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ReadNetworkBehaviourSyncVar(NetworkReader)

    Declaration
    public static NetworkBehaviour.NetworkBehaviourSyncVar ReadNetworkBehaviourSyncVar(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    NetworkBehaviour.NetworkBehaviourSyncVar
    | Improve this Doc View Source

    ReadNetworkIdentity(NetworkReader)

    Declaration
    public static NetworkIdentity ReadNetworkIdentity(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    NetworkIdentity
    | Improve this Doc View Source

    ReadPlane(NetworkReader)

    Declaration
    public static Plane ReadPlane(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Plane
    | Improve this Doc View Source

    ReadPlaneNullable(NetworkReader)

    Declaration
    public static Plane? ReadPlaneNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Plane>
    | Improve this Doc View Source

    ReadQuaternion(NetworkReader)

    Declaration
    public static Quaternion ReadQuaternion(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Quaternion
    | Improve this Doc View Source

    ReadQuaternionNullable(NetworkReader)

    Declaration
    public static Quaternion? ReadQuaternionNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Quaternion>
    | Improve this Doc View Source

    ReadRay(NetworkReader)

    Declaration
    public static Ray ReadRay(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Ray
    | Improve this Doc View Source

    ReadRayNullable(NetworkReader)

    Declaration
    public static Ray? ReadRayNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Ray>
    | Improve this Doc View Source

    ReadRect(NetworkReader)

    Declaration
    public static Rect ReadRect(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Rect
    | Improve this Doc View Source

    ReadRectNullable(NetworkReader)

    Declaration
    public static Rect? ReadRectNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Rect>
    | Improve this Doc View Source

    ReadSByte(NetworkReader)

    Declaration
    public static sbyte ReadSByte(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    SByte
    | Improve this Doc View Source

    ReadSByteNullable(NetworkReader)

    Declaration
    public static sbyte? ReadSByteNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<SByte>
    | Improve this Doc View Source

    ReadShort(NetworkReader)

    Declaration
    public static short ReadShort(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Int16
    | Improve this Doc View Source

    ReadShortNullable(NetworkReader)

    Declaration
    public static short? ReadShortNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Int16>
    | Improve this Doc View Source

    ReadSprite(NetworkReader)

    Declaration
    public static Sprite ReadSprite(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Sprite
    | Improve this Doc View Source

    ReadString(NetworkReader)

    Declaration
    public static string ReadString(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    String
    Exceptions
    Type Condition
    ArgumentException

    if an invalid utf8 string is sent

    | Improve this Doc View Source

    ReadTexture2D(NetworkReader)

    Declaration
    public static Texture2D ReadTexture2D(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Texture2D
    | Improve this Doc View Source

    ReadTransform(NetworkReader)

    Declaration
    public static Transform ReadTransform(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Transform
    | Improve this Doc View Source

    ReadUInt(NetworkReader)

    Declaration
    public static uint ReadUInt(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    UInt32
    | Improve this Doc View Source

    ReadUIntNullable(NetworkReader)

    Declaration
    public static uint? ReadUIntNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<UInt32>
    | Improve this Doc View Source

    ReadULong(NetworkReader)

    Declaration
    public static ulong ReadULong(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    UInt64
    | Improve this Doc View Source

    ReadULongNullable(NetworkReader)

    Declaration
    public static ulong? ReadULongNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<UInt64>
    | Improve this Doc View Source

    ReadUri(NetworkReader)

    Declaration
    public static Uri ReadUri(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Uri
    | Improve this Doc View Source

    ReadUShort(NetworkReader)

    Declaration
    public static ushort ReadUShort(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    UInt16
    | Improve this Doc View Source

    ReadUShortNullable(NetworkReader)

    Declaration
    public static ushort? ReadUShortNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<UInt16>
    | Improve this Doc View Source

    ReadVector2(NetworkReader)

    Declaration
    public static Vector2 ReadVector2(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Vector2
    | Improve this Doc View Source

    ReadVector2Int(NetworkReader)

    Declaration
    public static Vector2Int ReadVector2Int(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Vector2Int
    | Improve this Doc View Source

    ReadVector2IntNullable(NetworkReader)

    Declaration
    public static Vector2Int? ReadVector2IntNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Vector2Int>
    | Improve this Doc View Source

    ReadVector2Nullable(NetworkReader)

    Declaration
    public static Vector2? ReadVector2Nullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Vector2>
    | Improve this Doc View Source

    ReadVector3(NetworkReader)

    Declaration
    public static Vector3 ReadVector3(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Vector3
    | Improve this Doc View Source

    ReadVector3Int(NetworkReader)

    Declaration
    public static Vector3Int ReadVector3Int(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Vector3Int
    | Improve this Doc View Source

    ReadVector3IntNullable(NetworkReader)

    Declaration
    public static Vector3Int? ReadVector3IntNullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Vector3Int>
    | Improve this Doc View Source

    ReadVector3Nullable(NetworkReader)

    Declaration
    public static Vector3? ReadVector3Nullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Vector3>
    | Improve this Doc View Source

    ReadVector4(NetworkReader)

    Declaration
    public static Vector4 ReadVector4(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Vector4
    | Improve this Doc View Source

    ReadVector4Nullable(NetworkReader)

    Declaration
    public static Vector4? ReadVector4Nullable(this NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    Nullable<Vector4>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX