summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-06-17 14:26:27 +0400
committerAlexander Gavrilov2012-06-17 14:26:27 +0400
commitfa41a27f2643afe8c8b601aab3e2ab3b1403411d (patch)
treea5db6d98d7701860f6ca293f90a3f28a8b3ebeaa /Lua API.html
parent67536da2fe718b103f4200b95f00cd30000cb7ad (diff)
downloaddfhack-fa41a27f2643afe8c8b601aab3e2ab3b1403411d.tar.gz
dfhack-fa41a27f2643afe8c8b601aab3e2ab3b1403411d.tar.bz2
dfhack-fa41a27f2643afe8c8b601aab3e2ab3b1403411d.tar.xz
Add an api function to get vtable address from version info.
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html3
1 files changed, 3 insertions, 0 deletions
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.</p>
<li><p class="first"><tt class="docutils literal">dfhack.internal.setAddress(name, value)</tt></p>
<p>Sets the global address <tt class="docutils literal">name</tt>. Returns the value of <tt class="docutils literal">getAddress</tt> before the change.</p>
</li>
+<li><p class="first"><tt class="docutils literal">dfhack.internal.getVTable(name)</tt></p>
+<p>Returns the pre-extracted vtable address <tt class="docutils literal">name</tt>, or <em>nil</em>.</p>
+</li>
<li><p class="first"><tt class="docutils literal">dfhack.internal.getBase()</tt></p>
<p>Returns the base address of the process.</p>
</li>