Skip to main content

Class SystemTypesExtensions

Inheritance
System.Object
Inherited Members
Show
Syntax
public static class SystemTypesExtensions

Methods

WriteByteExtension(NetworkWriter, Byte)

Declaration
public static void WriteByteExtension(this NetworkWriter writer, byte value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Bytevalue

WriteSByteExtension(NetworkWriter, SByte)

Declaration
public static void WriteSByteExtension(this NetworkWriter writer, sbyte value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.SBytevalue

WriteChar(NetworkWriter, Char)

Declaration
public static void WriteChar(this NetworkWriter writer, char value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Charvalue

WriteBooleanExtension(NetworkWriter, Boolean)

Declaration
public static void WriteBooleanExtension(this NetworkWriter writer, bool value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Booleanvalue

WriteUInt16Extension(NetworkWriter, UInt16)

Declaration
public static void WriteUInt16Extension(this NetworkWriter writer, ushort value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.UInt16value

WriteInt16Extension(NetworkWriter, Int16)

Declaration
public static void WriteInt16Extension(this NetworkWriter writer, short value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Int16value

WriteSingleConverter(NetworkWriter, Single)

Declaration
public static void WriteSingleConverter(this NetworkWriter writer, float value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Singlevalue

WriteDoubleConverter(NetworkWriter, Double)

Declaration
public static void WriteDoubleConverter(this NetworkWriter writer, double value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Doublevalue

WriteDecimalConverter(NetworkWriter, Decimal)

Declaration
public static void WriteDecimalConverter(this NetworkWriter writer, decimal value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Decimalvalue

WriteGuid(NetworkWriter, Guid)

Declaration
public static void WriteGuid(this NetworkWriter writer, Guid value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Guidvalue

WriteNullable<T>(NetworkWriter, Nullable<T>)

Declaration
[WeaverSerializeCollection]
public static void WriteNullable<T>(this NetworkWriter writer, T? nullable)
where T : struct
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Nullable<T>nullable

ReadByteExtension(NetworkReader)

Declaration
public static byte ReadByteExtension(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Byte

ReadSByteExtension(NetworkReader)

Declaration
public static sbyte ReadSByteExtension(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.SByte

ReadChar(NetworkReader)

Declaration
public static char ReadChar(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Char

ReadBooleanExtension(NetworkReader)

Declaration
public static bool ReadBooleanExtension(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Boolean

ReadInt16Extension(NetworkReader)

Declaration
public static short ReadInt16Extension(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Int16

ReadUInt16Extension(NetworkReader)

Declaration
public static ushort ReadUInt16Extension(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.UInt16

ReadSingleConverter(NetworkReader)

Declaration
public static float ReadSingleConverter(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Single

ReadDoubleConverter(NetworkReader)

Declaration
public static double ReadDoubleConverter(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Double

ReadDecimalConverter(NetworkReader)

Declaration
public static decimal ReadDecimalConverter(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Decimal

ReadGuid(NetworkReader)

Declaration
public static Guid ReadGuid(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Guid

ReadNullable<T>(NetworkReader)

Declaration
[WeaverSerializeCollection]
public static T? ReadNullable<T>(this NetworkReader reader)
where T : struct
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Nullable<T>