NetSerializerRegisterCustomTypeT Method |
LiteNetLib |
Register custom property type
Namespace: LiteNetLib.Utils
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public bool RegisterCustomType<T>() where T : struct, new(), INetSerializable
Type Parameters
- T
- INetSerializable structure
Return Value
Type: BooleanTrue - if register successful, false - if type already registered
See Also