Exemple #1
0
        public override void Paint(PaintEventArgs e)
        {
            if (!manager.CheckConnected())
            {
                return;
            }

            IntPtr ptr = manager.process.MainWindowHandle;

            ProcessManager64.Rect windowRect = new ProcessManager64.Rect();
            ProcessManager64.GetWindowRect(ptr, ref windowRect);
            e.Graphics.DrawRectangle(new Pen(Color.White, 2), windowRect.Left, windowRect.Top, windowRect.Right - windowRect.Left, windowRect.Bottom - windowRect.Top);

            UInt64 unityRootDomain = manager.GetUnityRootDomain();
            UInt64 assembly        = manager.GetAssemblyInDomain(unityRootDomain, "Assembly-CSharp");
            UInt64 image           = manager.ReadAbsolute <UInt64>(assembly + 0x60);

            manager.EnumImageClassCache(image);
        }
Exemple #2
0
 public ProvidenceWidget(Overlay overlay, ProcessManager64 manager) : base(overlay)
 {
     this.manager = manager;
 }