-
Notifications
You must be signed in to change notification settings - Fork 396
Expand file tree
/
Copy pathScanSettings.cs
More file actions
33 lines (30 loc) · 968 Bytes
/
ScanSettings.cs
File metadata and controls
33 lines (30 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
namespace ReClassNET.MemoryScanner
{
public enum SettingState
{
Yes,
No,
Indeterminate
}
public class ScanSettings
{
public IntPtr StartAddress { get; set; } = IntPtr.Zero;
public IntPtr StopAddress { get; set; } =
#if RECLASSNET64
(IntPtr)long.MaxValue;
#else
(IntPtr)int.MaxValue;
#endif
public SettingState ScanWritableMemory { get; set; } = SettingState.Yes;
public SettingState ScanExecutableMemory { get; set; } = SettingState.Indeterminate;
public SettingState ScanCopyOnWriteMemory { get; set; } = SettingState.No;
public bool ScanPrivateMemory { get; set; } = true;
public bool ScanImageMemory { get; set; } = true;
public bool ScanMappedMemory { get; set; } = false;
public bool EnableFastScan { get; set; } = true;
public int FastScanAlignment { get; set; } = 4;
public ScanValueType ValueType { get; set; } = ScanValueType.Integer;
public static ScanSettings Default => new ScanSettings();
}
}