/// <summary> /// Handles operation ExitWorld: Sends event WorldExited to the client, disposes the actor and replaces the peer's Peer.CurrentOperationHandler with the MmoPeer itself. /// </summary> public OperationResponse OperationExitWorld(PeerBase peer, OperationRequest request) { var operation = new Operation(); operation.OnStart(); this.ExitWorld(); // don't send response operation.OnComplete(); return null; }