com.onlineobject.objectnet Namespace

UnityTransport..::..OnMessageReceived Method

Invokes the message received event with the provided client and data if the event has subscribers.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void OnMessageReceived(

	ITransportClient client,

	byte[] data

)

Parameters

client
Type: com.onlineobject.objectnet..::..ITransportClient
The client from which the message was received.
data
Type: array<Byte>[]()[][]
The data received from the client.