NetDataReaderGetT(T, FuncT) Method |
Deserializes a
class that implements
INetSerializable using a provided constructor.
Namespace: LiteNetLib.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic void Get<T>(
out T result,
Func<T> constructor
)
where T : class, INetSerializable
Parameters
- result T
- The deserialized class instance output.
- constructor FuncT
- A factory delegate used to instantiate the class.
Type Parameters
- T
- A class type implementing INetSerializable.
See Also