Skip to main content

ParentChangedHandler

A delegate in Root.Township, Alta.Networking.

Callback for when a network entity's parent changes, with the entity, its old parent and its new parent.

Constructors​

MemberWhat it is
ParentChangedHandler(object object, IntPtr method)Made by the compiler when you assign a method to this delegate; you don't call it directly.

Methods​

MemberWhat it is
virtual IAsyncResult BeginInvoke(NetworkEntity topic, NetworkEntity oldParent, NetworkEntity newParent, AsyncCallback callback, object object)Starts the call on another thread; not supported in Unity, so use Invoke.
virtual void EndInvoke(IAsyncResult result)Waits for a call started with BeginInvoke; not supported in Unity.
virtual void Invoke(NetworkEntity topic, NetworkEntity oldParent, NetworkEntity newParent)Calls every method on this delegate with these arguments.

Used in​

Members of other types that take, return or hold a ParentChangedHandler: