Fixed an error in the KeyClearAll() function that prevented it from being displayed in the Lua API

This commit is contained in:
Stranger1992 2024-07-03 15:49:38 +01:00
parent c76b5cb0c8
commit f804c794f8
2 changed files with 21 additions and 2 deletions

View file

@ -129,6 +129,10 @@
<td class="summary">Clear an action key.</td>
</tr>
<tr>
<td class="name" ><a href="#KeyClearAll">KeyClearAll()</a></td>
<td class="summary">Clear all action keys.</td>
</tr>
<tr>
<td class="name" ><a href="#GetMouseDisplayPosition">GetMouseDisplayPosition()</a></td>
<td class="summary">Get the display position of the cursor in percent.</td>
</tr>
@ -254,6 +258,21 @@
</dd>
<dt>
<a name = "KeyClearAll"></a>
<strong>KeyClearAll()</strong>
</dt>
<dd>
Clear all action keys.
</dd>
<dt>
<a name = "GetMouseDisplayPosition"></a>

View file

@ -86,9 +86,9 @@ namespace TEN::Scripting::Input
ActionQueue[actionID] = QueueState::Clear;
}
#
/// Clear all action keys.
// @function KeyClear
// @function KeyClearAll
static void KeyClearAll()
{
for (auto& queue : ActionQueue)