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.UtilsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic T GetEnum<T>()
where T : struct, new(), Enum
Type Parameters
- T
- An unmanaged enum type to read.
Return Value
TThe enum value read from the buffer.
See Also