ENet Class Library for C#

Peer.UserData Property

Gets or sets the user data associated with this peer.

[Visual Basic]
Public Property UserData() As IntPtr
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public IntPtr UserData { public get; public set; }

See Also

Peer Class | ENet Namespace