Skip to main content

MLAPI.Serialization.NetworkSerializer

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public sealed class NetworkSerializer

Constructors#

NetworkSerializer(NetworkReader)#

Declaration#

public NetworkSerializer(NetworkReader reader)

Parameters#

TypeNameDescription
NetworkReaderreader

NetworkSerializer(NetworkWriter)#

Declaration#

public NetworkSerializer(NetworkWriter writer)

Parameters#

TypeNameDescription
NetworkWriterwriter

Properties#

IsReading#

Declaration#

public bool IsReading { get; }

Property Value#

TypeDescription
System.Boolean

Reader#

Declaration#

public NetworkReader Reader { get; }

Property Value#

TypeDescription
NetworkReader

Writer#

Declaration#

public NetworkWriter Writer { get; }

Property Value#

TypeDescription
NetworkWriter

Methods#

Serialize(ref Boolean)#

Declaration#

public void Serialize(ref bool value)

Parameters#

TypeNameDescription
System.Booleanvalue

Serialize(ref Boolean[])#

Declaration#

public void Serialize(ref bool[] array)

Parameters#

TypeNameDescription
System.Boolean[]array

Serialize(ref Byte)#

Declaration#

public void Serialize(ref byte value)

Parameters#

TypeNameDescription
System.Bytevalue

Serialize(ref Byte[])#

Declaration#

public void Serialize(ref byte[] array)

Parameters#

TypeNameDescription
System.Byte[]array

Serialize(ref Char)#

Declaration#

public void Serialize(ref char value)

Parameters#

TypeNameDescription
System.Charvalue

Serialize(ref Char[])#

Declaration#

public void Serialize(ref char[] array)

Parameters#

TypeNameDescription
System.Char[]array

Serialize(ref Double)#

Declaration#

public void Serialize(ref double value)

Parameters#

TypeNameDescription
System.Doublevalue

Serialize(ref Double[])#

Declaration#

public void Serialize(ref double[] array)

Parameters#

TypeNameDescription
System.Double[]array

Serialize(ref Int16)#

Declaration#

public void Serialize(ref short value)

Parameters#

TypeNameDescription
System.Int16value

Serialize(ref Int16[])#

Declaration#

public void Serialize(ref short[] array)

Parameters#

TypeNameDescription
System.Int16[]array

Serialize(ref Int32)#

Declaration#

public void Serialize(ref int value)

Parameters#

TypeNameDescription
System.Int32value

Serialize(ref Int32[])#

Declaration#

public void Serialize(ref int[] array)

Parameters#

TypeNameDescription
System.Int32[]array

Serialize(ref Int64)#

Declaration#

public void Serialize(ref long value)

Parameters#

TypeNameDescription
System.Int64value

Serialize(ref Int64[])#

Declaration#

public void Serialize(ref long[] array)

Parameters#

TypeNameDescription
System.Int64[]array

Serialize(ref SByte)#

Declaration#

public void Serialize(ref sbyte value)

Parameters#

TypeNameDescription
System.SBytevalue

Serialize(ref SByte[])#

Declaration#

public void Serialize(ref sbyte[] array)

Parameters#

TypeNameDescription
System.SByte[]array

Serialize(ref Single)#

Declaration#

public void Serialize(ref float value)

Parameters#

TypeNameDescription
System.Singlevalue

Serialize(ref Single[])#

Declaration#

public void Serialize(ref float[] array)

Parameters#

TypeNameDescription
System.Single[]array

Serialize(ref String)#

Declaration#

public void Serialize(ref string value)

Parameters#

TypeNameDescription
System.Stringvalue

Serialize(ref String[])#

Declaration#

public void Serialize(ref string[] array)

Parameters#

TypeNameDescription
System.String[]array

Serialize(ref UInt16)#

Declaration#

public void Serialize(ref ushort value)

Parameters#

TypeNameDescription
System.UInt16value

Serialize(ref UInt16[])#

Declaration#

