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
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer | |
T | value |
Read<T>(NetworkReader)
Reads any data type that mirage supports
Declaration
public static T Read<T>(this NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
Returns
Type | Description |
---|---|
T |