The properties of the Packet structure are listed below. For a complete list of Packet structure members, see the Packet Members topic.
![]() | Gets a pointer to the packet data. |
![]() | Gets the packet flags. |
![]() | Returns true if the packet is initialized. |
![]() | Gets or sets the byte at the specified index. |
![]() | Gets the length of the packet. |
![]() | Gets or sets the native C packet. |
![]() | 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(). |