MLAPI API Reference

# NetworkedBehaviour Methods

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

The NetworkedBehaviour type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| BroadcastMessage(String) | (Inherited from Component.)
| BroadcastMessage(String, Object) | (Inherited from Component.)
| BroadcastMessage(String, SendMessageOptions) | (Inherited from Component.)
| BroadcastMessage(String, Object, SendMessageOptions) | (Inherited from Component.)
| CancelInvoke | (Inherited from MonoBehaviour.)
| CancelInvoke(String) | (Inherited from MonoBehaviour.)
| CompareTag | (Inherited from Component.)
| DeregisterMessageHandler | Deregisters a given message handler
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetComponent(Type) | (Inherited from Component.)
| GetComponent(String) | (Inherited from Component.)
| GetComponent``1 | (Inherited from Component.)
| GetComponentInChildren(Type) | (Inherited from Component.)
| GetComponentInChildren(Type, Boolean) | (Inherited from Component.)
| GetComponentInChildren``1 | (Inherited from Component.)
| GetComponentInChildren``1(Boolean) | (Inherited from Component.)
| GetComponentInParent(Type) | (Inherited from Component.)
| GetComponentInParent``1 | (Inherited from Component.)
| GetComponents(Type) | (Inherited from Component.)
| GetComponents(Type, List Component ) | (Inherited from Component.)
| GetComponents``1 | (Inherited from Component.)
| GetComponents``1(List UMP ) | (Inherited from Component.)
| GetComponentsInChildren(Type) | (Inherited from Component.)
| GetComponentsInChildren(Type, Boolean) | (Inherited from Component.)
| GetComponentsInChildren``1 | (Inherited from Component.)
| GetComponentsInChildren``1(Boolean) | (Inherited from Component.)
| GetComponentsInChildren``1(List UMP ) | (Inherited from Component.)
| GetComponentsInChildren``1(Boolean, List UMP ) | (Inherited from Component.)
| GetComponentsInParent(Type) | (Inherited from Component.)
| GetComponentsInParent(Type, Boolean) | (Inherited from Component.)
| GetComponentsInParent``1 | (Inherited from Component.)
| GetComponentsInParent``1(Boolean) | (Inherited from Component.)
| GetComponentsInParent``1(Boolean, List UMP ) | (Inherited from Component.)
| GetHashCode | (Inherited from Object.)
| GetInstanceID | (Inherited from Object.)
| GetNetworkedObject | Gets the local instance of a object with a given NetworkId
| GetType | (Inherited from Object.)
| Invoke | (Inherited from MonoBehaviour.)
| InvokeRepeating | (Inherited from MonoBehaviour.)
| IsInvoking | (Inherited from MonoBehaviour.)
| IsInvoking(String) | (Inherited from MonoBehaviour.)
| MemberwiseClone | (Inherited from Object.)
| NetworkStart | Gets called when message handlers are ready to be registered and the networking is setup
| OnGainedOwnership | Gets called when the local client gains ownership of this object
| OnLostOwnership | Gets called when we loose ownership of this object
| RegisterMessageHandler | Registers a message handler
| SendMessage(String) | (Inherited from Component.)
| SendMessage(String, Object) | (Inherited from Component.)
| SendMessage(String, SendMessageOptions) | (Inherited from Component.)
| SendMessage(String, Object, SendMessageOptions) | (Inherited from Component.)
| SendMessageUpwards(String) | (Inherited from Component.)
| SendMessageUpwards(String, Object) | (Inherited from Component.)
| SendMessageUpwards(String, SendMessageOptions) | (Inherited from Component.)
| SendMessageUpwards(String, Object, SendMessageOptions) | (Inherited from Component.)
| SendToClient(UInt32, String, String, Byte ) | Sends a buffer to a client with a given clientId from Server
| SendToClient T (Int32, String, String, T) | Sends a binary serialized class to a client with a given clientId from Server
| SendToClients(String, String, Byte ) | Sends a buffer to all clients from the server
| SendToClients(List UInt32 , String, String, Byte ) | Sends a buffer to multiple clients from the server
| SendToClients( UInt32 , String, String, Byte ) | Sends a buffer to multiple clients from the server
| SendToClients T (String, String, T) | Sends a buffer to all clients from the server
| SendToClients T (List Int32 , String, String, T) | Sends a binary serialized class to multiple clients from the server
| SendToClients T ( Int32 , String, String, T) | Sends a binary serialized class to multiple clients from the server
| SendToClientsTarget(String, String, Byte ) | Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToClientsTarget(List UInt32 , String, String, Byte ) | Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
| SendToClientsTarget( UInt32 , String, String, Byte ) | Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
| SendToClientsTarget T (String, String, T) | Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToClientsTarget T (List UInt32 , String, String, T) | Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
| SendToClientsTarget T ( Int32 , String, String, T) | Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
| SendToClientTarget(UInt32, String, String, Byte ) | Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
| SendToClientTarget T (Int32, String, String, T) | Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
| SendToLocalClient(String, String, Byte ) | Sends a buffer to the server from client
| SendToLocalClient T (String, String, T) | Sends a binary serialized class to the server from client
| SendToLocalClientTarget(String, String, Byte ) | Sends a buffer to the client that owns this object from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToLocalClientTarget T (String, String, T) | Sends a buffer to the client that owns this object from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToNonLocalClients(String, String, Byte ) | Sends a buffer to all clients except to the owner object from the server
| SendToNonLocalClients T (String, String, T) | Sends a binary serialized class to all clients except to the owner object from the server
| SendToNonLocalClientsTarget(String, String, Byte ) | Sends a buffer to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToNonLocalClientsTarget T (String, String, T) | Sends a binary serialized class to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
| SendToServer(String, String, Byte ) | Sends a buffer to the server from client
| SendToServer T (String, String, T) | Sends a binary serialized class to the server from client
| SendToServerTarget(String, String, Byte ) | Sends a buffer to the server from client. Only handlers on this NetworkedBehaviour will get invoked
| SendToServerTarget T (String, String, T) | Sends a binary serialized class to the server from client. Only handlers on this NetworkedBehaviour will get invoked
| StartCoroutine(IEnumerator) | (Inherited from MonoBehaviour.)
| StartCoroutine(String) | (Inherited from MonoBehaviour.)
| StartCoroutine(String, Object) | (Inherited from MonoBehaviour.)
| StartCoroutine_Auto | Obsolete. (Inherited from MonoBehaviour.)
| StopAllCoroutines | (Inherited from MonoBehaviour.)
| StopCoroutine(String) | (Inherited from MonoBehaviour.)
| StopCoroutine(IEnumerator) | (Inherited from MonoBehaviour.)
| StopCoroutine(Coroutine) | (Inherited from MonoBehaviour.)
| ToString | (Inherited from Object.)

Top
See Also

#### Reference

NetworkedBehaviour Class
MLAPI.MonoBehaviours.Core Namespace