add support for checking client conditions

This commit is contained in:
NotAdam 2020-05-26 23:13:39 +10:00
parent e6512d5f48
commit c6d46f9aea
7 changed files with 587 additions and 3 deletions

View file

@ -182,7 +182,7 @@ namespace Dalamud.Game {
/// <param name="signature">The signature of the function using the data.</param>
/// <param name="offset">The offset from function start of the instruction using the data.</param>
/// <returns>An IntPtr to the static memory location.</returns>
public IntPtr GetStaticAddressFromSig(string signature, int offset)
public IntPtr GetStaticAddressFromSig(string signature, int offset = 0)
{
IntPtr instrAddr = ScanText(signature);
instrAddr = IntPtr.Add(instrAddr, offset);