MLAPI/docs/Methods_T_MLAPI_NetworkedBehaviour.md
2018-03-31 10:20:18 +02:00

14 KiB

NetworkedBehaviour Methods

The NetworkedBehaviour type exposes the following members.

Methods

 

NameDescription
Public methodBroadcastMessage(String) (Inherited from Component.)
Public methodBroadcastMessage(String, Object) (Inherited from Component.)
Public methodBroadcastMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodBroadcastMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodCancelInvoke() (Inherited from MonoBehaviour.)
Public methodCancelInvoke(String) (Inherited from MonoBehaviour.)
Public methodCompareTag (Inherited from Component.)
Protected methodDeregisterMessageHandler
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetComponent(Type) (Inherited from Component.)
Public methodGetComponent(String) (Inherited from Component.)
Public methodGetComponent1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInChildren(Type)</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInChildren(Type, Boolean)</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInChildren1() (Inherited from Component.)
Public methodGetComponentInChildren1(Boolean)</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInParent(Type)</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInParent1() (Inherited from Component.)
Public methodGetComponents(Type) (Inherited from Component.)
Public methodGetComponents(Type, List(Component)) (Inherited from Component.)
Public methodGetComponents1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponents1(List(UMP)) (Inherited from Component.)
Public methodGetComponentsInChildren(Type) (Inherited from Component.)
Public methodGetComponentsInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInChildren1(Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren1(List(UMP))</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInChildren1(Boolean, List(UMP)) (Inherited from Component.)
Public methodGetComponentsInParent(Type) (Inherited from Component.)
Public methodGetComponentsInParent(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInParent1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInParent1(Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean, List(UMP)) (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Protected methodGetNetworkedObject Gets the local instance of a object with a given NetworkId
Public methodGetType (Inherited from Object.)
Public methodInvoke (Inherited from MonoBehaviour.)
Public methodInvokeRepeating (Inherited from MonoBehaviour.)
Public methodIsInvoking() (Inherited from MonoBehaviour.)
Public methodIsInvoking(String) (Inherited from MonoBehaviour.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNetworkStart
Public methodOnGainedOwnership
Public methodOnLostOwnership
Protected methodRegisterMessageHandler
Public methodSendMessage(String) (Inherited from Component.)
Public methodSendMessage(String, Object) (Inherited from Component.)
Public methodSendMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object) (Inherited from Component.)
Public methodSendMessageUpwards(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object, SendMessageOptions) (Inherited from Component.)
Protected methodSendToClient Sends a buffer to a client with a given clientId from Server
Protected methodSendToClients(String, String, Byte[]) Sends a buffer to all clients from the server
Protected methodSendToClients(List(Int32), String, String, Byte[]) Sends a buffer to multiple clients from the server
Protected methodSendToClients(Int32[], String, String, Byte[]) Sends a buffer to multiple clients from the server
Protected methodSendToClientsTarget(String, String, Byte[]) Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
Protected methodSendToClientsTarget(List(Int32), String, String, Byte[]) Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
Protected methodSendToClientsTarget(Int32[], String, String, Byte[]) Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
Protected methodSendToClientTarget Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
Protected methodSendToLocalClient Sends a buffer to the server from client
Protected methodSendToLocalClientTarget Sends a buffer to the client that owns this object from the server. Only handlers on this NetworkedBehaviour will get invoked
Protected methodSendToNonLocalClients Sends a buffer to all clients except to the owner object from the server
Protected methodSendToNonLocalClientsTarget Sends a buffer to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
Protected methodSendToServer Sends a buffer to the server from client
Protected methodSendToServerTarget Sends a buffer to the server from client. Only handlers on this NetworkedBehaviour will get invoked
Public methodStartCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String, Object) (Inherited from MonoBehaviour.)
Public methodStartCoroutine_Auto **Obsolete. ** (Inherited from MonoBehaviour.)
Public methodStopAllCoroutines (Inherited from MonoBehaviour.)
Public methodStopCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(Coroutine) (Inherited from MonoBehaviour.)
Public methodToString (Inherited from Object.)
  Back to Top

See Also

Reference

NetworkedBehaviour Class
MLAPI Namespace