ENet Class Library for C#

Packet Properties

The properties of the Packet structure are listed below. For a complete list of Packet structure members, see the Packet Members topic.

Public Instance Properties

Data Gets a pointer to the packet data.
Flags Gets the packet flags.
IsInitialized Returns true if the packet is initialized.
Item Gets or sets the byte at the specified index.
Length Gets the length of the packet.
NativeData Gets or sets the native C packet.
ReferenceCount Gets or sets the reference count. If you want to keep a packet around that you are giving to ENet, increment this. When you are finished with it, decrement this and call Dispose().

See Also

Packet Class | ENet Namespace