Class NetworkIdentityExtensions
Network ID Extensions.
Inheritance
System.Object
NetworkIdentityExtensions
Namespace: SuperNet.Unity.Core
Assembly: cs.temp.dll.dll
Syntax
public static class NetworkIdentityExtensions
Methods
ReadNetworkID(Reader)
Read ID from a network reader.
Declaration
public static NetworkIdentity ReadNetworkID(this Reader reader)
Parameters
Type | Name | Description |
---|---|---|
Reader | reader | Reader to read from. |
Returns
Type | Description |
---|---|
NetworkIdentity | ID that was read. |
Write(Writer, NetworkIdentity)
Write ID to a network writer.
Declaration
public static void Write(this Writer writer, NetworkIdentity value)
Parameters
Type | Name | Description |
---|---|---|
Writer | writer | Writer to write to. |
NetworkIdentity | value | Value to write. |