Click or drag to resize

NetDataReaderGetEnumT Method

Reads an enum value of type T from the internal data buffer at the current position.
Advances the position by the size of T.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public T GetEnum<T>()
where T : struct, new(), Enum

Type Parameters

T
An unmanaged enum type to read.

Return Value

T
The enum value read from the buffer.
See Also