Lidgren Network Library documentation |
NetPeer..::..CreateMessage Method (Int32) |
NetPeer Class See Also Send Feedback |
Creates a new message for sending
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public NetOutgoingMessage CreateMessage( int initialCapacity ) |
Visual Basic |
---|
Public Function CreateMessage ( _ initialCapacity As Integer _ ) As NetOutgoingMessage |
Visual C++ |
---|
public: NetOutgoingMessage^ CreateMessage( int initialCapacity ) |
Parameters
- initialCapacity
- Type: System..::..Int32
initial capacity in bytes
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetPeer.CreateMessage(System.Int32)"]