28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# NetworkedBehaviour.SendToNonLocalClientsTarget Method
|
|
|
|
|
|
Sends a buffer to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
|
|
|
|
**Namespace:** <a href="N_MLAPI">MLAPI</a><br />**Assembly:** MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
|
|
|
|
## Syntax
|
|
|
|
**C#**<br />
|
|
``` C#
|
|
protected void SendToNonLocalClientsTarget(
|
|
string messageType,
|
|
string channelName,
|
|
byte[] data
|
|
)
|
|
```
|
|
|
|
<br />
|
|
|
|
#### Parameters
|
|
<dl><dt>messageType</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br />User defined messageType</dd><dt>channelName</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br />User defined channelName</dd><dt>data</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">System.Byte</a>[]<br />The binary data to send</dd></dl>
|
|
|
|
## See Also
|
|
|
|
|
|
#### Reference
|
|
<a href="T_MLAPI_NetworkedBehaviour">NetworkedBehaviour Class</a><br /><a href="N_MLAPI">MLAPI Namespace</a><br /> |