ENet Class Library for C#

Packet Constructor

Initializes a new packet based on a native C packet.

[Visual Basic]
Public Sub New( _
   ByVal packet As ENetPacket* _
)
[C#]
Packet(
   ENetPacket* packet
);

Parameters

packet
The native C packet.

See Also

Packet Class | ENet Namespace