Click or drag to resize

IUDPTransportQueueMessageForSending Method

[This is preliminary documentation and is subject to change.]

Queues a message for sending.

Namespace:  MLAPI.Transports
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void QueueMessageForSending(
	uint clientId,
	byte[] dataBuffer,
	int dataSize,
	int channelId,
	bool skipQueue,
	out byte error
)
Request Example View Source

Parameters

clientId
Type: SystemUInt32
The clientId to send to
dataBuffer
Type: SystemByte
The buffer to read from
dataSize
Type: SystemInt32
The amount of data to send from the buffer
channelId
Type: SystemInt32
The channelId to send on
skipQueue
Type: SystemBoolean
Wheter or not Send will have to be called for this message to be sent
error
Type: SystemByte
Error byte. Does nothhing
See Also