diff --git a/Dalamud/Game/SigScanner.cs b/Dalamud/Game/SigScanner.cs index 56d0003e3..285f845fe 100644 --- a/Dalamud/Game/SigScanner.cs +++ b/Dalamud/Game/SigScanner.cs @@ -17,6 +17,15 @@ namespace Dalamud.Game private IntPtr moduleCopyPtr; private long moduleCopyOffset; + /// + /// Initializes a new instance of the class using the main module of the current process. + /// + /// Whether or not to copy the module upon initialization for search operations to use, as to not get disturbed by possible hooks. + public SigScanner(bool doCopy = false) + : this(Process.GetCurrentProcess().MainModule!, doCopy) + { + } + /// /// Initializes a new instance of the class. ///