From fa41a27f2643afe8c8b601aab3e2ab3b1403411d Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sun, 17 Jun 2012 14:26:27 +0400 Subject: Add an api function to get vtable address from version info. --- Lua API.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lua API.html') diff --git a/Lua API.html b/Lua API.html index 90e61211..f1bdd17d 100644 --- a/Lua API.html +++ b/Lua API.html @@ -1326,6 +1326,9 @@ global environment, persistent between calls to the script.
dfhack.internal.setAddress(name, value)
Sets the global address name. Returns the value of getAddress before the change.
dfhack.internal.getVTable(name)
+Returns the pre-extracted vtable address name, or nil.
+dfhack.internal.getBase()
Returns the base address of the process.