コード例 #1
0
        private void PathfindCallback(IAsyncResult ar)
        {
            Mover.PathfindHandler d = (Mover.PathfindHandler)ar.AsyncState;
            d.EndInvoke(ar);

            CoreUI.Instance.LogPanel.Log("Moved back to starting room");
        }
コード例 #2
0
        internal void InvokeReturn()
        {
            if (mOriginalRoom == NULL_ROOM)
            {
                return;
            }

            CoreUI.Instance.LogPanel.Log("Moving back to starting room...");

            Mover.PathfindHandler d = mAccount.Mover.PathfindTo;
            d.BeginInvoke(mOriginalRoom, PathfindCallback, d);

            mOriginalRoom = NULL_ROOM;
        }