public void Present( EveOnline.Bot.Task.ITaskInstant Presented) { this.Presented = Presented; StatusInspect.Text = Presented?.ExtractStatus()?.AggregateStatus()?.Select(Status => Status.ToString()) ?.StringJoin(", "); StatusIcon.Present(Presented?.ExtractStatus()); SubTreeActiveAsString.Text = Presented?.ExtractPathToClientNode()?.Select(Path => Path.PathAsUIString()) .StringJoin(Environment.NewLine); }
public void ReadRootNode() { try { var MengeCandidateProcess = System.Diagnostics.Process.GetProcessesByName("exefile"); var EveProcess = MengeCandidateProcess.FirstOrDefault(); if (null == EveProcess) { return; } MemoryReader = new ProcessMemoryReader(EveProcess); PyMemoryReader = new PythonMemoryReader(MemoryReader); RootNode = EveOnline.UIRoot(PyMemoryReader); } catch (Exception e) { RootNode = null; } }