Exemplo n.º 1
0
        /// <summary>
        /// Scan current target
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Readtarget_Click(object sender, EventArgs e)
        {
            player = GameMemory.GetPlayer();
            ActorItem entity = GameMemory.GetCurrentTarget();

            try
            {
                output.Text = String.Format("Outputting Target:") + Environment.NewLine + Environment.NewLine;
                PrintEntity(entity);
            }
            catch (Exception ex)
            {
                Logger.Exception(ex, "Viewer -> readtarget_Click");
            }
        }