public FFXIVMemory(EnmityOverlay overlay, Process process) { _overlay = overlay; _process = process; if (process.ProcessName == "ffxiv") { _mode = FFXIVClientMode.FFXIV_32; } else if (process.ProcessName == "ffxiv_dx11") { _mode = FFXIVClientMode.FFXIV_64; } else { _mode = FFXIVClientMode.Unknown; } overlay.LogInfo("Attached process: {0} ({1})", process.Id, (_mode == FFXIVClientMode.FFXIV_32 ? "dx9" : "dx11")); this.getPointerAddress(); _thread = new Thread(new ThreadStart(doScanCombatants)); _thread.IsBackground = true; _thread.Start(); }
public EnmityOverlayConfigPanel(EnmityOverlay overlay) { InitializeComponent(); this.overlay = overlay; this.config = overlay.Config; SetupControlProperties(); SetupConfigEventHandlers(); }
public EnmityOverlayConfigPanel(EnmityOverlay overlay) { InitializeComponent(); this.overlay = overlay; this.config = overlay.Config; SetupControlProperties(); SetupConfigEventHandlers(); RefreshProcessList(); this.comboProcessList.SelectedItem = "Automatic"; }