Skip to main content

Class GenericTypesSerializationExtensions

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

Methods

Write<T>(NetworkWriter, T)

Writes any type that mirage supports

Declaration
public static void Write<T>(this NetworkWriter writer, T value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Tvalue

Read<T>(NetworkReader)

Reads any data type that mirage supports

Declaration
public static T Read<T>(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
T