Lidgren Network Library documentation |
NetPeerConfiguration..::..SetMessageTypeEnabled Method |
NetPeerConfiguration Class See Also Send Feedback |
Enables or disables receiving of the specified type of message
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public void SetMessageTypeEnabled( NetIncomingMessageType type, bool enabled ) |
Visual Basic |
---|
Public Sub SetMessageTypeEnabled ( _ type As NetIncomingMessageType, _ enabled As Boolean _ ) |
Visual C++ |
---|
public: void SetMessageTypeEnabled( NetIncomingMessageType type, bool enabled ) |
Parameters
- type
- Type: Lidgren.Network..::..NetIncomingMessageType
[Missing <param name="type"/> documentation for "M:Lidgren.Network.NetPeerConfiguration.SetMessageTypeEnabled(Lidgren.Network.NetIncomingMessageType,System.Boolean)"]
- enabled
- Type: System..::..Boolean
[Missing <param name="enabled"/> documentation for "M:Lidgren.Network.NetPeerConfiguration.SetMessageTypeEnabled(Lidgren.Network.NetIncomingMessageType,System.Boolean)"]