public void Serialize(ref ushort[] array)

Parameters#

TypeNameDescription
System.UInt16[]array

Serialize(ref UInt32)#

Declaration#

public void Serialize(ref uint value)

Parameters#

TypeNameDescription
System.UInt32value

Serialize(ref UInt32[])#

Declaration#

public void Serialize(ref uint[] array)

Parameters#

TypeNameDescription
System.UInt32[]array

Serialize(ref UInt64)#

Declaration#

public void Serialize(ref ulong value)

Parameters#

TypeNameDescription
System.UInt64value

Serialize(ref UInt64[])#

Declaration#

public void Serialize(ref ulong[] array)

Parameters#

TypeNameDescription
System.UInt64[]array

Serialize(ref Color)#

Declaration#

public void Serialize(ref Color value)

Parameters#

TypeNameDescription
UnityEngine.Colorvalue

Serialize(ref Color[])#

Declaration#

public void Serialize(ref Color[] array)

Parameters#

TypeNameDescription
UnityEngine.Color[]array

Serialize(ref Color32)#

Declaration#

public void Serialize(ref Color32 value)

Parameters#

TypeNameDescription
UnityEngine.Color32value

Serialize(ref Color32[])#

Declaration#

public void Serialize(ref Color32[] array)

Parameters#

TypeNameDescription
UnityEngine.Color32[]array

Serialize(ref Quaternion)#

Declaration#

public void Serialize(ref Quaternion value)

Parameters#

TypeNameDescription
UnityEngine.Quaternionvalue

Serialize(ref Quaternion[])#

Declaration#

public void Serialize(ref Quaternion[] array)

Parameters#

TypeNameDescription
UnityEngine.Quaternion[]array

Serialize(ref Ray)#

Declaration#

public void Serialize(ref Ray value)

Parameters#

TypeNameDescription
UnityEngine.Rayvalue

Serialize(ref Ray[])#

Declaration#

public void Serialize(ref Ray[] array)

Parameters#

TypeNameDescription
UnityEngine.Ray[]array

Serialize(ref Ray2D)#

Declaration#

public void Serialize(ref Ray2D value)

Parameters#

TypeNameDescription
UnityEngine.Ray2Dvalue

Serialize(ref Ray2D[])#

Declaration#

public void Serialize(ref Ray2D[] array)

Parameters#

TypeNameDescription
UnityEngine.Ray2D[]array

Serialize(ref Vector2)#

Declaration#

public void Serialize(ref Vector2 value)

Parameters#

TypeNameDescription
UnityEngine.Vector2value

Serialize(ref Vector2[])#

Declaration#

public void Serialize(ref Vector2[] array)

Parameters#

TypeNameDescription
UnityEngine.Vector2[]array

Serialize(ref Vector3)#

Declaration#

public void Serialize(ref Vector3 value)

Parameters#

TypeNameDescription
UnityEngine.Vector3value

Serialize(ref Vector3[])#

Declaration#

public void Serialize(ref Vector3[] array)

Parameters#

TypeNameDescription
UnityEngine.Vector3[]array

Serialize(ref Vector4)#

Declaration#

public void Serialize(ref Vector4 value)

Parameters#

TypeNameDescription
UnityEngine.Vector4value

Serialize(ref Vector4[])#

Declaration#

public void Serialize(ref Vector4[] array)

Parameters#

TypeNameDescription
UnityEngine.Vector4[]array

Serialize<TEnum>(ref TEnum)#

Declaration#

public void Serialize<TEnum>(ref TEnum value)
where TEnum : struct, Enum

Parameters#

TypeNameDescription
TEnumvalue

Type Parameters#

NameDescription
TEnum

Serialize<TEnum>(ref TEnum[])#

Declaration#

public void Serialize<TEnum>(ref TEnum[] array)
where TEnum : struct, Enum

Parameters#

TypeNameDescription
TEnum[]array

Type Parameters#

NameDescription
TEnum