示例#1
0
 public void ShowMemoryWindow()
 {
     if (MemoryWindow.currentInstance != null)
     {
         MemoryWindow.currentInstance.Close();
     }
     MemoryWindow m = new MemoryWindow(MainWindow.currentInstance, page);
 }
示例#2
0
        internal AugmentrexContext(bool shallow, Process host, Process game, string channelName, HotKeyRegistrar hotKeys)
        {
            Host = host;
            Game = game;

            var mod = game.MainModule;

            Memory  = new MemoryWindow(mod.BaseAddress, (uint)mod.ModuleMemorySize);
            Ipc     = new IpcBridge(channelName, shallow);
            HotKeys = hotKeys ?? new HotKeyRegistrar();

            if (!shallow)
            {
                Interpreter = new CommandInterpreter(this);
                _console    = Configuration.GameConsoleEnabled ? new ConsoleWindow(this) : null;
                _debug      = Configuration.DebugListenerEnabled ? new DebugListener(this) : null;
            }

            _shallow = shallow;
        }
        public PortableExecutableFile(ExceptionCollector collector, MemoryWindow window)
        {
            Window = window;

            ConstructHeaders(collector);
        }