ENet Class Library for C#

Packet.GetUserData(Object) Method

Gets the user data associated with this packet and a particular key.

[Visual Basic]
Public Overloads Sub GetUserData( _
   ByVal key As Object _
)
[C#]
public object GetUserData(
   object key
);

Parameters

key
The key to use.

Return Value

The user data.

See Also

Packet Class | ENet Namespace | Packet.GetUserData Overload List