27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
# NetworkedBehaviour.RegisterMessageHandler Method
|
|
|
|
|
|
\[Missing <summary> documentation for "M:MLAPI.NetworkedBehaviour.RegisterMessageHandler(System.String,System.Action{System.Int32,System.Byte[]})"\]
|
|
|
|
**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 RegisterMessageHandler(
|
|
string name,
|
|
Action<int, byte[]> action
|
|
)
|
|
```
|
|
|
|
<br />
|
|
|
|
#### Parameters
|
|
<dl><dt>name</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br />\[Missing <param name="name"/> documentation for "M:MLAPI.NetworkedBehaviour.RegisterMessageHandler(System.String,System.Action{System.Int32,System.Byte[]})"\]</dd><dt>action</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/bb549311" target="_blank">System.Action</a>(<a href="http://msdn2.microsoft.com/en-us/library/td2s409d" target="_blank">Int32</a>, <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">Byte</a>[])<br />\[Missing <param name="action"/> documentation for "M:MLAPI.NetworkedBehaviour.RegisterMessageHandler(System.String,System.Action{System.Int32,System.Byte[]})"\]</dd></dl>
|
|
|
|
## See Also
|
|
|
|
|
|
#### Reference
|
|
<a href="T_MLAPI_NetworkedBehaviour">NetworkedBehaviour Class</a><br /><a href="N_MLAPI">MLAPI Namespace</a><br /> |