docs: add missing callback argument to async query methods

This commit is contained in:
Axel Cocat
2023-05-09 15:59:33 +02:00
parent 9d60e1b147
commit 145d577652

View File

@@ -1361,6 +1361,7 @@ namespace LuaGlobalFunctions
* end) * end)
* *
* @param string sql : query to execute * @param string sql : query to execute
* @param function callback : function that will be called when the results are available
*/ */
int WorldDBQueryAsync(lua_State* L) int WorldDBQueryAsync(lua_State* L)
{ {
@@ -1429,6 +1430,7 @@ namespace LuaGlobalFunctions
* For an example see [Global:WorldDBQueryAsync]. * For an example see [Global:WorldDBQueryAsync].
* *
* @param string sql : query to execute * @param string sql : query to execute
* @param function callback : function that will be called when the results are available
*/ */
int CharDBQueryAsync(lua_State* L) int CharDBQueryAsync(lua_State* L)
{ {
@@ -1497,6 +1499,7 @@ namespace LuaGlobalFunctions
* For an example see [Global:WorldDBQueryAsync]. * For an example see [Global:WorldDBQueryAsync].
* *
* @param string sql : query to execute * @param string sql : query to execute
* @param function callback : function that will be called when the results are available
*/ */
int AuthDBQueryAsync(lua_State* L) int AuthDBQueryAsync(lua_State* L)
{ {