mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
add support for checking client conditions
This commit is contained in:
parent
e6512d5f48
commit
c6d46f9aea
7 changed files with 587 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue